I have a CanoScan LiDE 20 which worked fine unless i got a new notebook with usb 3.0 although the scanner is well recognized. I have been testing with kubuntu 12.04 and kubuntu 13.10. With both the scanner works with the old usb 2.0 notebook and does not with the new one.
The new notebook claims to also have usb 2.0, but it does not matter where i put the scanner in. notebook@acer:~$ lsusb Bus 002 Device 002: ID 8087:8000 Intel Corp. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:8008 Intel Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 011: ID 04a9:220d Canon, Inc. CanoScan N670U/N676U/LiDE 20 Bus 003 Device 002: ID 1bcf:2c55 Sunplus Innovation Technology Inc. Bus 003 Device 003: ID 04ca:300b Lite-On Technology Corp. Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub I used the following commands to get the attached debug output (please see file sanedebug.txt): root@acer:~# export LIBUSB_DEBUG=255 root@acer:~# export SANE_DEBUG_DLL=255 root@acer:~# export SANE_DEBUG_SANEI_USB=255 root@acer:~# export USB_DEBUG=255 root@acer:~# export SANE_DEBUG_PLUSTEK=255 root@acer:~# scanimage -L 2>sanedebug.txt This snippet from the attached debug output shows the occurence of the error: ############# [plustek] MISC I/O after RESET: 0x66, 0x16, 0x91 [sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes [sanei_usb] 000 01 07 00 01 .... libusbx: debug [add_to_flying_list] arm timerfd for timeout in 30000ms (first in line) libusbx: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 4 libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling libusbx: debug [handle_events] poll() 4 fds with timeout in 60000ms libusbx: debug [handle_events] poll() returned 1 libusbx: debug [reap_for_handle] urb type=3 status=-71 transferred=0 libusbx: debug [handle_bulk_completion] handling completion status -71 of bulk urb 1/1 libusbx: debug [handle_bulk_completion] low level error -71 libusbx: debug [disarm_timerfd] libusbx: debug [usbi_handle_transfer_completion] transfer 0xc74d78 has callback 0x7f610b80c7f0 libusbx: debug [sync_transfer_cb] actual_length=0 [sanei_usb] sanei_usb_write_bulk: write failed: Input/output error libusbx: debug [libusb_clear_halt] endpoint 3 libusbx: error [op_clear_halt] clear_halt failed error -1 errno 71 ############# Unfortunately I could not get any information about the error code "-71". ** Attachment added: "debug output" https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1250196/+attachment/3934647/+files/sanedebug.txt -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/1250196 Title: sane plustek backend not working on USB 3 root hub Status in “sane-backends” package in Ubuntu: Confirmed Status in “sane-backends” package in Gentoo Linux: Unknown Bug description: I have a HP Scanject 2100c and a Canoscan LIDE-25 both of which use the Sane plustek backend for comms. My PC only has a USB 3 root hub, when either of these devices are connected, either directly or via an external USB 2 hub, they do not work. In general (although not always), 'scanimage -L' will detect the scanner ok: device `plustek:libusb:001:012' is a Hewlett-Packard Scanjet 2100c flatbed scanner however there is always about a 30s delay before the shell prompt is returned. Scanning always fails however, using the suggested method on the sane HOW-TO page: scanimage -vvv -format pnm >outfile.pnm Calling sane_exit is the usual response. By enabling debug on the plustek backend, the response I normally get results in the following: [plustek] Vendor ID=0x03F0, Product ID=0x0505 [plustek] usbio_DetectLM983x [plustek] * could not read version register! [plustek] open failed: -1 [plustek] sane_get_devices (0x7fff0686dbc8, 0) In an effort to try and diagnose this, I've build the latest SANE backends from scratch and tried out the latest libusb none of which has resolved the issue. My original kernel was a 3.5.x, I pushed it up to 3.8.0-30 this also made no difference. My guess based on what I've seen is that this is related to the USB 3 hub. The HP Scanjet worked ok on my old Linux box (a 2.6.27 kernel with USB 2 hub) and I've had the Canon one working (albeit not that reliably) on a Raspberry Pi with a 3.6.11 kernel. The key difference (aside from this being a 64 bit flavour of Linux) is the USB. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: libsane 1.0.22-7ubuntu1 ProcVersionSignature: Ubuntu 3.8.0-30.44~precise1-generic 3.8.13.6 Uname: Linux 3.8.0-30-generic x86_64 ApportVersion: 2.0.1-0ubuntu17.5 Architecture: amd64 Date: Mon Nov 11 19:41:08 2013 InstallationMedia: Ubuntu-Server 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130214) MarkForUpload: True ProcEnviron: LANGUAGE=en_GB:en TERM=xterm PATH=(custom, no user) LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: sane-backends UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1250196/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

