[sane-devel] HP ScanJet 6200C timeout trouble

Thilo-Alexander Ginkel maillist at tgbyte.com
Wed Dec 26 23:27:40 UTC 2007


Hello everybody,

right now, I am struggling with getting my HP ScanJet 6200C (connected
via USB) to work reliably using SANE.

Some system details:

$ uname -a
Linux andromeda 2.6.22-14-generic #1 SMP Tue Dec 18 05:28:27 UTC 2007
x86_64 GNU/Linux

$ scanimage --version
scanimage (sane-backends) 1.0.18-cvs; backend version 1.0.18

$ sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

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

found USB scanner (vendor=0x2018, product=0x0403) at libusb:004:003
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0201 [HP
ScanJet 6200C]) at libusb:005:004

$ scanimage -L
device `hp:libusb:005:004' is a Hewlett-Packard ScanJet 62x0C flatbed
scanner

When actually starting a scan I finally get:

$ scanimage
[...]
[sanei_usb] sanei_usb_read_bulk: wanted 16 bytes, got 11 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 5 bytes
[sanei_usb] 0000: 1B 2A 66 30 53
.*f0S...........
[sanei_usb] sanei_usb_write_bulk: wanted 5 bytes, wrote 5 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 32768 bytes
P4
# SANE data follows
2550 3507
[sanei_usb] sanei_usb_read_bulk: read failed: Resource temporarily
unavailable
USB error: could not clear/halt ep 129: Connection timed out
scanimage: sane_read: Error during device I/O
[sanei_usb] sanei_usb_close: closing device 1

Any idea where I could continue debugging / how to increase the timeout?

Regards,
Thilo



More information about the sane-devel mailing list