[sane-devel] USB for Umax Astra 2200 SU

Klaus Dahlke klaus.dahlke@gmx.de
Sun, 26 Jan 2003 16:54:47 +0100


Hi all,

I have a problem with my Umax Astra 2200 SU (it has both connectors, SCSI and USB). SCSI and USB works fine with Win98 (i.e., hardware is okay), SCSI works also under Linux (for various reasons I am thinking of switching to USB). When attached to USB, scanner is detected by xscanimage on either /dev/usbscanner or /dev/usb/scanner0. I can nicely do a preview or multiple previews. But when I want to do the actual scan, the scanner starts with some action (about a second or so) and then do nothing. The output from strace is continuously producing:

nanosleep({0, 100000000}, NULL)         = 0
ioctl(7, 0xc0085522, 0xbfffdd80)        = 0
nanosleep({0, 100000000}, NULL)         = 0
ioctl(7, 0xc0085522, 0xbfffdd80)        = 0
nanosleep({0, 100000000}, NULL)         = 0
ioctl(7, 0xc0085522, 0xbfffdd80)        = 0
nanosleep({0, 100000000}, NULL)         = 0
ioctl(7, 0xc0085522, 0xbfffdd80)        = 0
nanosleep({0, 100000000}, NULL)         = 0
ioctl(7, 0xc0085522, 0xbfffdd80)        = 0

I have sane-backends-1.0.10-pre2, sane-frontends-1.0.10-pre2, xsane-0.89, libusb 0.1.5, Kernel 2.4.19 installed.

On http://fz.eryx.net/sane I found some comments on a mismatch of libusb with umax-usb:
<quote>
For SANE 1.0.9:

    Some changes were made to SANE to support libusb. Unfortunatly I didn't fully use the SANE's usb API and this broke the support for that scanner. This patch (umax-usb-1.0.9-fix1.diff) is necessary to make it work again.
</quote>

Is this patch still valid of sane-1.0.10-pre2 or is it a different problem.

Thanks for your support.

Cheers,
Klaus