[sane-devel] Avision scanner timeout

m. allan noah anoah at pfeiffer.edu
Thu Jul 6 20:53:42 UTC 2006


you have tried power cycling the scanner, not just replug the usb cable, 
right?

allan

On Thu, 6 Jul 2006, Kerry Menzel wrote:

> I'm stuck. I'd really like to get this Avision AV220 scanner to work, but
> not able to. I discovered that I could put the hpusbscsi module in the
> hotplug blacklist. Now it does not load when I plug in the scanner. But I
> still timeout when I try to do a scanimage -L. I have tried RedHat AS 4.
> Same results. I really need to get it to work with 2.4.29-abi. Anything I
> should look at. Any help would be much appreciated.
>
>
>
> Thanks,
>
> Kerry
>
>
>
>
>
> 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 ...
>
>

-- 
"so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls" - Max Cavalera



More information about the sane-devel mailing list