Problem with Astra 1200s

Lee Nevo (lnevo@usa.net)
Fri, 23 Jul 1999 22:20:22 -0400

This is a multi-part message in MIME format.
--------------655FD446C2DE6EC0E7FFDFDE
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I recently purchased the UMAX Astra 1200s due to the excellent support
for UMAX scanners that sane seems to provide. However after reading as
much documentation as I could find on the site, I seem to be going
nowhere. After setting SANE_DEBUG_UMAX, and re-running scanimage, it
seems to get to the point of "Trying to reposition scanner..." and
hangs. After I ^C, I no longer get any results from find-scanner until I
reset the scanner.

I've searched mailing list, and the newsgroups and haven't found any
info to help me out. After reading the man page for sane_scsi, I made
some changes to my BusLogic SCSI BIOS according to the directions, but
that didn't seem to help. I've set SANE_DEBUG_UMAX, and
SANE_DEBUG_SANEI_SCSI both to 128 and I will attach the output.

I did test the scanner under Windows, and everything seemed to work
fine. As I've pretty much eliminated my need to ever boot that OS again,
I would REALLY like to get this working. I'm not much of a hardware
hacker, but I'll do what I have to.

Just an FYI on my setup.

Red Hat 6.0
Kernel 2.2.10 w/CONFIG_CHR_DEV_SG=y
SCSI Card: BusLogic BT-930
dmesg:
scsi: ***** BusLogic SCSI Driver Version 2.1.15 of 17 August 1998 *****
scsi: Copyright 1995-1998 by Leonard N. Zubkoff <lnz@dandelion.com>
scsi0: Configuring BusLogic Model BT-930 PCI Ultra SCSI Host Adapter
scsi0: Firmware Version: 5.02, I/O Address: 0xE800, IRQ Channel:
12/Level
scsi0: PCI Bus: 0, Device: 9, Address: 0xEA000000, Host Adapter SCSI
ID: 7
scsi0: Parity Checking: Enabled, Extended Translation: Enabled
scsi0: Synchronous Negotiation: FFFFFNF#, Wide Negotiation: Disabled
scsi0: Disconnect/Reconnect: YYYYYNY#, Tagged Queuing: YYYYYNY#
scsi0: Driver Queue Depth: 255, Scatter/Gather Limit: 128 segments
scsi0: Tagged Queue Depth: Automatic, Untagged Queue Depth: 3
scsi0: Error Recovery Strategy: Default, SCSI Bus Reset: Enabled
scsi0: SCSI Bus Termination: Disabled, SCAM: Disabled
scsi0: *** BusLogic BT-930 Initialized Successfully ***
scsi0 : BusLogic BT-930
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 2 hosts.
Vendor: AIWA Model: TD-8000 Rev: 0137
Type: Sequential-Access ANSI SCSI revision: 02
Detected scsi tape st0 at scsi0, channel 0, id 0, lun 0
Vendor: UMAX Model: Astra 1200S Rev: V3.1
Type: Scanner ANSI SCSI revision: 02
Detected scsi generic sgb at scsi0, channel 0, id 5, lun 0
scsi0: Target 0: Queue Depth 3, Synchronous at 10.0 MB/sec, offset 7
scsi0: Target 5: Queue Depth 3, Asynchronous
Vendor: MITSUMI Model: CR-2801TE Rev: 1.10
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0
scsi : detected 1 SCSI tape 1 SCSI cdrom total.
sr0: scsi3-mmc drive: 8x/8x writer xa/form2 cdda tray

Anything else needed....let me know.

Thanks in advance for your help.

Lee Nevo
lnevo@usa.net
--------------655FD446C2DE6EC0E7FFDFDE
Content-Type: text/plain; charset=us-ascii;
name="typescript"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="typescript"

