[Bug 819511] New: Scanner not working after laptop change and update from openSUSE 12.1 to 12.3
https://bugzilla.novell.com/show_bug.cgi?id=819511 https://bugzilla.novell.com/show_bug.cgi?id=819511#c0 Summary: Scanner not working after laptop change and update from openSUSE 12.1 to 12.3 Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: thorsten@tws-home.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 It is not possible to use my USB scanner anymore. I have a Lenovo N581 laptop and tried all USB 2.0 and USB 3.0 ports with different USB cables. I also put the device on the laptop-mode blacklist so, that no powersave mode is used for the scanner. In YaST2 I tried to setup the scanner. The detection sais that plustek does not recognize a scanner, but actually it always detected my scanner in previous openSUSE versions. The second detected entry is the driver "not configured" which shows my scanner. I can the configure it and it sais that the plustek driver is configured for usage. But in the end no scanning is possible with any scan program. Reproducible: Always Steps to Reproduce: 1. Plug USB Canon CanoScanLiDE 20 to the laptop 2. Configure scanner using YaST 3. Start scanimage, xsane or any other scan program Actual Results: Every tool says that there is no scanner Expected Results: Scanning should work as before. Every information was collected as root uname -a ========= Linux tuvok.tws-home.de 3.7.10-1.4-desktop #1 SMP PREEMPT Fri Apr 19 12:06:34 UTC 2013 (8ef74f8) x86_64 x86_64 x86_64 GNU/Linux lsusb ===== Bus 001 Device 005: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 003 Device 019: ID 04a9:220d Canon, Inc. CanoScan N670U/N676U/LiDE 20 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 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 001 Device 006: ID 046d:c526 Logitech, Inc. Nano Receiver Bus 001 Device 007: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller Bus 002 Device 003: ID 04f2:b2e2 Chicony Electronics Co., Ltd hwinfo --scanner ================ 19: USB 00.0: 10c00 Scanner [Created at usb.122] Unique ID: CiZ2.7cEn5TM7z0A Parent ID: uIhY.2DFUsyrieMD SysFS ID: /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0 SysFS BusID: 3-3:1.0 Hardware Class: scanner Model: "Canon CanoScan N670U/N676U/LiDE 20" Hotplug: USB Vendor: usb 0x04a9 "Canon" Device: usb 0x220d "CanoScan N670U/N676U/LiDE 20" Revision: "1.00" Speed: 12 Mbps Module Alias: "usb:v04A9p220Dd0100dcFFdsc00dpFFicFFisc00ipFFin00" Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #18 (Hub) sane-find-scanner ================= # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first make sure your # scanner is powered up and properly connected to your computer. # No SCSI scanners found. If you expected something different, make sure that # you have loaded a kernel SCSI driver for your SCSI adapter. found USB scanner (vendor=0x04a9 [Canon], product=0x220d [CanoScan]) at libusb:003:019 found USB scanner (vendor=0x0bda [Generic], product=0x0129 [USB2.0-CRW]) at libusb:001:007 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Not checking for parallel port scanners. # Most Scanners connected to the parallel port or other proprietary ports # can't be detected by this program. scanimage -L (called for the fist time after connecting the scanner) ==================================================================== device `plustek:libusb:003:020' is a Canon CanoScan N670U/N676U/LiDE20 flatbed scanner (then if takes about 2 minutes until the program returns to the command line) scanimage -L (called for the second+ time after connecting the scanner) ======================================================================= (it takes about 40 seconds until an output is written to the console) No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). /var/log/messages ================= 2013-05-11T20:03:43.285338+02:00 tuvok kernel: [158418.735384] usb 3-2: USB disconnect, device number 21 2013-05-11T20:03:46.298343+02:00 tuvok kernel: [158421.741961] usb 3-2: new full-speed USB device number 22 using xhci_hcd 2013-05-11T20:03:46.310346+02:00 tuvok kernel: [158421.754069] usb 3-2: New USB device found, idVendor=04a9, idProduct=220d 2013-05-11T20:03:46.310363+02:00 tuvok kernel: [158421.754073] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 2013-05-11T20:03:46.310365+02:00 tuvok kernel: [158421.754076] usb 3-2: Product: CanoScan 2013-05-11T20:03:46.310366+02:00 tuvok kernel: [158421.754078] usb 3-2: Manufacturer: Canon 2013-05-11T20:03:46.372186+02:00 tuvok laptop-mode: Laptop mode 2013-05-11T20:03:46.373634+02:00 tuvok laptop-mode: enabled, not active 2013-05-11T20:03:46.396935+02:00 tuvok laptop-mode: Laptop mode 2013-05-11T20:03:46.398593+02:00 tuvok laptop-mode: enabled, not active Is there anything that I can add to this list? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819511 https://bugzilla.novell.com/show_bug.cgi?id=819511#c FeiXiang Zhang <fxzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |jsmeix@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819511 https://bugzilla.novell.com/show_bug.cgi?id=819511#c1 Thorsten W. Schmidt <thorsten@tws-home.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thorsten@tws-home.de --- Comment #1 from Thorsten W. Schmidt <thorsten@tws-home.de> 2013-05-13 19:11:08 UTC --- I want to add additional information: openSUSE 12.1 does not run very good on the Lenovo N581 notebook (problems with the grafics card). Nevertheless I tried to use the scanner on openSUSE 12.1 with the same results as openSUSE 12.3. So the problem is not the version of openSUSE but the notebook itself. So I would like to change the bug summary to "Scanner not working on Lenovo N581" Another new information I have is this: 1. Plug in the USB scanner 2. Start 'scanimage -vvvvvv -x 100 -y 100 > out.pnm This gives the error output:
scanimage: value for --x is: 100 scanimage: value for --y is: 100 scanimage: sane_start: Error during device I/O Closing device Calling sane_exit scanimage: finished
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819511 https://bugzilla.novell.com/show_bug.cgi?id=819511#c2 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Found By|--- |Community User InfoProvider| |thorsten@tws-home.de Summary|Scanner not working after |Scanner not working on |laptop change and update |Lenovo N581 laptop (neither |from openSUSE 12.1 to 12.3 |with openSUSE 12.1 nor with | |12.3) --- Comment #2 from Johannes Meixner <jsmeix@suse.com> 2013-05-14 09:42:24 CEST --- I don't think we can really help here. Nevertheless please provide debug-messages of the various layers in SANE as described at "Trouble-Shooting (Debugging)" in http://en.opensuse.org/SDB:Configuring_Scanners Perhaps something of interest shows up in those debug-messages. Only a guess: Perhaps this is related to the switch in SANE from the old (and outdated) libusb-0.1 to the current libusb-1.0, see bnc#778643 and https://bugzilla.novell.com/show_bug.cgi?id=788749#c5 You wrote: "I tried to use the scanner on openSUSE 12.1 with the same results as openSUSE 12.3". If you used on openSUSE 12.1 the sane-backends RPM from the original openSUSE 12.1 project and not a newer version (e.g. from the "graphics" project in the openSUSE build service), you used the old libusb-0.1 in openSUSE 12.1. If you like to verify if libusb-0.1 versus libusb-1.0 makes a difference, try out if it works with the sane-backends RPM from the openSUSE 12.1 project which you can download for your x86-64 hardware architecture from http://download.opensuse.org/update/12.1/x86_64/ Verify that "rpm -q --changelog sane-backends" does not show the entry ----------------------------------------------------------------------- - Configure --enable-libusb_1_0 plus BuildRequires libusb-1_0-devel to use libusb1 (instead of using libusb0 via libusb-compat), see https://bugzilla.novell.com/show_bug.cgi?id=559697#c7 for the libusb versioning numbering. ----------------------------------------------------------------------- because this entry means the switch to the current libusb-1.0. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819511 https://bugzilla.novell.com/show_bug.cgi?id=819511#c3 --- Comment #3 from Thorsten W. Schmidt <thorsten@tws-home.de> 2013-05-14 19:22:48 UTC --- Created an attachment (id=539203) --> (http://bugzilla.novell.com/attachment.cgi?id=539203) Debug Output -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819511 https://bugzilla.novell.com/show_bug.cgi?id=819511#c4 Thorsten W. Schmidt <thorsten@tws-home.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|thorsten@tws-home.de | --- Comment #4 from Thorsten W. Schmidt <thorsten@tws-home.de> 2013-05-14 19:28:20 UTC --- I built the latest git version (1.0.24, from 20130514) with libusb 0.1 and disabled libusb 1.0. ldd showed that the lib libusb-0.1.so.4 => /usr/lib64/libusb-0.1.so.4 is being used. It did not change anything. I get this thorsten@tuvok:/sys/bus/usb/devices/3-2> dir insgesamt 0 drwxr-xr-x 6 root root 0 14. Mai 20:48 3-2:1.0 -rw-r--r-- 1 root root 4096 14. Mai 20:48 authorized -rw-r--r-- 1 root root 4096 14. Mai 20:48 avoid_reset_quirk -r--r--r-- 1 root root 4096 14. Mai 20:48 bcdDevice -rw-r--r-- 1 root root 4096 14. Mai 20:48 bConfigurationValue -r--r--r-- 1 root root 4096 14. Mai 20:48 bDeviceClass -r--r--r-- 1 root root 4096 14. Mai 20:48 bDeviceProtocol -r--r--r-- 1 root root 4096 14. Mai 20:48 bDeviceSubClass -r--r--r-- 1 root root 4096 14. Mai 20:48 bmAttributes -r--r--r-- 1 root root 4096 14. Mai 20:48 bMaxPacketSize0 -r--r--r-- 1 root root 4096 14. Mai 20:48 bMaxPower -r--r--r-- 1 root root 4096 14. Mai 20:48 bNumConfigurations -r--r--r-- 1 root root 4096 14. Mai 20:48 bNumInterfaces -r--r--r-- 1 root root 4096 14. Mai 20:48 busnum -r--r--r-- 1 root root 4096 14. Mai 20:48 configuration -r--r--r-- 1 root root 65553 14. Mai 20:48 descriptors -r--r--r-- 1 root root 4096 14. Mai 20:48 dev -r--r--r-- 1 root root 4096 14. Mai 20:48 devnum -r--r--r-- 1 root root 4096 14. Mai 20:48 devpath lrwxrwxrwx 1 root root 0 14. Mai 20:48 driver -> ../../../../../bus/usb/drivers/usb drwxr-xr-x 3 root root 0 14. Mai 20:48 ep_00 -r--r--r-- 1 root root 4096 14. Mai 20:48 idProduct -r--r--r-- 1 root root 4096 14. Mai 20:48 idVendor -r--r--r-- 1 root root 4096 14. Mai 20:48 ltm_capable -r--r--r-- 1 root root 4096 14. Mai 20:48 manufacturer -r--r--r-- 1 root root 4096 14. Mai 20:48 maxchild drwxr-xr-x 2 root root 0 14. Mai 20:48 power -r--r--r-- 1 root root 4096 14. Mai 20:48 product -r--r--r-- 1 root root 4096 14. Mai 20:48 quirks -r--r--r-- 1 root root 4096 14. Mai 20:48 removable --w------- 1 root root 4096 14. Mai 20:48 remove -r--r--r-- 1 root root 4096 14. Mai 20:48 speed lrwxrwxrwx 1 root root 0 14. Mai 20:48 subsystem -> ../../../../../bus/usb -rw-r--r-- 1 root root 4096 14. Mai 20:48 uevent -r--r--r-- 1 root root 4096 14. Mai 20:48 urbnum -r--r--r-- 1 root root 4096 14. Mai 20:48 version and this thorsten@tuvok:/dev/bus/usb/003> dir 008 crw-rw-r--+ 1 root lp 189, 263 14. Mai 20:48 008 So the device is being detected and udev sets the correct permission (group lp) for the scanner. The debug output for "export SANE_DEBUG_DLL=4 export SANE_DEBUG_backend=128 export SANE_DEBUG_SANEI_USB=128 scanimage -d plustek -v >/dev/null" is attached as attachment "Debug Output". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819511 https://bugzilla.novell.com/show_bug.cgi?id=819511#c5 Thorsten W. Schmidt <thorsten@tws-home.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #539203|0 |1 is obsolete| | --- Comment #5 from Thorsten W. Schmidt <thorsten@tws-home.de> 2013-05-14 19:29:19 UTC --- (From update of attachment 539203) wrong file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819511 https://bugzilla.novell.com/show_bug.cgi?id=819511#c6 --- Comment #6 from Thorsten W. Schmidt <thorsten@tws-home.de> 2013-05-14 19:30:31 UTC --- Created an attachment (id=539206) --> (http://bugzilla.novell.com/attachment.cgi?id=539206) Debug Output -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819511 https://bugzilla.novell.com/show_bug.cgi?id=819511#c7 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #7 from Johannes Meixner <jsmeix@suse.com> 2013-05-16 11:13:31 CEST --- FYI: In comment#4 you wrote "export SANE_DEBUG_backend=128". That does not work. You have to replace "backend" by your actual backend and you have to read your your actual backend's man page what the right value for your actual backend is, see "Trouble-Shooting (Debugging)" at http://en.opensuse.org/SDB:Configuring_Scanners In your Debug Output attachment #539206 there is -------------------------------------------------------------------------------- libusb: 0.000000 warning [do_sync_bulk_transfer] unrecognised status code 1 [sanei_usb] sanei_usb_write_bulk: write failed: Numerical result out of range libusb: 0.000121 error [op_clear_halt] clear_halt failed error -1 errno 71 -------------------------------------------------------------------------------- I know the "Numerical result out of range" from our bnc#735424 but there it was "sanei_usb_open: libusb complained: Numerical result out of range" For me on my workstations with my scanners it works. In particular it works for my Canon N1240U/LiDE30 USB scanner that also uses the "plustek" backend in SANE. But we (i.e. openSUSE) do not have your computer (Lenovo N581) so that we cannot reproduce it. Either it is an issue in the lower level USB layers (libusb or kernel or even your particular USB hardware) or it is caused how sane-backends uses the libusb functions (and then it would be a SANE upstream bug). To find out whether or not it is caused how sane-backends uses the libusb functions I suggest that you report your issue directly to SANE upstream, see http://www.sane-project.org/ in particular http://www.sane-project.org/mailing-lists.html and provide them your debug-messages. It is crucial that you get in direct contact with SANE upstream so that there is a direct communication between you and the upstream authors. For now I close the issue as "worksforme". If it is a SANE upstream bug, I would close it as "upstream". If it is an issue in your USB hardware, it would be "invalid". If it is an issue in libusb/kernel we can reopen it for further analysis. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819511 https://bugzilla.novell.com/show_bug.cgi?id=819511#c8 --- Comment #8 from Johannes Meixner <jsmeix@suse.com> 2013-06-04 09:21:57 CEST --- Many thanks for your issue report on sane-devel@lists.alioth.debian.org with subject "Scanner not working on Lenovo N581 laptop" http://lists.alioth.debian.org/pipermail/sane-devel/2013-June/031321.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com