[sane-devel] Preview scan fails with ScanJet 5370C (avision backend)

Kevin Page sane-devel at krp.org.uk
Mon Dec 4 01:35:18 CET 2006


I'm having problems with an HP ScanJet 5370C, using the Avision backend,
on the second and all following preview scans.

On the first attempt, the preview scan is successful. On the second, and
all further, attempts the scan head moves back and forth a small amount
(initial alignment?), then makes a noise (a fairly unsettling one -
possibly motor strain?) like it's trying to take the preview scan - but
the scan head doesn't move.

All further attempts fail until _all_ the following have been performed:
1) unplug the scanner from mains and USB
2) modprobe out, then modprobe back in ehci_usb
3) plug the scanner back in
4) run a preview scan in VueScan

Now, 4) seems odd - but if I don't do this then xsane hangs on startup
with device I/O errors. This behaviour bears a striking similarity to
the problems I experienced due to another bug that was apparently fixed
with version 1.0.18 of sane-backends [1]; indeed after the first failed
preview scan, if I unplug the scanners USB cable then plug it back in
(without bus or scanner reset) I get the error:

localhost kernel: usb 1-1.3: new full speed USB device using
ehci_hcd and address 8
localhost kernel: usb 1-1.3: device descriptor read/64, error -110

This would appear, at least superficially, to be similar to the bug I
was previously experiencing with this scanner [1]; I DON'T believe it to
be related to kernel/usb/hub issues I've experienced with this scanner

xsane debug output with successful preview scan:

xsane debug output with second preview scan that fails:

I also reported the bug in the Fedora bugzilla (though there's no extra
information beyond what I've described here):

[1] https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205092#c1
[2] https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=200122

Best regards,

Kevin Page

More information about the sane-devel mailing list