[sane-devel] Canon imageCLASS MF4450 (running as MF4410)

Dylan McGuire dylan.l.mcguire at gmail.com
Sun Oct 7 00:02:09 UTC 2012


Hello,

I have a Canon imageCLASS MF4450 - it is detecting as MF4410 (which has a
backend, see
http://lists.alioth.debian.org/pipermail/sane-devel/2012-February/029573.html)
but any attempt to start a scan fails with EBUSY. I am using the latest
backend installed on Ubuntu 10.04. I tremendously appreciate the work done
on the SANE project - if I can help contribute another device, I would be
happy to.

$ scanimage -V
scanimage (sane-backends) 1.0.24git; backend version 1.0.24

$ scanimage -L
device `pixma:04A92737_2124K5200265' is a CANON Canon imageCLASS MF4410
multi-function peripheral

$ sudo sane-find-scanner
found USB scanner (vendor=0x04a9 [Canon Inc], product=0x2737 [MF4450]) at
libusb:002:004

If I run with debugging at 21, I obtain the following output (below, I have
added a few printfs to trace the behaviour). There seem to be three
successful transactions, followed by one that returns busy. Please let me
know if there is anything further that I might provide.

- Dylan

$ SANE_DEBUG_PIXMA=21 scanimage >output 2>&1
[sanei_debug] Setting debug level of pixma to 21.
[pixma] pixma is compiled without pthread support.
[pixma] pixma version 0.17.0
[pixma] pixma_collect_devices() found Canon imageCLASS MF4410 at
libusb:002:004
[pixma] sanei_bjnp_find_devices:
[pixma] No devices specified in configuration file.
[pixma] Added all configured scanners, now do auto detection...
[pixma] lo is not a valid IPv4 interface, skipping...
[pixma] eth0 is IPv4 capable, sending broadcast, socket = 3
[pixma] lo is not a valid IPv6 interface, skipping...
[pixma] eth0 is IPv6 capable, sending broadcast, socket = 4
[pixma] wlan0 is IPv6 capable, sending broadcast, socket = 5
[pixma] scanner discovery finished...
[pixma] pixma_find_scanners() found 1 devices
[pixma] sane_open entry
[pixma] pixma_collect_devices() found Canon imageCLASS MF4410 at
libusb:002:004
[pixma] sanei_bjnp_find_devices:
[pixma] No devices specified in configuration file.
[pixma] Added all configured scanners, now do auto detection...
[pixma] lo is not a valid IPv4 interface, skipping...
[pixma] eth0 is IPv4 capable, sending broadcast, socket = 6
[pixma] lo is not a valid IPv6 interface, skipping...
[pixma] eth0 is IPv6 capable, sending broadcast, socket = 7
[pixma] wlan0 is IPv6 capable, sending broadcast, socket = 8
[pixma] scanner discovery finished...
[pixma] pixma_open(): Canon imageCLASS MF4410
[pixma] Trying to clear the interrupt buffer...
[pixma]   no packets in buffer
[pixma] Reader task id=26246 (forked)
[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=0x84ed914 source=0
[pixma]   threshold=127 threshold_curve=0
[pixma] iclass_scan entry
[pixma] raw_width = 640
[pixma] pixma_cmd_transaction entry
[pixma] OUT  T=2.729 len=10
[pixma]  00000000:f3 20 00 00 00 00 00 00  0c 00
[pixma]
[pixma] IN   T=2.737 len=14
[pixma]  00000000:06 06 03 01 41 00 03 41  00 03 00 20 d3 81
[pixma]
[pixma] pixma_cmd_transaction exit, error = 14
[pixma] pixma_check_result entry
[pixma] error: len(expected)/header_len mismatch: 14(14)/2
[pixma]   buffer: 0606
[pixma] pixma_check_result exit, error = 0
[pixma] Current status: paper=1 cal=0 lamp=3
[pixma] Current status: paper=1 cal=0 lamp=3
[pixma] pixma_cmd_transaction entry
[pixma] OUT  T=2.745 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]
[pixma] IN   T=2.752 len=2
[pixma]  00000000:06 06
[pixma]
[pixma] pixma_cmd_transaction exit, error = 2
[pixma] pixma_check_result entry
[pixma] error: len(expected)/header_len mismatch: 2(2)/2
[pixma]   buffer: 0606
[pixma] pixma_check_result exit, error = 0
[pixma] pixma_cmd_transaction entry
[pixma] OUT  T=2.760 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]
[pixma] IN   T=2.768 len=2
[pixma]  00000000:06 06
[pixma]
[pixma] pixma_cmd_transaction exit, error = 2
[pixma] pixma_check_result entry
[pixma] error: len(expected)/header_len mismatch: 2(2)/2
[pixma]   buffer: 0606
[pixma] pixma_check_result exit, error = 0
[pixma] iclass_scan step1: 0
[pixma] pixma_cmd_transaction entry
[pixma] OUT  T=2.776 len=10
[pixma]  00000000:db 20 00 00 00 00 00 00  00 00
[pixma]
[pixma] IN   T=2.784 len=2
[pixma]  00000000:14 14
[pixma]
[pixma] pixma_cmd_transaction exit, error = 2
[pixma] pixma_check_result entry
[pixma] error: len(expected)/header_len mismatch: 2(2)/2
[pixma]   buffer: 2020
[pixma] pixma_check_result exit, error = -6
[pixma] iclass_scan start_session: -6
[pixma]   state: 0
[pixma] iclass_scan select_source: -6
[pixma] iclass_scan send_scan_param: -6
[pixma] iclass_scan request_image_block: -6
[pixma] pixma_scan() failed EBUSY
[pixma] Reader task terminated: EBUSY
read_image():reader task closed the pipe:0 bytes received, 1683840 bytes
expected
scanimage: sane_read: Device busy
[pixma] pixma_close(): Canon imageCLASS MF4410
P6
# SANE data follows
640 877
255
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20121006/64b3db4d/attachment.html>


More information about the sane-devel mailing list