sane-project-website/old-archive/1999-07/0149.html

402 wiersze
17 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Fri Jul 23 19:09:47 1999 PDT" -->
<!-- sent="Fri, 23 Jul 1999 22:20:22 -0400" -->
<!-- name="Lee Nevo" -->
<!-- email="lnevo@usa.net" -->
<!-- subject="Problem with Astra 1200s" -->
<!-- id="" -->
<!-- inreplyto="" -->
<title>sane-devel: Problem with Astra 1200s</title>
<h1>Problem with Astra 1200s</h1>
<b>Lee Nevo</b> (<a href="mailto:lnevo@usa.net"><i>lnevo@usa.net</i></a>)<br>
<i>Fri, 23 Jul 1999 22:20:22 -0400</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#149">[ date ]</a><a href="index.html#149">[ thread ]</a><a href="subject.html#149">[ subject ]</a><a href="author.html#149">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0150.html">Roy Murphy: "Mustek 6K and Adaptec"</a>
<li> <b>Previous message:</b> <a href="0148.html">ithomae: "Re: Microtek E3 won't scan, but II-G okay (SANE-OS/2)"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0151.html">Oliver Rauch: "Re: Problem with Astra 1200s"</a>
<li> <b>Reply:</b> <a href="0151.html">Oliver Rauch: "Re: Problem with Astra 1200s"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
This is a multi-part message in MIME format.<br>
--------------655FD446C2DE6EC0E7FFDFDE<br>
Content-Type: text/plain; charset=us-ascii<br>
Content-Transfer-Encoding: 7bit<br>
<p>
I recently purchased the UMAX Astra 1200s due to the excellent support<br>
for UMAX scanners that sane seems to provide. However after reading as<br>
much documentation as I could find on the site, I seem to be going<br>
nowhere. After setting SANE_DEBUG_UMAX, and re-running scanimage, it<br>
seems to get to the point of "Trying to reposition scanner..." and<br>
hangs. After I ^C, I no longer get any results from find-scanner until I<br>
reset the scanner.<br>
<p>
I've searched mailing list, and the newsgroups and haven't found any<br>
info to help me out. After reading the man page for sane_scsi, I made<br>
some changes to my BusLogic SCSI BIOS according to the directions, but<br>
that didn't seem to help. I've set SANE_DEBUG_UMAX, and<br>
SANE_DEBUG_SANEI_SCSI both to 128 and I will attach the output. <br>
<p>
I did test the scanner under Windows, and everything seemed to work<br>
fine. As I've pretty much eliminated my need to ever boot that OS again,<br>
I would REALLY like to get this working. I'm not much of a hardware<br>
hacker, but I'll do what I have to. <br>
<p>
Just an FYI on my setup.<br>
<p>
Red Hat 6.0 <br>
Kernel 2.2.10 w/CONFIG_CHR_DEV_SG=y<br>
SCSI Card: BusLogic BT-930<br>
dmesg:<br>
scsi: ***** BusLogic SCSI Driver Version 2.1.15 of 17 August 1998 *****<br>
scsi: Copyright 1995-1998 by Leonard N. Zubkoff &lt;<a href="mailto:lnz@dandelion.com">lnz@dandelion.com</a>&gt;<br>
scsi0: Configuring BusLogic Model BT-930 PCI Ultra SCSI Host Adapter<br>
scsi0: Firmware Version: 5.02, I/O Address: 0xE800, IRQ Channel:<br>
12/Level<br>
scsi0: PCI Bus: 0, Device: 9, Address: 0xEA000000, Host Adapter SCSI<br>
ID: 7<br>
scsi0: Parity Checking: Enabled, Extended Translation: Enabled<br>
scsi0: Synchronous Negotiation: FFFFFNF#, Wide Negotiation: Disabled<br>
scsi0: Disconnect/Reconnect: YYYYYNY#, Tagged Queuing: YYYYYNY#<br>
scsi0: Driver Queue Depth: 255, Scatter/Gather Limit: 128 segments<br>
scsi0: Tagged Queue Depth: Automatic, Untagged Queue Depth: 3<br>
scsi0: Error Recovery Strategy: Default, SCSI Bus Reset: Enabled<br>
scsi0: SCSI Bus Termination: Disabled, SCAM: Disabled<br>
scsi0: *** BusLogic BT-930 Initialized Successfully ***<br>
scsi0 : BusLogic BT-930<br>
scsi1 : SCSI host adapter emulation for IDE ATAPI devices<br>
scsi : 2 hosts.<br>
Vendor: AIWA Model: TD-8000 Rev: 0137<br>
Type: Sequential-Access ANSI SCSI revision: 02<br>
Detected scsi tape st0 at scsi0, channel 0, id 0, lun 0<br>
Vendor: UMAX Model: Astra 1200S Rev: V3.1<br>
Type: Scanner ANSI SCSI revision: 02<br>
Detected scsi generic sgb at scsi0, channel 0, id 5, lun 0<br>
scsi0: Target 0: Queue Depth 3, Synchronous at 10.0 MB/sec, offset 7<br>
scsi0: Target 5: Queue Depth 3, Asynchronous<br>
Vendor: MITSUMI Model: CR-2801TE Rev: 1.10<br>
Type: CD-ROM ANSI SCSI revision: 02<br>
Detected scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0<br>
scsi : detected 1 SCSI tape 1 SCSI cdrom total.<br>
sr0: scsi3-mmc drive: 8x/8x writer xa/form2 cdda tray<br>
<p>
Anything else needed....let me know.<br>
<p>
Thanks in advance for your help.<br>
<p>
Lee Nevo<br>
<a href="mailto:lnevo@usa.net">lnevo@usa.net</a><br>
--------------655FD446C2DE6EC0E7FFDFDE<br>
Content-Type: text/plain; charset=us-ascii;<br>
name="typescript"<br>
Content-Transfer-Encoding: 7bit<br>
Content-Disposition: inline;<br>
filename="typescript"<br>
<p>
Script started on Fri Jul 23 21:21:56 1999<br>
sally:/opt/sane/bin# env | grep DEBUG<br>
SANE_DEBUG_UMAX=128<br>
SANE_DEBUG_SANEI_SCSI=128<br>
sally:/opt/sane/bin# pwd<br>
/opt/sane/bin<br>
sally:/opt/sane/bin# ./scanimage -d umax:/dev/sgb &gt; pnm.out<br>
[sanei_init_debug]: Setting debug level of umax to 128.<br>
[umax] sane_init<br>
[umax] This is sane-umax version 1.0 build 3<br>
[umax] (C) 1997-1999 by Oliver Rauch<br>
[umax] EMAIL: <a href="mailto:Oliver.Rauch@Wolfsburg.DE">Oliver.Rauch@Wolfsburg.DE</a><br>
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.<br>
[sanei_scsi] searched device is /dev/sgb<br>
[umax] attach_scanner: /dev/sgb<br>
[umax] attach_scanner: opening /dev/sgb<br>
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.<br>
[sanei_scsi] sanei_scsi_open: sanei_scsi_max_request_size=32768 bytes<br>
[umax] init<br>
[umax] backend runs on little endian machine<br>
[umax] initialize_values<br>
[umax] identify_scanner<br>
[umax] do_inquiry<br>
[sanei_scsi] scsi_req_enter: entered 0x8056320<br>
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x8056320<br>
[sanei_scsi] sanei_scsi.issue: 0x8056320<br>
[sanei_scsi] sanei_scsi_req_wait: read 41 bytes<br>
[sanei_scsi] scsi_req_enter: entered 0x8056320<br>
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x8056320<br>
[sanei_scsi] sanei_scsi.issue: 0x8056320<br>
[sanei_scsi] sanei_scsi_req_wait: read 196 bytes<br>
[umax] Found UMAX scanner Astra 1200S version V3.1 on device /dev/sgb<br>
[umax] get_inquiry_values<br>
[umax] INQUIRY:<br>
[umax] ========<br>
[umax] <br>
[umax] vendor........................: 'UMAX '<br>
[umax] product.......................: 'Astra 1200S '<br>
[umax] version.......................: 'V3.1'<br>
[umax] <br>
[umax] CBHS value range..............: 0-255<br>
[umax] scanmode......................: flatbed (FB)<br>
[umax] inquiry block length..........: 160 bytes<br>
[umax] <br>
[umax] ISO Version (reserved).......: 0<br>
[umax] ECMA Version (reserved).......: 0<br>
[umax] ANSI Version .................: 2<br>
[umax] <br>
[umax] reserved byte 0x05 = 0<br>
[umax] reserved byte 0x06 = 0<br>
[umax] <br>
[umax] f/w support function:<br>
[umax] ---------------------<br>
[umax] - quality calibration<br>
[umax] - fast preview function<br>
[umax] <br>
[umax] reserved byte 0x36 = 0<br>
[umax] reserved byte 0x37 = 0<br>
[umax] <br>
[umax] scan modes:<br>
[umax] -----------<br>
[umax] - single pass color mode<br>
[umax] - lineart mode<br>
[umax] - gray mode<br>
[umax] - color mode<br>
[umax] - transparency (UTA)<br>
[umax] <br>
[umax] scanner capability:<br>
[umax] -------------------<br>
[umax] - send high byte first<br>
[umax] - bi-level image reverse<br>
[umax] - multi-level image reverse<br>
[umax] - paper length can reach to 14 inch<br>
[umax] <br>
[umax] gamma download available<br>
[umax] gamma download type 2<br>
[umax] lines of gamma curve: one line (gray), three lines (color) download<br>
[umax] gamma input 8 bits/pixel support<br>
[umax] gamma input 10 bits/pixel support<br>
[umax] gamma output 8 bits/pixel support<br>
[umax] gamma output 10 bits/pixel support<br>
[umax] <br>
[umax] reserved byte 0x65 = 0<br>
[umax] reserved byte 0x67 = 0<br>
[umax] <br>
[umax] reserved byte 0x6b = 0<br>
[umax] reserved byte 0x6c = 0<br>
[umax] <br>
[umax] color sequence............................: all supported<br>
[umax] color ordering support....................: pixel<br>
[umax] <br>
[umax] maximum video memory......................: 223 KB<br>
[umax] <br>
[umax] reserved byte 0x72 = 0<br>
[umax] <br>
[umax] maximum optical resolution................: 600 dpi<br>
[umax] maximum x-resolution......................: 600 dpi<br>
[umax] maximum y-resolution......................: 1200 dpi<br>
[umax] <br>
[umax] FB (flatbed-mode):<br>
[umax] FB maximum scan width.....................: 8.50 inch<br>
[umax] FB maximum scan length....................: 14.00 inch<br>
[umax] <br>
[umax] UTA (transparency-mode):<br>
[umax] UTA x-original point......................: 0.00 inch<br>
[umax] UTA y-original point......................: 0.00 inch<br>
[umax] UTA maximum scan width....................: 8.50 inch<br>
[umax] UTA maximum scan length...................: 11.70 inch<br>
[umax] <br>
[umax] reserved byte 0x82 = 0<br>
[umax] reserved byte 0x83 = 0<br>
[umax] reserved byte 0x84 = 0<br>
[umax] reserved byte 0x85 = 0<br>
[umax] <br>
[umax] DOR (double optical resolution-mode):<br>
[umax] DOR x-original point......................: 0.00 inch<br>
[umax] DOR y-original point......................: 0.00 inch<br>
[umax] DOR maximum scan width....................: 0.00 inch<br>
[umax] DOR maximum scan length...................: 0.00 inch<br>
[umax] <br>
[umax] reserved byte 0x8e = 0<br>
[umax] <br>
[umax] last calibration lamp density.............: 0<br>
[umax] <br>
[umax] reserved byte 0x90 = 0<br>
[umax] <br>
[umax] lamp warmup maximum time..................: 0 sec<br>
[umax] window descriptor block length............: 82 bytes<br>
[umax] no analog gamma function<br>
[umax] <br>
[umax] reserved byte 0x98 = 0<br>
[umax] reserved byte 0x99 = 0<br>
[umax] <br>
[umax] maximum calibration data lines for shading: 64<br>
[umax] fb/uta: color line arrangement mode.......: 0<br>
[umax] adf: color line arrangement mode.......: 0<br>
[umax] CCD line distance.........................: 8<br>
[umax] <br>
[umax] reserved byte 0x9e = 0<br>
[umax] reserved byte 0x9f = 0<br>
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.<br>
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.<br>
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.<br>
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.<br>
[umax] attach_scanner: /dev/sgb<br>
[umax] sane_open<br>
[umax] Using 10 bits for gamma input<br>
[umax] init_options<br>
[umax] sane_control_option 2, set value<br>
[umax] sane_control_option 0, get value<br>
[umax] sane_control_option 0, get value<br>
[umax] sane_get_option_descriptor 0<br>
[umax] sane_get_option_descriptor 1<br>
[umax] sane_get_option_descriptor 2<br>
[umax] sane_get_option_descriptor 3<br>
[umax] sane_get_option_descriptor 4<br>
[umax] sane_get_option_descriptor 5<br>
[umax] sane_get_option_descriptor 6<br>
[umax] sane_get_option_descriptor 7<br>
[umax] sane_get_option_descriptor 8<br>
[umax] sane_get_option_descriptor 9<br>
[umax] sane_get_option_descriptor 10<br>
[umax] sane_get_option_descriptor 11<br>
[umax] sane_control_option 11, get value<br>
[umax] sane_get_option_descriptor 12<br>
[umax] sane_control_option 12, get value<br>
[umax] sane_get_option_descriptor 13<br>
[umax] sane_get_option_descriptor 14<br>
[umax] sane_get_option_descriptor 15<br>
[umax] sane_get_option_descriptor 16<br>
[umax] sane_get_option_descriptor 17<br>
[umax] sane_get_option_descriptor 18<br>
[umax] sane_get_option_descriptor 19<br>
[umax] sane_get_option_descriptor 20<br>
[umax] sane_get_option_descriptor 21<br>
[umax] sane_get_option_descriptor 22<br>
[umax] sane_get_option_descriptor 23<br>
[umax] sane_get_option_descriptor 24<br>
[umax] sane_get_option_descriptor 25<br>
[umax] sane_get_option_descriptor 26<br>
[umax] sane_get_option_descriptor 27<br>
[umax] sane_get_option_descriptor 28<br>
[umax] sane_get_option_descriptor 29<br>
[umax] sane_get_option_descriptor 30<br>
[umax] sane_get_option_descriptor 31<br>
[umax] sane_get_option_descriptor 32<br>
[umax] sane_get_option_descriptor 33<br>
[umax] sane_get_option_descriptor 34<br>
[umax] sane_get_option_descriptor 35<br>
[umax] sane_get_option_descriptor 36<br>
[umax] sane_get_option_descriptor 37<br>
[umax] sane_get_option_descriptor 38<br>
[umax] sane_get_option_descriptor 39<br>
[umax] sane_get_option_descriptor 40<br>
[umax] sane_get_option_descriptor 41<br>
[umax] sane_get_option_descriptor 42<br>
[umax] sane_get_option_descriptor 43<br>
[umax] sane_get_option_descriptor 44<br>
[umax] sane_get_option_descriptor 45<br>
[umax] sane_get_option_descriptor 46<br>
[umax] sane_get_option_descriptor 47<br>
[umax] sane_get_option_descriptor 48<br>
[umax] sane_get_option_descriptor 49<br>
[umax] sane_get_option_descriptor 50<br>
[umax] sane_get_option_descriptor 51<br>
[umax] sane_get_option_descriptor 52<br>
[umax] sane_get_option_descriptor 53<br>
[umax] sane_get_option_descriptor 54<br>
[umax] sane_get_option_descriptor 55<br>
[umax] sane_get_option_descriptor 56<br>
[umax] sane_control_option 9, get value<br>
[umax] sane_control_option 10, get value<br>
[umax] sane_control_option 9, get value<br>
[umax] sane_get_option_descriptor 11<br>
[umax] sane_control_option 11, set value<br>
[umax] sane_control_option 10, get value<br>
[umax] sane_get_option_descriptor 12<br>
[umax] sane_control_option 12, set value<br>
[umax] sane_start<br>
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.<br>
[umax] initialize_values<br>
[umax] grab_scanner<br>
[umax] wait_scanner<br>
[sanei_scsi] scsi_req_enter: entered 0x8056320<br>
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x8056320<br>
[sanei_scsi] sanei_scsi.issue: 0x8056320<br>
[sanei_scsi] sanei_scsi_req_wait: read 36 bytes<br>
[umax] scanner ready<br>
[sanei_scsi] scsi_req_enter: entered 0x8056320<br>
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x8056320<br>
[sanei_scsi] sanei_scsi.issue: 0x8056320<br>
[sanei_scsi] sanei_scsi_req_wait: read 36 bytes<br>
[umax] scanner reserved<br>
[umax] Using 10 bits for gamma input<br>
[umax] Using 8 bits for output<br>
[umax] check_values<br>
[umax] using one pass scanning mode<br>
[umax] scanner uses color-pixel-ordering<br>
[umax] sane_get_parameters<br>
[umax] x_resolution (dpi) = 100<br>
[umax] y_resolution (dpi) = 100<br>
[umax] x_coordinate_base (dpi) = 1200<br>
[umax] y_coordinate_base (dpi) = 1200<br>
[umax] upper_left_x (xbase) = 0<br>
[umax] upper_left_y (ybase) = 0<br>
[umax] scanwidth (xbase) = 10198<br>
[umax] scanlength (ybase) = 16799<br>
[umax] width in pixels = 850<br>
[umax] length in pixels = 1399<br>
[umax] bits per pixel/color = 8<br>
[umax] bytes per line = 2550<br>
[umax] pixels_per_line = 850<br>
[umax] lines = 1399<br>
[umax] negative = 0<br>
[umax] threshold (lineart) = 127<br>
[umax] brightness (halftone) = 0<br>
[umax] contrast (halftone) = 0<br>
[umax] analog_gamma = 0 0 0<br>
[umax] highlight = 255 255 255<br>
[umax] shadow = 0 0 0<br>
[umax] calibrat. exposure time = 0 0 0<br>
[umax] scan exposure time = 0 0 0<br>
[umax] calibration = Use Image Composition<br>
[umax] quality calibration = 0<br>
[umax] fast preview function = 0<br>
[umax] trying to reposition scanner ...<br>
[sanei_scsi] scsi_req_enter: entered 0x8056320<br>
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x8056320<br>
[sanei_scsi] sanei_scsi.issue: 0x8056320<br>
[sanei_scsi] sanei_scsi_req_wait: read 36 bytes<br>
[umax] wait_scanner<br>
[sanei_scsi] scsi_req_enter: entered 0x8056320<br>
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x8056320<br>
[sanei_scsi] sanei_scsi.issue: 0x8056320 (scanimage stops here)<br>
scanimage: stopping scanner... <br>
[umax] sane_cancel<br>
[umax] do_cancel<br>
[umax] trying to reposition scanner ...<br>
[sanei_scsi] scsi_req_enter: entered 0x80631f8<br>
scanimage: sanei_scsi.c:1352: sanei_scsi_req_wait: Assertion `req == qhead' failed.<br>
Aborted<br>
sally:/opt/sane/bin# exit<br>
Script done on Fri Jul 23 21:28:09 1999<br>
<p>
--------------655FD446C2DE6EC0E7FFDFDE--<br>
<p>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0150.html">Roy Murphy: "Mustek 6K and Adaptec"</a>
<li> <b>Previous message:</b> <a href="0148.html">ithomae: "Re: Microtek E3 won't scan, but II-G okay (SANE-OS/2)"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0151.html">Oliver Rauch: "Re: Problem with Astra 1200s"</a>
<li> <b>Reply:</b> <a href="0151.html">Oliver Rauch: "Re: Problem with Astra 1200s"</a>
<!-- reply="end" -->
</ul>