[sane-devel] Canoscan 8800F]

Gernot Hassenpflug aikishugyo at gmail.com
Tue May 18 15:01:29 UTC 2010


On Tue, May 18, 2010 at 10:58 PM, Kurt Rosenfeld
<hardware at ee-mail.engr.ccny.cuny.edu> wrote:
> With the environment set as follows:
>
> # env | grep SANE
> DEBUG_SANE=255
> SANE_DEBUG_SANEI_USB=255
> SANE_DEBUG_DLL=255
>
> the command:
>
> scanimage 2> scanimage_may18_all255.txt > ofile
>
> produces the following stderr output:
> http://acm.poly.edu/~kurt/scanimage_may18_all255.txt

Hi, and thanks. I don't know what this error means. Could this have
something to do with permissions. I don't know the USB protocol well
enough to tell if there is anything odd in the configuration or not.

[sanei_usb] 000 EF 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 . ..............
libusb:error [submit_bulk_transfer] submiturb failed error -1 errno=22
[sanei_usb] sanei_usb_write_bulk: write failed: Input/output error


My 8800F gives the following (as root) using the same setup and command:

1) the result of the pixma backend during the scanning using all backend:

[sanei_usb] sanei_usb_open: trying to open device `libusb:004:008'
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open:     interface nr: 0
[sanei_usb] sanei_usb_open:   alt_setting nr: 0
[sanei_usb] sanei_usb_open: endpoint nr: 0
[sanei_usb] sanei_usb_open: direction: 0
[sanei_usb] sanei_usb_open: address: 7 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x07)
[sanei_usb] sanei_usb_open: endpoint nr: 1
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 8 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x08)
[sanei_usb] sanei_usb_open: endpoint nr: 2
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 9 transfertype: 3
[sanei_usb] sanei_usb_open: found interrupt-in endpoint (address 0x09)
[sanei_usb] sanei_usb_open: opened usb device `libusb:004:008' (*dn=0)
[sanei_usb] sanei_usb_control_msg: rtype = 0x80, req = 6, value = 256,
index = 0, len = 18
[sanei_usb] 000 12 01 00 02 00 00 00 40 A9 04 01 19 01 01 01 02 ....... at ........
[sanei_usb] 010 00 01                                           ..
[sanei_usb] sanei_usb_close: closing device 0


2) the opening of the device after scanning of backends is complete
and the 8800F is selected for operation:

[dll] sane_get_devices: found 1 devices
[dll] sane_open: trying to open `pixma:04A91901'
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1709
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x170a
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x170b
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x170c
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1712
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x170d
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x170e
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1713
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x172b
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1714
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1715
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1716
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1717
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1718
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1719
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x171a
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x171b
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1721
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1722
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1723
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1724
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1725
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1727
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1728
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1729
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x172c
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x171c
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1726
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1901
[sanei_usb] sanei_usb_open: trying to open device `libusb:004:008'
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open:     interface nr: 0
[sanei_usb] sanei_usb_open:   alt_setting nr: 0
[sanei_usb] sanei_usb_open: endpoint nr: 0
[sanei_usb] sanei_usb_open: direction: 0
[sanei_usb] sanei_usb_open: address: 7 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x07)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint
(address: 0x07), ignoring the new one
[sanei_usb] sanei_usb_open: endpoint nr: 1

[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 8 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x08)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint
(address: 0x88), ignoring the new one
[sanei_usb] sanei_usb_open: endpoint nr: 2
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 9 transfertype: 3
[sanei_usb] sanei_usb_open: found interrupt-in endpoint (address 0x09)
[sanei_usb] sanei_usb_open: we already have a int-in endpoint
(address: 0x89), ignoring the new one
[sanei_usb] sanei_usb_open: opened usb device `libusb:004:008' (*dn=0)
[sanei_usb] sanei_usb_control_msg: rtype = 0x80, req = 6, value = 256,
index = 0, len = 18
[sanei_usb] 000 12 01 00 02 00 00 00 40 A9 04 01 19 01 01 01 02 ....... at ........
[sanei_usb] 010 00 01                                           ..
[sanei_usb] sanei_usb_close: closing device 0
..
..
[sanei_usb] sanei_usb_open: trying to open device `libusb:004:008'
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open:     interface nr: 0
[sanei_usb] sanei_usb_open:   alt_setting nr: 0
[sanei_usb] sanei_usb_open: endpoint nr: 0
[sanei_usb] sanei_usb_open: direction: 0
[sanei_usb] sanei_usb_open: address: 7 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x07)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint
(address: 0x07), ignoring the new one
[sanei_usb] sanei_usb_open: endpoint nr: 1
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 8 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x08)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint
(address: 0x88), ignoring the new one
[sanei_usb] sanei_usb_open: endpoint nr: 2
[sanei_usb] sanei_usb_open: direction: 128
[sanei_usb] sanei_usb_open: address: 9 transfertype: 3
[sanei_usb] sanei_usb_open: found interrupt-in endpoint (address 0x09)
[sanei_usb] sanei_usb_open: we already have a int-in endpoint
(address: 0x89), ignoring the new one
[sanei_usb] sanei_usb_open: opened usb device `libusb:004:008' (*dn=0)
[sanei_usb] sanei_usb_write_bulk: trying to write 16 bytes
[sanei_usb] 000 EF 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 . ..............
[sanei_usb] sanei_usb_write_bulk: wanted 16 bytes, wrote 16 bytes
[sanei_usb] sanei_usb_read_bulk: trying to read 8 bytes
[sanei_usb] 000 06 06 00 00 00 00 00 00                         ........
[sanei_usb] sanei_usb_read_bulk: wanted 8 bytes, got 8 bytes
[dll] sane_open: open successful

Regards,
Gernot



More information about the sane-devel mailing list