(gdb) run -d pixma:04A9262F_00000000F972 --resolution 75 --mode Color --format pnm -x 10 -y 10 -l 10 -t 10 Starting program: /home/wturland/download/sane-backends_cvs/frontend/.libs/scanimage -d pixma:04A9262F_00000000F972 --resolution 75 --mode Color --format pnm -x 10 -y 10 -l 10 -t 10 [Thread debugging using libthread_db enabled] [New Thread 0x2b4ca760c7d0 (LWP 5370)] [sanei_debug] Setting debug level of pixma to 255. [pixma] Could not read pixma configuration file: pixma.conf [pixma] pixma version 0.15.0 [sanei_debug] Setting debug level of sanei_usb to 255. [sanei_usb] sanei_usb_init: marking existing devices [sanei_usb] sanei_usb_init: Looking for kernel scanner devices [sanei_usb] sanei_usb_init: Looking for libusb devices usb_set_debug: Setting debugging level to 255 (on) usb_os_find_busses: Found 002 usb_os_find_busses: Found 001 usb_os_find_devices: Found 009 on 002 usb_os_find_devices: Found 001 on 002 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 024 on 001 usb_os_find_devices: Found 023 on 001 skipped 1 class/vendor specific interface descriptors skipped 1 class/vendor specific interface descriptors usb_os_find_devices: Found 020 on 001 skipped 1 class/vendor specific interface descriptors usb_os_find_devices: Found 004 on 001 usb_os_find_devices: Found 001 on 001 error obtaining child information: Inappropriate ioctl for device error obtaining child information: Inappropriate ioctl for device error obtaining child information: Inappropriate ioctl for device [sanei_usb] sanei_usb_init: device 0x04a9/0x262f, interface 0 doesn't look like a scanner (0/7) [sanei_usb] sanei_usb_init: found libusb device (0x04a9/0x262f) interface 1 at libusb:002:009 [sanei_usb] store_device: add dn 0 with libusb:002:009 [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub [sanei_usb] sanei_usb_init: device 0x059b/0x0277, interface 0 doesn't look like a scanner (0/8) [sanei_usb] sanei_usb_init: device 0x059b/0x0277: no suitable interfaces [sanei_usb] sanei_usb_init: device 0x046e/0x52c5, interface 0 doesn't look like a scanner (0/3) [sanei_usb] sanei_usb_init: device 0x046e/0x52c5, interface 1 doesn't look like a scanner (0/3) [sanei_usb] sanei_usb_init: device 0x046e/0x52c5: no suitable interfaces [sanei_usb] sanei_usb_init: device 0x046d/0xc01e, interface 0 doesn't look like a scanner (0/3) [sanei_usb] sanei_usb_init: device 0x046d/0xc01e: no suitable interfaces [sanei_usb] sanei_usb_init: device 0x0409/0x005a, interface 0 doesn't look like a scanner (9/9) [sanei_usb] sanei_usb_init: device 0x0409/0x005a: no suitable interfaces [sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub [sanei_usb] sanei_usb_init: found 1 devices [sanei_usb] sanei_usb_init: device 00 is libusb:002:009 [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=0x172d [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x172e [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x172f [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1730 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1731 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1732 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1733 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1734 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1706 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1708 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x1707 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x263c [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x263d [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x263e [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2630 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x264d [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x262f [pixma] pixma_collect_devices() found Canon MultiPASS MP730 at libusb:002:009 [sanei_usb] sanei_usb_open: trying to open device `libusb:002:009' USB error: could not set config 1: Device or resource busy [sanei_usb] sanei_usb_open: libusb complained: could not set config 1: 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: 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: 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: 3 transfertype: 2 [sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x03) [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: 4 transfertype: 2 [sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x04) [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: 5 transfertype: 3 [sanei_usb] sanei_usb_open: found interrupt-in endpoint (address 0x05) [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: 128 [sanei_usb] sanei_usb_open: address: 6 transfertype: 2 [sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x06) [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: 1 [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: 0x01), ignoring the new one [sanei_usb] sanei_usb_open: configuration nr: 0 [sanei_usb] sanei_usb_open: interface nr: 3 [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: 8 transfertype: 2 [sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x08) [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: 9 transfertype: 2 [sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x09) [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: 10 transfertype: 3 [sanei_usb] sanei_usb_open: found interrupt-in endpoint (address 0x0a) [sanei_usb] sanei_usb_open: we already have a int-in endpoint (address: 0x85), ignoring the new one [sanei_usb] sanei_usb_open: opened usb device `libusb:002:009' (*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 2F 26 02 11 01 02 .......@../&.... [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 30 00 30 00 30 00 30 00 30 00 30 00 30 00 ..0.0.0.0.0.0.0. [sanei_usb] 010 30 00 46 00 39 00 37 00 32 00 61 00 00 00 00 00 0.F.9.7.2.a..... [sanei_usb] 020 B0 0F 91 03 FF 7F 00 00 56 11 1A A7 ........V... [sanei_usb] sanei_usb_close: closing device 0 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x264c [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x26b5 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x26a3 [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x264e [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x264f [sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2659 [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 [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] sit0 is not a valid IPv4 interface, skipping... [pixma] tun0 is not a valid IPv4 interface, skipping... [pixma] lo is not a valid IPv4 interface, skipping... [pixma] eth0 is IPv4 capable, sending broadcast.. [pixma] tun0 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 not a valid IPv4 interface, skipping... [pixma] sit0 is not a valid IPv4 interface, skipping... [pixma] tun0 is not a valid IPv4 interface, skipping... [pixma] lo is not a valid IPv4 interface, skipping... [pixma] eth0 is IPv4 capable, sending broadcast.. [pixma] tun0 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 not a valid IPv4 interface, skipping... [pixma] sit0 is not a valid IPv4 interface, skipping... [pixma] tun0 is not a valid IPv4 interface, skipping... [pixma] lo is not a valid IPv4 interface, skipping... [pixma] eth0 is IPv4 capable, sending broadcast.. [pixma] tun0 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 not a valid IPv4 interface, skipping... [pixma] sit0 is not a valid IPv4 interface, skipping... [pixma] tun0 is not a valid IPv4 interface, skipping... [pixma] lo is not a valid IPv4 interface, skipping... [pixma] eth0 is IPv4 capable, sending broadcast.. [pixma] tun0 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 not a valid IPv4 interface, skipping... [pixma] sit0 is not a valid IPv4 interface, skipping... [pixma] tun0 is not a valid IPv4 interface, skipping... [pixma] lo is not a valid IPv4 interface, skipping... [pixma] eth0 is IPv4 capable, sending broadcast.. [pixma] tun0 is IPv4 capable, sending broadcast.. [pixma] lo is not a valid IPv4 interface, skipping... [pixma] eth0 is not a valid IPv4 interface, skipping... [pixma] scanner discovery finished... [pixma] pixma_open(): Canon MultiPASS MP730 [sanei_usb] sanei_usb_open: trying to open device `libusb:002:009' USB error: could not set config 1: Device or resource busy [sanei_usb] sanei_usb_open: libusb complained: could not set config 1: 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: 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: 3 transfertype: 2 [sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x03) [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: 4 transfertype: 2 [sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x04) [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: 5 transfertype: 3 [sanei_usb] sanei_usb_open: found interrupt-in endpoint (address 0x05) [sanei_usb] sanei_usb_open: we already have a int-in endpoint (address: 0x85), 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: 128 [sanei_usb] sanei_usb_open: address: 6 transfertype: 2 [sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x06) [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: 1 [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: 0x01), ignoring the new one [sanei_usb] sanei_usb_open: configuration nr: 0 [sanei_usb] sanei_usb_open: interface nr: 3 [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: 8 transfertype: 2 [sanei_usb] sanei_usb_open: found bulk-out endpoint (address 0x08) [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: 9 transfertype: 2 [sanei_usb] sanei_usb_open: found bulk-in endpoint (address 0x09) [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: 10 transfertype: 3 [sanei_usb] sanei_usb_open: found interrupt-in endpoint (address 0x0a) [sanei_usb] sanei_usb_open: we already have a int-in endpoint (address: 0x85), ignoring the new one [sanei_usb] sanei_usb_open: opened usb device `libusb:002:009' (*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: read failed: Resource temporarily unavailable [pixma] no packets in buffer [New Thread 0x40800950 (LWP 5377)] [pixma] Reader task started [pixma] [pixma] pixma_scan(): start [pixma] line_size=96 image_size=2784 channels=3 depth=8 [pixma] dpi=75x75 offset=(30,30) dimension=29x29 [pixma] gamma_table=0x61d110 source=0 [sanei_usb] sanei_usb_read_int: trying to read 16 bytes [pixma] Reader task id=1082132816 (threaded) P6 # SANE data follows 29 29 255 [sanei_usb] sanei_usb_read_int: read failed: Resource temporarily unavailable [pixma] raw_width = 32 [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 .... USB error: error submitting URB: Device or resource busy [sanei_usb] sanei_usb_write_bulk: write failed: Device or resource busy USB error: could not clear/halt ep 1: Device or resource busy [pixma] WARNING:pixma_write(): count(0) != len(20) [pixma] OUT T=1.308 len=-1 [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] ERROR: EIO [pixma] [pixma] pixma_scan() failed EIO [pixma] read_image():reader task closed the pipe:0 bytes received, 2784 bytes expected [pixma] Reader task terminated: EIO [Thread 0x40800950 (LWP 5377) exited] scanimage: sane_read: Error during device I/O [pixma] pixma_close(): Canon MultiPASS MP730 [sanei_usb] sanei_usb_close: closing device 0 Program exited with code 011.