[sane-devel] Cannot get hp scanjet 8200 working

David Niklas doark at mail.com
Sat Sep 3 04:59:26 UTC 2016


Hello,
I bought an hp scanjet 8200 from amazon and I can't get it to work.
Here is a list of commands run and output lightly edited for brevity.
Feel free to snip non relevant details.
Thanks, in advance.

% scanimage --version
scanimage (sane-backends) 1.0.24; backend version 1.0.24

% equery l PACKAGE
media-gfx/sane-backends-1.0.24-r6
media-gfx/sane-frontends-1.0.14
media-gfx/xsane-0.999-r1
media-gfx/simple-scan-3.18.2

% uname -a
Linux ulgy_thing 4.1.15-gentoo-r1-nopreempt-dav2 #1 SMP x86_64 Intel(R)
Pentium(R) CPU 2117U @ 1.80GHz GenuineIntel GNU/Linux

% scanimage -v -d avision:libusb:004:029 > aa.pnm
scanimage: open of device avision:libusb:004:029 failed: Operation not
supported

# In system log
[scanimage] protocol/discovery/mdns.c 122: unable to add to multicast
group: No such device_

% sane-find-scanner
found USB scanner (vendor=0x03f0 [hp], product=0x0b01 [hp scanjet 8200])
at libusb:004:029

DEBUG INFO
avision   == 128
sanei_usb == 128
dll          Looked at, but not needed as there was no problem here AFAIK.


################# DEBUG ~50 lines ###################################################
[avision] try to write src, count: 2.
[sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes
[sanei_usb] 000 00 00                                           ..              
[sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes
[avision] wrote 2 bytes
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] 000 00                                              .               
[sanei_usb] sanei_usb_read_bulk: wanted 1 bytes, got 1 bytes
[avision] <== (bulk read) got: 1, status: 0
[avision] adf_reset: write 2 complete.
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] try to write cmd, count: 10.
[sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes
[sanei_usb] 000 28 00 69 00 0A 0D 00 00 04 00                   (.i.......      
[sanei_usb] sanei_usb_write_bulk: wanted 10 bytes, wrote 10 bytes
[avision] wrote 10 bytes
[avision] try to read 4 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 4 bytes
[sanei_usb] 000 00 00 02 40                                     ...@            
[sanei_usb] sanei_usb_read_bulk: wanted 4 bytes, got 4 bytes
[avision] read 4 bytes
[avision] avision_usb_status: timeout 10000, 1 retries
[avision] ==> (bulk read) going down ...
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] 000 00                                              .               
[sanei_usb] sanei_usb_read_bulk: wanted 1 bytes, got 1 bytes
[avision] <== (bulk read) got: 1, status: 0
[avision] adf_reset: raw data:
[avision]   [0] 00000000b   0o   0d  0x
[avision]   [1] 00000000b   0o   0d  0x
[avision]   [2] 00000010b   2o   2d  2x
[avision]   [3] 01000000b 100o  64d 40x
[avision] get_accessories_info: Waiting while ADF firmware resets...
[avision] wait_ready: sending TEST_UNIT_READY
[avision] filling command to have a length of 10, was: 6
[avision] Timeouts: write: 30000, read: 15000, status: 15000
[avision] try to write cmd, count: 10.
[sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes
[sanei_usb] 000 00 00 00 00 00 00 00 00 00 00                   ..........      
[sanei_usb] sanei_usb_write_bulk: wanted 10 bytes, wrote 10 bytes
[avision] wrote 10 bytes
[avision] avision_usb_status: timeout 15000, 1 retries
[avision] ==> (bulk read) going down ...
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] 000 00                                              .               
[sanei_usb] sanei_usb_read_bulk: wanted 1 bytes, got 1 bytes
[avision] <== (bulk read) got: 1, status: 0
[avision] get_accessories_info: Maximum retries attempted, ADF unresponsive.
[avision] sane_open: additional probe failed: Operation not supported
scanimage: open of device avision:libusb:004:029 failed: Operation not supported
[avision] sane_exit:

############### DEBUG 27 lines scanimage -h -d avision:libusb:004:029 ###############
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] 000 00                                              .               
[sanei_usb] sanei_usb_read_bulk: wanted 1 bytes, got 1 bytes
[avision] <== (bulk read) got: 1, status: 0
[avision] adf_reset: raw data:
[avision]   [0] 00000000b   0o   0d  0x
[avision]   [1] 00000000b   0o   0d  0x
[avision]   [2] 00000010b   2o   2d  2x
[avision]   [3] 01000000b 100o  64d 40x
[avision] get_accessories_info: Waiting while ADF firmware resets...
[avision] wait_ready: sending TEST_UNIT_READY
[avision] filling command to have a length of 10, was: 6
[avision] Timeouts: write: 30000, read: 15000, status: 15000
[avision] try to write cmd, count: 10.
[sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes
[sanei_usb] 000 00 00 00 00 00 00 00 00 00 00                   ..........      
[sanei_usb] sanei_usb_write_bulk: wanted 10 bytes, wrote 10 bytes
[avision] wrote 10 bytes
[avision] avision_usb_status: timeout 15000, 1 retries
[avision] ==> (bulk read) going down ...
[sanei_usb] sanei_usb_read_bulk: trying to read 1 bytes
[sanei_usb] 000 00                                              .               
[sanei_usb] sanei_usb_read_bulk: wanted 1 bytes, got 1 bytes
[avision] <== (bulk read) got: 1, status: 0
[avision] get_accessories_info: Maximum retries attempted, ADF unresponsive.
[avision] sane_open: additional probe failed: Operation not supported
scanimage: open of device avision:libusb:004:029 failed: Operation not supported




More information about the sane-devel mailing list