
Read from the interrupt endpoint with 100ms timeout until it has no data remaining and times out (to clear the buffers).The flow that my scanner's backend (pixma) does is something like this: I was able to get scanning working for my MP495, and have a partial understanding of what the cause is. I didn't test with removal of the piece of code in sane backends you mention because it is already in sane-backends 1.0.27, and 1.0.27 works fine. SANE_DEBUG_PLUSTEK=100 LIBUSB_DEBUG=4 SANE_USB_WORKAROUND=1 scanimage -T > out.txt 2>&1 Use of SANE_USB_WORKAROUND=1 doesn't change the issue CanoScan LIDE 25īInterfaceClass 255 Vendor Specific Class libusb: debug endpoint 3īus 006 Device 002: ID 04a9:2220 Canon, Inc. libusb: debug pipe 3 on interface 0 matches

libusb: debug converting ep address 0x03 to pipeRef and interface # found the scanner devices, be sure to adjust access permissions as # You may want to run this program as root to find all devices. # Most Scanners connected to the parallel port or other proprietary ports # Not checking for parallel port scanners. Try scanimage -L and read the backend's manpage. # Your USB scanner was (probably) detected. # you have loaded a kernel SCSI driver for your SCSI adapter.įound USB scanner (vendor=0x04f9, product=0x0328 ) at libusb:002:016 If you expected something different, make sure that # scanner is powered up and properly connected to your computer. # result is different from what you expected, first make sure your # sane-find-scanner will now attempt to detect your scanner. Which came with this software (README, FAQ, manpages). If you were expecting something different,Ĭheck that the scanner is plugged in, turned on and detected by the Scanimage (sane-backends) 1.0.32 backend version 1.0.32 Scanimage: sane_read: Error during device I/O Scanimage: min/max graylevel value = 255/0 libusb: error bulk transfer failed (dir = Out): no connection to an IOService (code = 0xe00002c0) libusb: debug pipe 1 on interface 0 matches libusb: debug converting ep address 0x07 to pipeRef and interface libusb: warning ClearPipeStall: no connection to an IOService

libusb: error bulk transfer failed (dir = In): no connection to an IOService (code = 0xe00002c0) libusb: debug pipe 2 on interface 0 matches libusb: debug converting ep address 0x88 to pipeRef and interface
