[sane-devel] USB for Umax Astra 2200 SU

Henning Meier-Geinitz henning@meier-geinitz.de
Sun, 26 Jan 2003 18:55:00 +0100


On Sun, Jan 26, 2003 at 04:54:47PM +0100, Klaus Dahlke wrote:
> 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

Maybe this is the ioctl that sends a control message to the kernel
scanner driver?

> I have sane-backends-1.0.10-pre2, sane-frontends-1.0.10-pre2,
> xsane-0.89, libusb 0.1.5,

libusb is too old. But you aren't using it anyway so that shouldn't be
a problem.

> 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.

As far as I can see the patch is in 1.0.10-pre2. Without the patch,
your scanner wouldn't work at all.

Maybe another quote from this page helps:
"And disable the "quality calibration" else you would be able to
preview but not to scan. The calibration is done anyway on that
scanner, so that does not hurt."

If that doesn't work, maybe someone can help if you show us a log


and now try to reproduce the freeze.