UMAX Astra 1200s scanning problems.

Bill Thorson (thorson@typhoon.atmos.colostate.edu)
Wed, 20 Jan 1999 00:28:45 -0700 (MST)

I just connected my scanner to my Linux machine and have some problems.
Here is some configuration info:

dmesg reports --
scsi0 : AdvanSys SCSI 3.1D: PCI Ultra 16 CDB: IO B800/F, IRQ 9
scsi : 1 host.
Vendor: UMAX Model: Astra 1200S Rev: V2.6
Type: Scanner ANSI SCSI revision: 02
Detected scsi generic sga at scsi0, channel 0, id 5, lun 0
scsi : detected total.

scanimage/xscanimage seems to have some trouble with scanning. It seems
to know know how to operate the scanner just fine but has problem with
timing or waiting and therefore messes up the images/previews.

I set SANE_DEBUG_UMAX=8 and did some testing. As soon as it communicated
with the scanner it started listing messaged like it was receiving buffers
of the image even though the scanner had not even started scanning yet.
Then when it did actually start scanning the software thought most of the
image was there. The image I end up with has garbage at the top and the
image at the bottom somewhat cut off.

For the preview image it loaded something in the window before the scanner
even started scanning.

Any ideas? I have included some debug messages below but they really
don't show the problem.

Bill

[umax] start_scan
[umax] starting scan
[umax] do_calibration
[umax] wait_scanner
[umax] scanner ready
[umax] trim_rowbufsize: row_bufsize = 129948 bytes = 68 lines
[umax] reading 2004639 bytes in blocks of 129948 bytes
[umax] read_image_data
[umax] wait_scanner
[umax] scanner ready
[umax] reader_process: buffer of 129948 bytes read; 1874691 bytes to go
[umax] read_image_data
[umax] wait_scanner
[umax] scanner ready
[umax] reader_process: buffer of 129948 bytes read; 1744743 bytes to go
[umax] read_image_data
[umax] wait_scanner
[umax] scanner ready
[umax] reader_process: buffer of 129948 bytes read; 1614795 bytes to go
[umax] read_image_data
[umax] wait_scanner
[umax] scanner ready
[umax] reader_process: buffer of 129948 bytes read; 1484847 bytes to go
[umax] read_image_data
[umax] wait_scanner
[umax] scanner ready
[umax] reader_process: buffer of 129948 bytes read; 1354899 bytes to go
[umax] read_image_data
[umax] wait_scanner
[umax] scanner ready
[umax] reader_process: buffer of 129948 bytes read; 1224951 bytes to go
[umax] read_image_data
[umax] wait_scanner
[umax] scanner ready
[umax] reader_process: buffer of 129948 bytes read; 1095003 bytes to go
[umax] read_image_data
[umax] wait_scanner
[umax] scanner ready
[umax] reader_process: buffer of 129948 bytes read; 965055 bytes to go
[umax] read_image_data
[umax] wait_scanner
[umax] scanner ready
[umax] reader_process: buffer of 129948 bytes read; 835107 bytes to go
[umax] read_image_data
[umax] wait_scanner
[umax] scanner ready
[umax] reader_process: buffer of 129948 bytes read; 705159 bytes to go
[umax] read_image_data
[umax] wait_scanner
[umax] scanner ready
[umax] reader_process: buffer of 129948 bytes read; 575211 bytes to go
[umax] read_image_data
[umax] wait_scanner
[umax] scanner ready
[umax] reader_process: buffer of 129948 bytes read; 445263 bytes to go
[umax] read_image_data
[umax] wait_scanner
[umax] scanner ready
[umax] reader_process: buffer of 129948 bytes read; 315315 bytes to go
[umax] read_image_data
[umax] wait_scanner
[umax] scanner ready
[umax] reader_process: buffer of 129948 bytes read; 185367 bytes to go
[umax] read_image_data
[umax] wait_scanner
[umax] scanner ready
[umax] reader_process: buffer of 129948 bytes read; 55419 bytes to go
[umax] read_image_data
[umax] wait_scanner
[umax] scanner ready
[umax] reader_process: buffer of 55419 bytes read; 0 bytes to go
[umax] trying to reposition scanner ...
[umax] wait_scanner
[umax] scanner ready
[umax] scanner repositioned
[umax] trying to release scanner ...
[umax] wait_scanner
[umax] scanner ready
[umax] scanner released

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