Script started on Fri Jul 23 21:21:56 1999
sally:/opt/sane/bin# env | grep DEBUG
SANE_DEBUG_UMAX=128
SANE_DEBUG_SANEI_SCSI=128
sally:/opt/sane/bin# pwd
/opt/sane/bin
sally:/opt/sane/bin# ./scanimage -d umax:/dev/sgb > pnm.out
[sanei_init_debug]: Setting debug level of umax to 128.
[umax] sane_init
[umax] This is sane-umax version 1.0 build 3
[umax] (C) 1997-1999 by Oliver Rauch
[umax] EMAIL: Oliver.Rauch@Wolfsburg.DE
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] searched device is /dev/sgb
[umax] attach_scanner: /dev/sgb
[umax] attach_scanner: opening /dev/sgb
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_scsi] sanei_scsi_open: sanei_scsi_max_request_size=32768 bytes
[umax] init
[umax] backend runs on little endian machine
[umax] initialize_values
[umax] identify_scanner
[umax] do_inquiry
[sanei_scsi] scsi_req_enter: entered 0x8056320
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x8056320
[sanei_scsi] sanei_scsi.issue: 0x8056320
[sanei_scsi] sanei_scsi_req_wait: read 41 bytes
[sanei_scsi] scsi_req_enter: entered 0x8056320
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x8056320
[sanei_scsi] sanei_scsi.issue: 0x8056320
[sanei_scsi] sanei_scsi_req_wait: read 196 bytes
[umax] Found UMAX scanner Astra 1200S version V3.1 on device /dev/sgb
[umax] get_inquiry_values
[umax] INQUIRY:
[umax] ========
[umax]
[umax] vendor........................: 'UMAX '
[umax] product.......................: 'Astra 1200S '
[umax] version.......................: 'V3.1'
[umax]
[umax] CBHS value range..............: 0-255
[umax] scanmode......................: flatbed (FB)
[umax] inquiry block length..........: 160 bytes
[umax]
[umax] ISO Version (reserved).......: 0
[umax] ECMA Version (reserved).......: 0
[umax] ANSI Version .................: 2
[umax]
[umax] reserved byte 0x05 = 0
[umax] reserved byte 0x06 = 0
[umax]
[umax] f/w support function:
[umax] ---------------------
[umax] - quality calibration
[umax] - fast preview function
[umax]
[umax] reserved byte 0x36 = 0
[umax] reserved byte 0x37 = 0
[umax]
[umax] scan modes:
[umax] -----------
[umax] - single pass color mode
[umax] - lineart mode
[umax] - gray mode
[umax] - color mode
[umax] - transparency (UTA)
[umax]
[umax] scanner capability:
[umax] -------------------
[umax] - send high byte first
[umax] - bi-level image reverse
[umax] - multi-level image reverse
[umax] - paper length can reach to 14 inch
[umax]
[umax] gamma download available
[umax] gamma download type 2
[umax] lines of gamma curve: one line (gray), three lines (color) download
[umax] gamma input 8 bits/pixel support
[umax] gamma input 10 bits/pixel support
[umax] gamma output 8 bits/pixel support
[umax] gamma output 10 bits/pixel support
[umax]
[umax] reserved byte 0x65 = 0
[umax] reserved byte 0x67 = 0
[umax]
[umax] reserved byte 0x6b = 0
[umax] reserved byte 0x6c = 0
[umax]
[umax] color sequence............................: all supported
[umax] color ordering support....................: pixel
[umax]
[umax] maximum video memory......................: 223 KB
[umax]
[umax] reserved byte 0x72 = 0
[umax]
[umax] maximum optical resolution................: 600 dpi
[umax] maximum x-resolution......................: 600 dpi
[umax] maximum y-resolution......................: 1200 dpi
[umax]
[umax] FB (flatbed-mode):
[umax] FB maximum scan width.....................: 8.50 inch
[umax] FB maximum scan length....................: 14.00 inch
[umax]
[umax] UTA (transparency-mode):
[umax] UTA x-original point......................: 0.00 inch
[umax] UTA y-original point......................: 0.00 inch
[umax] UTA maximum scan width....................: 8.50 inch
[umax] UTA maximum scan length...................: 11.70 inch
[umax]
[umax] reserved byte 0x82 = 0
[umax] reserved byte 0x83 = 0
[umax] reserved byte 0x84 = 0
[umax] reserved byte 0x85 = 0
[umax]
[umax] DOR (double optical resolution-mode):
[umax] DOR x-original point......................: 0.00 inch
[umax] DOR y-original point......................: 0.00 inch
[umax] DOR maximum scan width....................: 0.00 inch
[umax] DOR maximum scan length...................: 0.00 inch
[umax]
[umax] reserved byte 0x8e = 0
[umax]
[umax] last calibration lamp density.............: 0
[umax]
[umax] reserved byte 0x90 = 0
[umax]
[umax] lamp warmup maximum time..................: 0 sec
[umax] window descriptor block length............: 82 bytes
[umax] no analog gamma function
[umax]
[umax] reserved byte 0x98 = 0
[umax] reserved byte 0x99 = 0
[umax]
[umax] maximum calibration data lines for shading: 64
[umax] fb/uta: color line arrangement mode.......: 0
[umax] adf: color line arrangement mode.......: 0
[umax] CCD line distance.........................: 8
[umax]
[umax] reserved byte 0x9e = 0
[umax] reserved byte 0x9f = 0
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[umax] attach_scanner: /dev/sgb
[umax] sane_open
[umax] Using 10 bits for gamma input
[umax] init_options
[umax] sane_control_option 2, set value
[umax] sane_control_option 0, get value
[umax] sane_control_option 0, get value
[umax] sane_get_option_descriptor 0
[umax] sane_get_option_descriptor 1
[umax] sane_get_option_descriptor 2
[umax] sane_get_option_descriptor 3
[umax] sane_get_option_descriptor 4
[umax] sane_get_option_descriptor 5
[umax] sane_get_option_descriptor 6
[umax] sane_get_option_descriptor 7
[umax] sane_get_option_descriptor 8
[umax] sane_get_option_descriptor 9
[umax] sane_get_option_descriptor 10
[umax] sane_get_option_descriptor 11
[umax] sane_control_option 11, get value
[umax] sane_get_option_descriptor 12
[umax] sane_control_option 12, get value
[umax] sane_get_option_descriptor 13
[umax] sane_get_option_descriptor 14
[umax] sane_get_option_descriptor 15
[umax] sane_get_option_descriptor 16
[umax] sane_get_option_descriptor 17
[umax] sane_get_option_descriptor 18
[umax] sane_get_option_descriptor 19
[umax] sane_get_option_descriptor 20
[umax] sane_get_option_descriptor 21
[umax] sane_get_option_descriptor 22
[umax] sane_get_option_descriptor 23
[umax] sane_get_option_descriptor 24
[umax] sane_get_option_descriptor 25
[umax] sane_get_option_descriptor 26
[umax] sane_get_option_descriptor 27
[umax] sane_get_option_descriptor 28
[umax] sane_get_option_descriptor 29
[umax] sane_get_option_descriptor 30
[umax] sane_get_option_descriptor 31
[umax] sane_get_option_descriptor 32
[umax] sane_get_option_descriptor 33
[umax] sane_get_option_descriptor 34
[umax] sane_get_option_descriptor 35
[umax] sane_get_option_descriptor 36
[umax] sane_get_option_descriptor 37
[umax] sane_get_option_descriptor 38
[umax] sane_get_option_descriptor 39
[umax] sane_get_option_descriptor 40
[umax] sane_get_option_descriptor 41
[umax] sane_get_option_descriptor 42
[umax] sane_get_option_descriptor 43
[umax] sane_get_option_descriptor 44
[umax] sane_get_option_descriptor 45
[umax] sane_get_option_descriptor 46
[umax] sane_get_option_descriptor 47
[umax] sane_get_option_descriptor 48
[umax] sane_get_option_descriptor 49
[umax] sane_get_option_descriptor 50
[umax] sane_get_option_descriptor 51
[umax] sane_get_option_descriptor 52
[umax] sane_get_option_descriptor 53
[umax] sane_get_option_descriptor 54
[umax] sane_get_option_descriptor 55
[umax] sane_get_option_descriptor 56
[umax] sane_control_option 9, get value
[umax] sane_control_option 10, get value
[umax] sane_control_option 9, get value
[umax] sane_get_option_descriptor 11
[umax] sane_control_option 11, set value
[umax] sane_control_option 10, get value
[umax] sane_get_option_descriptor 12
[umax] sane_control_option 12, set value
[umax] sane_start
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.
[umax] initialize_values
[umax] grab_scanner
[umax] wait_scanner
[sanei_scsi] scsi_req_enter: entered 0x8056320
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x8056320
[sanei_scsi] sanei_scsi.issue: 0x8056320
[sanei_scsi] sanei_scsi_req_wait: read 36 bytes
[umax] scanner ready
[sanei_scsi] scsi_req_enter: entered 0x8056320
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x8056320
[sanei_scsi] sanei_scsi.issue: 0x8056320
[sanei_scsi] sanei_scsi_req_wait: read 36 bytes
[umax] scanner reserved
[umax] Using 10 bits for gamma input
[umax] Using 8 bits for output
[umax] check_values
[umax] using one pass scanning mode
[umax] scanner uses color-pixel-ordering
[umax] sane_get_parameters
[umax] x_resolution (dpi) = 100
[umax] y_resolution (dpi) = 100
[umax] x_coordinate_base (dpi) = 1200
[umax] y_coordinate_base (dpi) = 1200
[umax] upper_left_x (xbase) = 0
[umax] upper_left_y (ybase) = 0
[umax] scanwidth (xbase) = 10198
[umax] scanlength (ybase) = 16799
[umax] width in pixels = 850
[umax] length in pixels = 1399
[umax] bits per pixel/color = 8
[umax] bytes per line = 2550
[umax] pixels_per_line = 850
[umax] lines = 1399
[umax] negative = 0
[umax] threshold (lineart) = 127
[umax] brightness (halftone) = 0
[umax] contrast (halftone) = 0
[umax] analog_gamma = 0 0 0
[umax] highlight = 255 255 255
[umax] shadow = 0 0 0
[umax] calibrat. exposure time = 0 0 0
[umax] scan exposure time = 0 0 0
[umax] calibration = Use Image Composition
[umax] quality calibration = 0
[umax] fast preview function = 0
[umax] trying to reposition scanner ...
[sanei_scsi] scsi_req_enter: entered 0x8056320
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x8056320
[sanei_scsi] sanei_scsi.issue: 0x8056320
[sanei_scsi] sanei_scsi_req_wait: read 36 bytes
[umax] wait_scanner
[sanei_scsi] scsi_req_enter: entered 0x8056320
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x8056320
[sanei_scsi] sanei_scsi.issue: 0x8056320 (scanimage stops here)
scanimage: stopping scanner...
[umax] sane_cancel
[umax] do_cancel
[umax] trying to reposition scanner ...
[sanei_scsi] scsi_req_enter: entered 0x80631f8
scanimage: sanei_scsi.c:1352: sanei_scsi_req_wait: Assertion `req == qhead' failed.
Aborted
sally:/opt/sane/bin# exit
Script done on Fri Jul 23 21:28:09 1999

--------------655FD446C2DE6EC0E7FFDFDE--

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com