[sane-devel] Umax 2200 (USB) failing

Charles Sprickman spork@fasttrackmonkey.com
Mon, 29 Dec 2003 04:37:42 -0500 (EST)


I just installed Sane 1.0.13 on FreeBSD 5.1.  I have a Umax Astra 2200-US
scanner (scsi and usb), but only have a USB interface on my workstation.

The OS detects that there's a scanner plugged in:

uscanner0: UMAX Data Systems Astra 2200U Scanner, rev 1.00/1.00, addr 2

sane-find-scanner also sees something there:

root@green[/usr/local/etc/sane.d]# sane-find-scanner

  # No SCSI scanners found. If you expected something different, make sure
  # you have loaded a SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x1606, product=0x0230) at /dev/uscanner0
  # Your USB scanner was detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

However running a test with scanimage (specifying the device/driver
directly) just hangs.  Enabling debug output shows the following:

root@green[/usr/local/etc/sane.d]# scanimage -d umax:/dev/uscanner0 -T
[sanei_debug] Setting debug level of umax to 255.
[umax] sane_init
[umax] This is sane-umax version 1.0 build 40
[umax] compiled with USB support for Astra 2200
[umax] (C) 1997-2002 by Oliver Rauch
[umax] EMAIL: Oliver.Rauch@rauch-domain.de
[umax] reading configure file umax.conf
[umax] option handle-bad-sense-error = 3
[umax] option connection-type = 2
[umax] sanei_usb_attach_matching_devices(usb 0x1606 0x0230)
[umax] attach_scanner: /dev/uscanner0, connection_type 2
[umax] attach_scanner: opening usb device /dev/uscanner0
[umax] Initializing the PV8630
[umax] PV8630 initialized
[umax] attach_scanner: allocating SCSI buffer[0]
[umax] init
[umax] setting request_scsi_maxqueue = 1 for USB connection
[umax] request_scsi_maxqueue          = 1
[umax] request_preview_lines          = 10
[umax] request_scan_lines             = 40
[umax] handle_bad_sense_error         = 3
[umax] execute_request_sense          = 0
[umax] scsi_buffer_size_min           = 32768
[umax] scsi_buffer_size_max           = 131072
[umax] force_preview_bit_rgb          = 0
[umax] slow                           = -1
[umax] smear                          = -1
[umax] calibration_area               = -1
[umax] calibration_width_offset       = -99999
[umax] calibration_width_offset_batch = -99999
[umax] calibration_bytespp            = -1
[umax] exposure_time_rgb_bind         = -1
[umax] invert_shading_data            = -1
[umax] lamp_control_available         = 0
[umax] backend runs on little endian machine
[umax] variable scsi buffer size (usage of sanei_scsi_open_extended)
[umax] initialize_values
[umax] identify_scanner
[umax] do_inquiry
[umax] Sending SCSI cmd 0x12 cdb len 6, param len 0, result len 5

And there it sits, for hours...

First of all, is this an officially supported scanner?  Looking at the
mailing lists it seems others have it working.

Secondly, is there any other information I can provide to debug this?

And lastly, I also have an iBook running OS-X 10.3.2.  Is this scanner
known to work under OS-X and Sane (Umax abandoned all support for these
older models for OS-X)?