[sane-devel] Canoscan 8800F]

Kurt Rosenfeld hardware at ee-mail.engr.ccny.cuny.edu
Tue May 18 17:25:24 UTC 2010


Here is some good news.  I tried Backends 1.0.21 on a FreeBSD 9
machine and it works.  Here is the stderr output:

http://acm.poly.edu/~kurt/scanimage_freebsd_all255.txt

This is the first time I tried it on a FreeBSD 9 machine.
I tried it before on another older FreeBSD 7 machine and it 
seemed to fail in the same way as I have been seeing with
Linux.  In both cases a little bit of dirty stuff was needed
to get it to compile since the current version of SANE Backends
in the FreeBSD ports tree is 1.0.20, which does not support the
Canon 8800F.  The maintainer of the port recently submitted a
patch (awaiting commit) that, among other things, updates the 
port to use 1.0.21.  Today I manually applied that patch to my 
ports tree and built sane-backends on the FreeBSD 9 box here in
the lab.  What next?  -kurt

On Wed, May 19, 2010 at 12:01:29AM +0900, Gernot Hassenpflug wrote:
> 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
> 
> --
> sane-devel mailing list: sane-devel at 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 at lists.alioth.debian.org



More information about the sane-devel mailing list