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

Keith Clayton keith@claytons.org
Mon, 31 May 2004 11:11:06 -0700


Probably want to start by checking into the meaning of this error

usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x81 len 4096 ret -71


I did some google-ing around without much success . . maybe ask the
usb-devel list.

You may also want to try the other uhci module.  IIRC, there are 2
possible modules, usb-uhci and uhci.

I have an OHCI controller myself but in following the usb list in the
past I have noticed that for a variety of devices, people will have
success with one host controller driver and not the other. 

Cheers,
Keith



On Mon, 2004-05-31 at 17:45 +0200, David Härdeman wrote:
> 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.
> 
> -- 
> sane-devel mailing list: sane-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request@lists.alioth.debian.org