[sane-devel] Problems with HP 6200C scanner and SANE

David Härdeman david@2gen.com
Mon, 31 May 2004 17:45:25 +0200


Hi,

I'm currently trying to get an HP 6200C USB scanner to work with SANE 
(1.0.14) under Linux (Debian woody with some backports, kernel 2.4.26). 
Whenever I scan something which requires a low amount of data (lineart 
picture at 100dpi for instance), everything works just fine. But when I 
scan a more bandwidth hungry pic, it never succeeds. I've tried this 
both with the "scanner" module in the kernel and with libusb but both 
seem to experience the same problems.

I have tried sane's "dumb-read" option and all other option which were 
mentioned in the sane-hp man page but I'm running out of ideas. Any 
clues what might cause this (might later kernels be too picky with their 
timing requirements)?

TIA,
David
david@2gen.com

PS
Please CC me on any replies as I'm not subscribed

******************
* libusb results *
******************
palpatine:/tmp# scanimage -L
device `hp:libusb:001:002' is a Hewlett-Packard ScanJet 62x0C flatbed 
scanner
palpatine:/tmp# scanimage --mode Lineart --resolution 100 > test.pnm /* 
OK */
palpatine:/tmp# scanimage --mode Color   --resolution 300 > test.pnm
scanimage: sane_read: Error during device I/O
palpatine:/tmp# dmesg | tail -2
usb-uhci.c: interrupt, status 2, frame# 200
usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x81 len 4096 ret -71

*****************************
* usbscanner module results *
*****************************
palpatine:/tmp# modprobe scanner
palpatine:/tmp# vi /etc/sane.d/hp.conf /* Made appropriate changes */
palpatine:/tmp# scanimage -L
device `hp:/dev/usb/scanner0' is a Hewlett-Packard ScanJet 62x0C flatbed 
scanner
palpatine:/tmp# scanimage --mode Lineart --resolution 100 > test.pnm /* 
OK */
palpatine:/tmp# scanimage --mode Color   --resolution 300 > test.pnm
scanimage: sane_read: Error during device I/O
palpatine:/tmp# dmesg | tail -9
usb_control/bulk_msg: timeout
usb-uhci.c: interrupt, status 2, frame# 618
scanner.c: read_scanner(0): funky result:-71. Consult 
Documentation/usb/scanner.txt.
usb-uhci.c: interrupt, status 2, frame# 531
scanner.c: read_scanner(0): funky result:-71. Consult 
Documentation/usb/scanner.txt.
usb-uhci.c: interrupt, status 2, frame# 2032
scanner.c: read_scanner(0): funky result:-71. Consult 
Documentation/usb/scanner.txt.
usb-uhci.c: interrupt, status 2, frame# 1916
scanner.c: read_scanner(0): funky result:-71. Consult 
Documentation/usb/scanner.txt.