[sane-devel] Avision scanner timeout

Kerry Menzel kmenzel at rx30.com
Wed Jul 5 14:58:06 UTC 2006


Hi,

I am trying to get an Avision AV220 scanner to work with Redhat Linux 9
(2.4.29-abi). When I connect the scanner the hpusbsci module is
automatically loaded. Sane-find-scanner finds the scanner ok. Scanimage -L
does not find it. It reports that the kernel has the scanner. So I do a
modprobe -r hpusbsci and remove the module. Then scanimage -L times out. I
get the following debug. Anybody know what is causing this? Should I unload
the module or is there another way to connect using that module.

Thanks for the help.


[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 3)
[sanei_usb] sanei_usb_open: opened usb device `libusb:001:003' (*dn=0)
[avision] attach: sending standard INQUIRY
[avision] filling command to have a length of 10, was: 6
[avision] try to write cmd, count: 10.
[sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes
[sanei_usb] 0000: 12 00 00 00 24 00 00 00 00 00                   
....$...........
[sanei_usb] sanei_usb_write_bulk: wanted 10 bytes, wrote 10 bytes
[avision] wrote 10 bytes
[avision] try to read 36 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 36 bytes
[sanei_usb] 0000: 06 80 02 42 5B 00 00 00 41 56 49 53 49 4F 4E 20 
...B[...AVISION
[sanei_usb] 0010: 41 56 49 53 49 4F 4E 20 41 56 32 32 30 20 20 20 AVISION 
AV220

[sanei_usb] 0020: 31 2E 30 30                                     
1.00............
[sanei_usb] sanei_usb_read_bulk: wanted 36 bytes, got 36 bytes
[avision] read 36 bytes
[avision] avision_usb_status:
[avision] *** (pseudo interrupt) URB  going down ...
USB error: error reading from bulk endpoint 0x82: Connection timed out
[sanei_usb] sanei_usb_read_int: read failed: Connection timed out
[avision] (pseudo interrupt) got: 0, status: 0
[avision] Error during interrupt endpoint status read.
[avision] *** Try to request sense:
[avision] try to write 6 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 6 bytes
[sanei_usb] 0000: 03 00 00 00 16 00                               
................
USB error: error writing to bulk endpoint 1: Connection timed out
[sanei_usb] sanei_usb_write_bulk: write failed: Connection timed out
[avision] wrote 0 bytes
[avision] *** Got error 9 trying to request sense!
[avision] attach: standard inquiry failed (Error during device I/O)
[sanei_usb] sanei_usb_close: closing device 0
[avision] sane_init: Trying to find USB device 638 a18 ...
[sanei_usb] sanei_usb_find_devices: vendor=0x0638, product=0x0a18
[avision] sane_init: Trying to find USB device 638 a16 ...




More information about the sane-devel mailing list