[sane-devel] Canon imageCLASS MF5770 does not work with sane

Jerry Zhang jwwzhang at gmail.com
Fri May 8 06:54:28 UTC 2009


Hi,

I tested my Canon imageCLASS MF5770 (pixma backend) with snapshot
"http://www.sane-project.org/snapshots/sane-backends-git20090503.tar.gz"
and I got this error:

[pixma] pixma_scan() failed ECANCELED
[pixma] Reader task terminated: ECANCELED
[pixma] read_image():reader task closed the pipe:0 bytes received,
1683840 bytes expected
FAIL Error: Operation was cancelled

The log is attached below.

Thanks,

Jerry

===========================================================================
......
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x265d
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x265e
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x265f
[pixma] pixma_collect_devices() found Canon imageCLASS MF5770 at libusb:001:003
[sanei_usb] sanei_usb_open: trying to open device `libusb:001:003'
USB error: could not set config 2: Device or resource busy
[sanei_usb] sanei_usb_open: libusb complained: could not set config 2:
Device or resource busy
[sanei_usb] Maybe the kernel scanner driver or usblp claims the
interface? Ignoring this error...
[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: 1 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x01)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint
(address: 0x01), 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: 2 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x02)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint
(address: 0x82), 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: 3 transfertype: 3
[sanei_usb] sanei_usb_open: found interrupt-in endpoint (address 0x03)
[sanei_usb] sanei_usb_open: we already have a int-in endpoint
(address: 0x83), ignoring the new one
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open:     interface nr: 1
[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: 4 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x04)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint
(address: 0x01), 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: 5 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x05)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint
(address: 0x82), ignoring the new one
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open:     interface nr: 2
[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: 6 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x06)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint
(address: 0x01), 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: 7 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x07)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint
(address: 0x82), ignoring the new one
[sanei_usb] sanei_usb_open: opened usb device `libusb:001:003' (*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 5F 26 00 00 01 02 ....... at .._&....
[sanei_usb] 010 03 01                                           ..
[sanei_usb] sanei_usb_control_msg: rtype = 0x80, req = 6, value = 768,
index = 0, len = 4
[sanei_usb] 000 04 03 09 04                                     ....
[sanei_usb] sanei_usb_control_msg: rtype = 0x80, req = 6, value = 771,
index = 1033, len = 44
[sanei_usb] 000 1A 03 32 00 31 00 37 00 39 00 46 00 31 00 32 00 ..2.1.7.9.F.1.2.
[sanei_usb] 010 33 00 34 00 34 00 30 00 34 00 00 00 00 00 00 00 3.4.4.0.4.......
[sanei_usb] 020 00 00 60 26 FF B7 71 88 04 08 20 01             ..`&..q... .
[sanei_usb] sanei_usb_close: closing device 0
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2660
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2684
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2686
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x26b0
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x26b4
[pixma] sanei_bjnp_find_devices:
[pixma] Added all configured scanners, now do auto detection...
[pixma] lo is not a valid IPv4 interface, skipping...
[pixma] eth0 is not a valid IPv4 interface, skipping...
[pixma] lo is not a valid IPv4 interface, skipping...
[pixma] eth0 is IPv4 capable, sending broadcast..
[pixma] lo is not a valid IPv4 interface, skipping...
[pixma] eth0 is not a valid IPv4 interface, skipping...
[pixma] lo is not a valid IPv4 interface, skipping...
[pixma] eth0 is IPv4 capable, sending broadcast..
[pixma] lo is not a valid IPv4 interface, skipping...
[pixma] eth0 is not a valid IPv4 interface, skipping...
[pixma] lo is not a valid IPv4 interface, skipping...
[pixma] eth0 is IPv4 capable, sending broadcast..
[pixma] lo is not a valid IPv4 interface, skipping...
[pixma] eth0 is not a valid IPv4 interface, skipping...
[pixma] lo is not a valid IPv4 interface, skipping...
[pixma] eth0 is IPv4 capable, sending broadcast..
[pixma] lo is not a valid IPv4 interface, skipping...
[pixma] eth0 is not a valid IPv4 interface, skipping...
[pixma] lo is not a valid IPv4 interface, skipping...
[pixma] eth0 is IPv4 capable, sending broadcast..
[pixma] scanner discovery finished...
[pixma] pixma_open(): Canon imageCLASS MF5770
[sanei_usb] sanei_usb_open: trying to open device `libusb:001:003'
USB error: could not set config 2: Device or resource busy
[sanei_usb] sanei_usb_open: libusb complained: could not set config 2:
Device or resource busy
[sanei_usb] Maybe the kernel scanner driver or usblp claims the
interface? Ignoring this error...
[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: 1 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x01)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint
(address: 0x01), 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: 2 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x02)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint
(address: 0x82), 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: 3 transfertype: 3
[sanei_usb] sanei_usb_open: found interrupt-in endpoint (address 0x03)
[sanei_usb] sanei_usb_open: we already have a int-in endpoint
(address: 0x83), ignoring the new one
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open:     interface nr: 1
[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: 4 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x04)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint
(address: 0x01), 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: 5 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x05)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint
(address: 0x82), ignoring the new one
[sanei_usb] sanei_usb_open: configuration nr: 0
[sanei_usb] sanei_usb_open:     interface nr: 2
[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: 6 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x06)
[sanei_usb] sanei_usb_open: we already have a bulk-out endpoint
(address: 0x01), 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: 7 transfertype: 2
[sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x07)
[sanei_usb] sanei_usb_open: we already have a bulk-in endpoint
(address: 0x82), ignoring the new one
[sanei_usb] sanei_usb_open: opened usb device `libusb:001:003' (*dn=0)
[pixma] Trying to clear the interrupt buffer...
[sanei_usb] sanei_usb_read_int: trying to read 16 bytes
[sanei_usb] sanei_usb_read_int: wanted 16 bytes, got 16 bytes
[sanei_usb] 000 00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 ............ at ...
[pixma] INTR T=3.262 len=16
[pixma]  00000000:00 00 00 00 00 00 00 00  00 00 00 00 40 00 00 00
[pixma]
[sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes
[sanei_usb] 000 F3 20 00 00 00 00 00 00 0C 00                   . ........
[sanei_usb] sanei_usb_write_bulk: wanted 10 bytes, wrote 10 bytes
[pixma] OUT  T=3.264 len=10
[pixma]  00000000:f3 20 00 00 00 00 00 00  0c 00
[pixma]
[sanei_usb] sanei_usb_read_bulk: trying to read 14 bytes
[sanei_usb] 000 06 06 03 01 00 41 03 00 41 11 00 00 00 66       .....A..A....f
[sanei_usb] sanei_usb_read_bulk: wanted 14 bytes, got 14 bytes
[pixma] IN   T=3.266 len=14
[pixma]  00000000:06 06 03 01 00 41 03 00  41 11 00 00 00 66
[pixma]
[pixma] Current status: paper=1 cal=0 lamp=17
[pixma] Current status: paper=1 cal=0 lamp=17
[pixma] Reader task started
[pixma]
[pixma] pixma_scan(): start
[pixma]   line_size=1920 image_size=1683840 channels=3 depth=8
[pixma]   dpi=75x75 offset=(0,0) dimension=640x877
[pixma]   gamma_table=0x807c84c source=0
[sanei_usb] sanei_usb_read_int: trying to read 16 bytes
[pixma] Reader task id=9806 (forked)
lt-scanimage: scanning image of size 640x877 pixels at 24 bits/pixel
lt-scanimage: acquiring RGB frame, 8 bits/sample
lt-scanimage: reading one scanline, 1920 bytes...	
[sanei_usb] sanei_usb_read_int: read failed: Resource temporarily unavailable
[pixma] raw_width = 640
[sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes
[sanei_usb] 000 F3 20 00 00 00 00 00 00 0C 00                   . ........
[sanei_usb] sanei_usb_write_bulk: wanted 10 bytes, wrote 10 bytes
[pixma] OUT  T=3.374 len=10
[pixma]  00000000:f3 20 00 00 00 00 00 00  0c 00
[pixma]
[sanei_usb] sanei_usb_read_bulk: trying to read 14 bytes
[sanei_usb] 000 06 06 03 01 00 41 03 00 41 11 00 00 00 66       .....A..A....f
[sanei_usb] sanei_usb_read_bulk: wanted 14 bytes, got 14 bytes
[pixma] IN   T=3.378 len=14
[pixma]  00000000:06 06 03 01 00 41 03 00  41 11 00 00 00 66
[pixma]
[pixma] Current status: paper=1 cal=0 lamp=17
[pixma] Current status: paper=1 cal=0 lamp=17
[sanei_usb] sanei_usb_write_bulk: trying to write 20 bytes
[sanei_usb] 000 CF 60 00 00 00 00 00 00 0A 00 01 00 00 00 00 00 .`..............
[sanei_usb] 010 00 00 00 FF                                     ....
[sanei_usb] sanei_usb_write_bulk: wanted 20 bytes, wrote 20 bytes
[pixma] OUT  T=3.379 len=20
[pixma]  00000000:cf 60 00 00 00 00 00 00  0a 00 01 00 00 00 00 00
[pixma]  00000010:00 00 00 ff
[pixma]
[sanei_usb] sanei_usb_read_bulk: trying to read 2 bytes
[sanei_usb] 000 06 06                                           ..
[sanei_usb] sanei_usb_read_bulk: wanted 2 bytes, got 2 bytes
[pixma] IN   T=3.382 len=2
[pixma]  00000000:06 06
[pixma]
[sanei_usb] sanei_usb_write_bulk: trying to write 20 bytes
[sanei_usb] 000 CF 60 00 00 00 00 00 00 0A 00 01 00 00 04 00 00 .`..............
[sanei_usb] 010 00 00 00 FB                                     ....
[sanei_usb] sanei_usb_write_bulk: wanted 20 bytes, wrote 20 bytes
[pixma] OUT  T=3.386 len=20
[pixma]  00000000:cf 60 00 00 00 00 00 00  0a 00 01 00 00 04 00 00
[pixma]  00000010:00 00 00 fb
[pixma]
[sanei_usb] sanei_usb_read_bulk: trying to read 2 bytes
[sanei_usb] 000 06 06                                           ..
[sanei_usb] sanei_usb_read_bulk: wanted 2 bytes, got 2 bytes
[pixma] IN   T=3.387 len=2
[pixma]  00000000:06 06
[pixma]
[sanei_usb] sanei_usb_write_bulk: trying to write 10 bytes
[sanei_usb] 000 DB 20 00 00 00 00 00 00 00 00                   . ........
[sanei_usb] sanei_usb_write_bulk: wanted 10 bytes, wrote 10 bytes
[pixma] OUT  T=3.388 len=10
[pixma]  00000000:db 20 00 00 00 00 00 00  00 00
[pixma]
[sanei_usb] sanei_usb_read_bulk: trying to read 2 bytes
[sanei_usb] 000 15 15                                           ..
[sanei_usb] sanei_usb_read_bulk: wanted 2 bytes, got 2 bytes
[pixma] IN   T=3.394 len=2
[pixma]  00000000:15 15
[pixma]
[pixma] pixma_scan() failed ECANCELED
[pixma] Reader task terminated: ECANCELED
[pixma] read_image():reader task closed the pipe:0 bytes received,
1683840 bytes expected
FAIL Error: Operation was cancelled
[pixma] pixma_close(): Canon imageCLASS MF5770
[sanei_usb] sanei_usb_close: closing device 0
===========================================================================



More information about the sane-devel mailing list