[Bug 1005673] New: Canon CanoScan LiDE 700F I/O error
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
Bug ID: 1005673
Summary: Canon CanoScan LiDE 700F I/O error
Classification: openSUSE
Product: openSUSE Distribution
Version: Leap 42.2
Hardware: x86-64
OS: Other
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Other
Assignee: bnc-team-screening@forge.provo.novell.com
Reporter: suse.junky@t-online.de
QA Contact: qa-bugs@suse.de
Found By: ---
Blocker: ---
With openSUSE 42.2 RC1 my scanner (Canon CanoScan LiDE 700F) does not work any
more (but it works flawless attached to the same machine under openSUSE 42.1).
In openSUSE 42.2 RC1 the scanner is detected as follows:
- lsusb
Bus 003 Device 003: ID 04a9:1907 Canon, Inc. CanoScan LiDE 700F
- Yast2 -> Hardware -> Scanner
genesys Canon LiDE 700F an genesys:libusb:003:003
- scanimage -L
device `genesys:libusb:003:003' is a Canon LiDE 700F flatbed scanner
- sane-find-scanner -v -v
(with SANE_DEBUG_GENESYS=255 and SANE_DEBUG_GENESYS_GLxxx=255)
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c1
Dominique Leuenberger
S | Name | Typ | Version | Architektur | Repository --+--------------------------+---------+--------------------+-------------+------------------------------- i | hplip-sane | package | 3.16.8-139.1 | x86_64 | openSUSE 42.1 Printing
That's not the default version from 42.1 - so the main question for now would be if we REALLY see a regression between 42.1 and 42.2 or if you fixed this in 42.1 already by adding this package. Can you attempt to build this version for 42.2 as well and test if it would solve your issue? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c2
Dominique Leuenberger
That's not the default version from 42.1 - so the main question for now would be if we REALLY see a regression between 42.1 and 42.2 or if you fixed this in 42.1 already by adding this package.
Can you attempt to build this version for 42.2 as well and test if it would solve your issue?
Ups - I just see you have a Canon Scanner - so hplip should not ever make a difference there -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c3
ray herman
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c4
--- Comment #4 from Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c5
Bit Juggler
USB scanner I/O errors are usually related to lower level USB stuff i.e. libusb or kernel.
Currently there are issues with USB3 i.e. when the xhci kernel module is used for the USB bus where the scanner is connected to, check 'lsusb -t'
lsusb -t /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M |__ Port 3: Dev 2, If 0, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 3: Dev 2, If 1, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 3: Dev 2, If 2, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 3: Dev 2, If 3, Class=Application Specific Interface, Driver=, 12M => |__ Port 4: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 480M |__ Port 9: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M |__ Port 9: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 12M |__ Port 9: Dev 4, If 2, Class=Human Interface Device, Driver=usbhid, 12M |__ Port 10: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 12M |__ Port 10: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 12M
# lsusb -v -s 1:3 Bus 001 Device 003: ID 04a9:1907 Canon, Inc. CanoScan LiDE 700F Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 255 Vendor Specific Subclass bDeviceProtocol 255 Vendor Specific Protocol bMaxPacketSize0 64 idVendor 0x04a9 Canon, Inc. idProduct 0x1907 CanoScan LiDE 700F bcdDevice 6.03 iManufacturer 1 Canon iProduct 2 CanoScan iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 8 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 255 Vendor Specific Subclass bDeviceProtocol 255 Vendor Specific Protocol bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0000 (Bus Powered) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c6
--- Comment #6 from Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c7
--- Comment #7 from Bit Juggler
lsusb Bus 008 Device 004: ID 04f2:b033 Chicony Electronics Co., Ltd Bus 008 Device 002: ID 04a9:1907 Canon, Inc. CanoScan LiDE 700F Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 002: ID 24ae:2001 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 003: ID 08ff:1600 AuthenTec, Inc. AES1600 Bus 003 Device 002: ID 0b05:1751 ASUSTek Computer, Inc. BT-253 Bluetooth Adapter Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
lsusb -t /: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=, 480M |__ Port 5: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 5: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M /: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M |__ Port 1: Dev 2, If 0, Class=Wireless, Driver=btusb, 12M |__ Port 1: Dev 2, If 1, Class=Wireless, Driver=btusb, 12M |__ Port 1: Dev 2, If 2, Class=Vendor Specific Class, Driver=, 12M |__ Port 1: Dev 2, If 3, Class=Application Specific Interface, Driver=, 12M |__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
Here no "xhci_hcd" is used but "ehci-pci". Looking at the logfile produced by scanimage --clear-calibration --preview --mode Color 1>calibrate.pnm 2>calibrate.log one can see that many interactions with the scanner work (on both machines!) until [genesys] genesys_flatbed_calibration: led calibration failed: Error during device I/O [genesys] genesys_start_scan: failed to do scanner calibration: Error during device I/O so it is hard to belief that the problem is related to USB. Nevertheless i will try sane-backends 1.0.25 from http://download.opensuse.org/repositories/graphics/openSUSE_Leap_42.2/ to see whether that cures the problem. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c8
--- Comment #8 from ray herman
Leap contains sane-backends version 1.0.24.
Tumbleweed/Factory and the OBS "graphics" project contain sane-backends 1.0.25.
Try out if sane-backends 1.0.25 works for your particular case.
See "RPM package
I have two identical Lenovo Yoga 3 Pro laptops. One running Tumleweed where the Canon Lide110 USB scanner works, and this one running Leap-42.2-RC1 where scanning attempts with “Aquire Images”, Skanlite”, “Simple Scan” and “XSane” all fail with "Error during device I/O". This machine runs the Tumbleweed kernel (plus the Packman Broadcom wireless kernel module packages). I have also installed Vsane-ackends” and “libusb” packages from Tumbleweed. As I reported before this did not fix the "Error during device I/O". __________________________________________________ ysman@toyb:~> cat /etc/os-release NAME="openSUSE Leap" VERSION="42.2" ID=opensuse ID_LIKE="suse" VERSION_ID="42.2" PRETTY_NAME="openSUSE Leap 42.2" ... sysman@toyb:~> uname -a Linux toyb.eng-int.net 4.7.6-1-default #1 SMP PREEMPT Fri Sep 30 12:22:14 UTC 2016 (fb37fcc) x86_64 x86_64 x86_64 GNU/Linux sysman@toyb:~> rpm -qa sane-backends sane-backends-1.0.25-2.5.x86_64 sysman@toyb:~> rpm -qa libusb* libusb-0_1-4-0.1.13-36.6.x86_64 libusbmuxd4-1.0.10-4.2.x86_64 libusb-1_0-0-1.0.20-3.4.x86_64 sysman@toyb:~> scanimage -L device `genesys:libusb:001:011' is a Canon LiDE 110 flatbed scanner sysman@toyb:~> lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 006: ID 048d:8386 Integrated Technology Express, Inc. Bus 001 Device 005: ID 5986:0535 Acer, Inc Bus 001 Device 003: ID 0489:e07a Foxconn / Hon Hai Bus 001 Device 011: ID 04a9:1909 Canon, Inc. CanoScan LiDE 110 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub sysman@toyb:~> lsusb -t /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/11p, 480M |__ Port 1: Dev 11, If 0, Class=Vendor Specific Class, Driver=, 480M |__ Port 4: Dev 3, If 0, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 4: Dev 3, If 1, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 4: Dev 3, If 2, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 4: Dev 3, If 3, Class=Application Specific Interface, Driver=, 12M |__ Port 7: Dev 5, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 7: Dev 5, If 1, Class=Video, Driver=uvcvideo, 480M |__ Port 8: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 12M sysman@toyb:~> -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c9
--- Comment #9 from ray herman
so it is hard to belief that the problem is related to USB.
I agree. I have also tried (without success) a forced “libKF5Sane5-16.08.2-1.1” from Tumbleweed. But to do that properly (resolving all dependencies) would mean changing Mesa, KDE PIM, Akonadi and a lot of QT5 libraries, which would not leave much resembling Leap-42.2-RC1. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c10
--- Comment #10 from ray herman
(In reply to Bit Juggler from comment #7)
so it is hard to belief that the problem is related to USB.
P.S. The use of sane-backends-autoconfig-1.0.24-4.39.x86_64 sane-backends-1.0.24-4.39.x86_64 from 42.2-RC1 with Tumbleweed does not prevent successful scanning with the Lide 110 and Skanlite. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c11
--- Comment #11 from ray herman
P.P.S. The use in Tumbleweed of libKF5Sane5-16.08.1-1.1.x86_64 from 42.2-RC1 gives prevents scanning. ____________________________________ rayh@y3:~> rpm -qa libKF5Sane5 libKF5Sane5-16.08.1-1.1.x86_64 rayh@y3:~> scanimage -L 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). rayh@y3:~> lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 048d:8386 Integrated Technology Express, Inc. Bus 001 Device 003: ID 1bcf:2c43 Sunplus Innovation Technology Inc. Bus 001 Device 002: ID 0489:e07a Foxconn / Hon Hai Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub rayh@y3:~> lsusb -t /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/11p, 480M |__ Port 4: Dev 2, If 0, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 4: Dev 2, If 1, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 4: Dev 2, If 2, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 4: Dev 2, If 3, Class=Application Specific Interface, Driver=, 12M |__ Port 7: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 7: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M |__ Port 8: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M rayh@y3:~> ___________________________________________ And reverting to libKf5Sane from Tumbleweed while retaining 42.2-RC1 sane-backends: ____________________________________________ rayh@y3:~> rpm -qa libKF5Sane5 libKF5Sane5-16.08.2-1.1.x86_64 rayh@y3:~> scanimage -L device `genesys:libusb:001:008' is a Canon LiDE 110 flatbed scanner rayh@y3:~> lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 048d:8386 Integrated Technology Express, Inc. Bus 001 Device 003: ID 1bcf:2c43 Sunplus Innovation Technology Inc. Bus 001 Device 002: ID 0489:e07a Foxconn / Hon Hai Bus 001 Device 008: ID 04a9:1909 Canon, Inc. CanoScan LiDE 110 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub rayh@y3:~> lsusb -t /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/11p, 480M |__ Port 1: Dev 8, If 0, Class=Vendor Specific Class, Driver=, 480M |__ Port 4: Dev 2, If 0, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 4: Dev 2, If 1, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 4: Dev 2, If 2, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 4: Dev 2, If 3, Class=Application Specific Interface, Driver=, 12M |__ Port 7: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 7: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M |__ Port 8: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M rayh@y3:~> _________________________________________ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c12
--- Comment #12 from Bit Juggler
Try out if sane-backends 1.0.25 works for your particular case.
sane-backends 1.0.25 from http://download.opensuse.org/repositories/graphics/openSUSE_Leap_42.2/ DOES NOT cure the problem! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c13
Dominique Leuenberger
(In reply to ray herman from comment #10)
P.P.S. The use in Tumbleweed of libKF5Sane5-16.08.1-1.1.x86_64 from 42.2-RC1 gives prevents scanning.
Very interesting find! (to some degree surprising, as scanimage does not make use of this lib) Tumbleweed by now should have caught up with KDE Applications 16.08.2 - if this library is indeed the culprit, the issue should now also be visible on an up-to-date Tumbleweed system (starting with snapshot 20161018) Can you confirm this? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c14
--- Comment #14 from Bit Juggler
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c15
--- Comment #15 from Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c16
--- Comment #16 from Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c17
--- Comment #17 from ray herman
(In reply to ray herman from comment #11)
(In reply to ray herman from comment #10)
P.P.S. The use in Tumbleweed of libKF5Sane5-16.08.1-1.1.x86_64 from 42.2-RC1 gives prevents scanning.
Very interesting find! (to some degree surprising, as scanimage does not make use of this lib)
Tumbleweed by now should have caught up with KDE Applications 16.08.2 - if this library is indeed the culprit, the issue should now also be visible on an up-to-date Tumbleweed system (starting with snapshot 20161018)
Can you confirm this?
OK this morning: y3:~ # zypper dup --from Tumbleweed --from Tumbleweed-Update --from Packman-Tumbleweed --from cboltz-kmail-fix ... y3:~ # y3:~ # grep -i cpe /etc/os-release CPE_NAME="cpe:/o:opensuse:tumbleweed:20161019" y3:~ # uname -a Linux y3.xxx.net 4.7.6-1-default #1 SMP PREEMPT Fri Sep 30 12:22:14 UTC 2016 (fb37fcc) x86_64 x86_64 x86_64 GNU/Linux y3:~ # rpm -qa *KF5Sane* libKF5Sane5-16.08.2-1.1.x86_64 y3:~ # rpm -qa sane-back* sane-backends-autoconfig-1.0.25-2.5.x86_64 sane-backends-1.0.25-2.5.x86_64 y3:~ # scanimage -L device `genesys:libusb:001:002' is a Canon LiDE 110 flatbed scanner y3:~ # lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 005: ID 048d:8386 Integrated Technology Express, Inc. Bus 001 Device 004: ID 1bcf:2c43 Sunplus Innovation Technology Inc. Bus 001 Device 003: ID 0489:e07a Foxconn / Hon Hai Bus 001 Device 002: ID 04a9:1909 Canon, Inc. CanoScan LiDE 110 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub y3:~ # lsusb -t /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/11p, 480M |__ Port 2: Dev 2, If 0, Class=Vendor Specific Class, Driver=, 480M |__ Port 4: Dev 3, If 0, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 4: Dev 3, If 1, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 4: Dev 3, If 2, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 4: Dev 3, If 3, Class=Application Specific Interface, Driver=, 12M |__ Port 7: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 7: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M |__ Port 8: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 12M y3:~ # rayh@y3:~> scanimage -L device `genesys:libusb:001:007' is a Canon LiDE 110 flatbed scanner rayh@y3:~> scanimage --mode color -p > ~/tmp/tempimage.png scanimage: sane_start: Error during device I/O rayh@y3:~> So going from Tumbleweed 20161003 to 20161019 breaks scanning although device identification seems correct. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c18
--- Comment #18 from Bit Juggler
I am not at all a USB expert but from my point of view comment#14 indicates the root cause is in libusb (or in whatever lower level stuff that is used by it).
How can i investigate that in more detail? Do i have to report that problem somewhere else (I don't want to put it on the SANE maillinglist if it is an USB problem)? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c20
--- Comment #20 from Bit Juggler
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c21
--- Comment #21 from Bit Juggler
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c22
--- Comment #22 from Bit Juggler
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c23
--- Comment #23 from Bit Juggler
Is there anything interesting in the syslog?
journalctl -x -e
I ran the following test (as "root" immediately after system start):
... >>>
# setup environment for debugging export SANE_DEBUG_GENESYS=255 export SANE_DEBUG_GENESYS_LOW=255 export SANE_DEBUG_GENESYS_GL124=255 export SANE_DEBUG_GENESYS_GL646=255 export SANE_DEBUG_GENESYS_GL841=255 export SANE_DEBUG_GENESYS_GL843=255 export SANE_DEBUG_GENESYS_GL847=255 export SANE_DEBUG_SANEI_USB=128 # get system log before scanning journalctl -x -e >journalctl_output_before_scan.txt # calibrate scanner and do a preview scanimage --clear-calibration --preview --mode Color 1>calibrate.pnm 2>calibrate.log # get system log after scanning journalctl -x -e >journalctl_output_after_scan.txt <<< ... <<< The file calibrate.pnm is empty. No other .pnm files were produced. Find the following files attached: journalctl_output_before_scan.txt calibrate.log journalctl_output_after_scan.txt -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c24
--- Comment #24 from Bit Juggler
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c25
Bit Juggler
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c26
Dominique Leuenberger
I guess i don't wont to know what the consequences of a "major" or even "critical" bug are - will it cause my system to explode?
https://bugzilla.opensuse.org/page.cgi?id=importance_matrix.html The severity levels are documented -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c27
--- Comment #27 from Bit Juggler
From https://bugzilla.opensuse.org/page.cgi?id=importance_matrix.html :
Normal: Regular issue, some loss of functionality under specific circumstances So if a piece of hardware that worked flawless with openSUSE 42.1, 13.2 and probably some versions before gets rendered useless (not just on some occasions but all the time) then you call that "... some loss of functionality under specific circumstances"? Well, as Morpheus said: "Welcome to the desert of the real!" -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c28
Dominique Leuenberger
From https://bugzilla.opensuse.org/page.cgi?id=importance_matrix.html :
Normal: Regular issue, some loss of functionality under specific circumstances
In this case one can debate normal vs major - but there are 'certain circumstances' applicable: I tested with HP scanners for example without issues. So what IS (I am not even trying to claim otherwise) might be seen different when looking at the product in total - still: a fix is certainly something that must be found.
So if a piece of hardware that worked flawless with openSUSE 42.1, 13.2 and probably some versions before gets rendered useless (not just on some occasions but all the time) then you call that "... some loss of functionality under specific circumstances"?
Don't take it in a bad way: there is tremendous work already done by you and ray by testing various combinations - some successful, some with failure. Just the exact missing piece is still missing and will need to be found. Keep on doing as you did: answer the questions Stanislav might come up with and test whatever can be tested. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c29
Stanislav Brabec
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c30
--- Comment #30 from Bit Juggler
Comment 21: The scanning syslog contains only one line. But it is very interesting:
Okt 24 15:28:17 TESTBED kernel: usb 3-4: reset high-speed USB device number 3 using xhci_hcd
It indicates possible kernel problem. (timeout change? I remember similar issues, where certain scanners did not work with certain USB/SCSI drivers. The really faulty was the scanner firmware that was too slow. But most drivers were tolerant to it.)
Just for the sake of completeness: With some other kernels (=> comment #24) the scanner did not work either. The scanner did not work on an old machine without USB3.0 (see comment #7 for more details).
So it seems that LED calibration command causes USB communication to die.
Yes, i can confirm this: Up to know "scanimage --clear-calibration --preview --mode Color 1>calibrate.pnm 2>calibrate.log" always failed at this point.
Comment 14: It looks very strange. Both libusb-1_0 and libusb-compat have exactly the same source in Leap 42.1 and Leap 42.2. There are just two builds from identical sources. Is it reproducible (i. e. break, install files from 42.1, succeed, replace by 42.2 files and break again)?
What i described in Comment 14 gradually turned out as a not very reliable solution. On some occasions the scanner works but most of the time it does not. I could not work out any sort of a pattern yet so i did another very rude test: I downloaded http://download.opensuse.org/distribution/13.1/repo/oss/suse/x86_64/sane-bac... and extracted the two files libsane-genesys.so.1.0.23 and libsane.so.1.0.23 and then copied libsane-genesys.so.1.0.23 to /usr/lib64/sane and changed libsane-genesys.so.1 to point at this file copied libsane.so.1.0.23 to /usr/lib64 and changed libsane.so.1 to point at this file For the last two days the scanner worked fine so far. I have to admit that i'm lost: It looks like both SANE and libusb have something to do with the problem. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c31
--- Comment #31 from Stanislav Brabec
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c32
Oliver Neukum
Thanks. Now it makes more sense.
- libusb was probably false positive.
- The real problem is caused by the scanner firmware or by kernel, but it is probably triggered by the new SANE driver.
It looks like that. The kernel will not reset a scanner on its own initiative. If this is a firmware issue, the best (and possibly only) option is bisecting SANE and finding the command that trips up the scanner's firmware. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c33
--- Comment #33 from Bit Juggler
Is there any difference between USB 2 and USB 3?
All test so far were done with the scanner connected to an USB2.0 port (directly on the motherboard of my machine). So i connected the scanner to an USB3.0 port (directly on the motherboard of my machine). It does not work either. I will attache the logs USB3_calibrate.log USB3_journalctl_output_before_scan.txt USB3_journalctl_output_after_scan.txt One more thing that might be of importance: When i copy libsane-genesys.so.1.0.24 from my openSUSE 42.1 installation to /usr/lib64/sane of my openSUSE 42.2 RC1 installation and change libsane-genesys.so.1 to point at this file and copy libsane.so.1.0.24 from my openSUSE 42.1 installation to /usr/lib64 of my openSUSE 42.2 RC1 installation and change libsane.so.1 to point at this file then the scanner DOES NOT work although it works with those files on my openSUSE 42.1 installation. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c34
--- Comment #34 from Bit Juggler
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c35
--- Comment #35 from Bit Juggler
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c36
--- Comment #36 from Bit Juggler
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c37
--- Comment #37 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c38
--- Comment #38 from Bit Juggler
You can install openSUSE-42.1 kernel onto your 42.2 system and boot it.
My openSUSE 42.1 installation runs with kernel 4.8.4-1.g402d8c1-default from http://download.opensuse.org/repositories/Kernel:/stable/standard/. I tried that kernel with openSUSE 42.2 RC1 already (comment #24). The scanner did not work. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c39
--- Comment #39 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c40
--- Comment #40 from Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c41
--- Comment #41 from Luca Beltrame
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c42
--- Comment #42 from Oliver Neukum
Perhaps a naive question: what would happen if USB autosuspend is disabled for this scanner? I have a scanner that does not play with SANE too well unless I disable autosuspend for it.
Opening a device through libusb resumes the device and prevents further suspends. If autosuspend is to blame, it should fail right away and not at a specific place. If you have a specific scanner that needs autosuspend disabled, please open a separate bug report and assign it to me. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c43
--- Comment #43 from Bit Juggler
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c44
--- Comment #44 from Stanislav Brabec
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c45
--- Comment #45 from Bit Juggler
Could you confirm these findings:
Leap 42.1 works out of the box.
I can't tell Leap 42.1 came with kernel 4.1.12-1.1 (latest update 4.1.34-33.1). I never used those kernels at any time but switched to the kernels from http://download.opensuse.org/repositories/Kernel:/stable/standard/ (current version kernel 4.8.4-1.g402d8c1-default) right from the beginning.
Leap 42.2 does not scan out of the box.
Yes I can confirm this
Leap 42.2 with downgrade of sane from 42.1 works.
No Leap 42.1 comes with sane-backends-1.0.24-3.7 which works with Leap 42.1 BUT NOT with Leap 42.2. Leap 42.2 comes with sane-backends-1.0.24-4.39 which DOES NOT work with Leap 42.2. BUT Leap 42.2 works with sane-backends-1.0.23 which actually came with openSUSE 13.1. So one could say "Leap 42.2 with downgrade of sane from 13.1 works"
Leap 42.2 with downgrade of kernel from 42.1 does not scan.
I can't tell The only tests i did was using Leap 42.2 with its default kernel, with its vanilla kernel and with the latest kernel from http://download.opensuse.org/repositories/Kernel:/stable/standard/ (currently kernel 4.8.4-1.g402d8c1-default). I never tested Leap 42.2 with any of the Leap 42.1 kernels (i.e. 4.1.12 - 4.1.34).
=> This all indicates that bug trigger is inside sane.
That is my impression as well. May be this can be even narrowed down to libsane-genesys. Probably the problem got introduced somewhere on the way from sane-backends-1.0.23 to sane-backends-1.0.24.
Leap 42.1 works, even if you upgrade both kernel and sane from 42.2.
I can't tell I never used the Leap 42.2 kernel (4.4.24-1.1) with Leap 42.1. Nor did i use sane-backends-1.0.24-4.39 from Leap 42.2 with Leap 42.1. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c46
--- Comment #46 from ray herman
Comment 43:
Could you confirm these findings:
Leap 42.1 works out of the box.
I have just performed an update of a stock Leap-42.1 that has a similar scanner attached. Sane does not recognise the scanner. :~> uname -rv 4.1.34-33-default #1 SMP PREEMPT Thu Oct 20 08:03:29 UTC 2016 (fe18aba) :~> rpm -qa libusb-* libusb-1_0-0-1.0.20-1.1.x86_64 libusb-0_1-4-0.1.13-31.1.x86_64 :~> rpm -qa sane-backends* sane-backends-autoconfig-1.0.24-3.7.x86_64 sane-backends-1.0.24-3.7.x86_64 :~> lsusb Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 002: ID 0924:3d59 Xerox Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 003: ID 0461:4d20 Primax Electronics, Ltd HP Optical Mouse Bus 006 Device 002: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 04a9:2220 Canon, Inc. CanoScan LIDE 25 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub :~> scanimage -L No scanners were identified. If you ... Trying to detect the scanner with YaST (ncurses) gives: “Not Configured:Canon CanoScan USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan]) at libusb:001:002” and an attempt to use a Plustek driver. This looks like a regression to [Bug 672059] in openSuSE-11.4!
Leap 42.2 does not scan out of the box.
That was my experience before the lamp on my Canoscan Lide 110 failed.
Leap 42.1 works, even if you upgrade both kernel and sane from 42.2.
Is it real and reproducible?
I will try this out later on the remote 42.1 with a Canoscan Lide 25. I had tried the libsane-genesys.so.1.0.23 from openSUSE-13.1 without success. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c47
Stanislav Brabec
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c48
Bit Juggler
Thanks. So let's stop testing different combinations, and return to a clean 42.2.
Yesterday i already did a new, clean (formatted /- and /home-partition) installation of openSUSE 42.2 RC1. Actually i planned to upgrade this to openSUSE RC2 as soon as that is available (tomorrow?). So i guess i should stay with 42.2 RC1? Please advice me how to proceed best.
It seems that the trigger (but probably not the bug itself) could be caught by bisecting of sane.
I never bisected a library up to now but with you giving advice i should be able to do that.
If you have an old kernel works with a clean 42.2 (with new sane), we can try to bisect kernel.
Sorry, i do have NO kernel for openSUSE 42.2 RC1 that works with version of sane supplied by openSUSE 42.2 RC1 (1.0.24-4.39). I'm not sure whether i understand this correctly: Bisecting the kernel? Why when the problem is in libsane (or even in libsane-genesys)? Which version do you address by "new sane"? The version from the openSUSE 42.2 RC1 OSS repository (1.0.24-4.39) or the version from OBS (1.0.25-116.5)? If sane AND kernel shall be bisected then we are back to several combinations (and i understood you actually wanted to avoid this)?
Do you have enough knowledges to run bisect on your machine? (Basically it means checkout of sane or kernel using git, then compilation of the code (in an optimal case), testing it with scanimage, answering to git bisect. Then git gives you another snapshot of the code and the process repeats until git identifies exact change that breaks it.
If you can do it, I can provide a detailed manual.
As i said: With some support i might be able to handle this.
If you can't we have to generate a library snapshot, wait for your test report, generate a new library snapshot etc.
So this sounds like testing only sane. That's what i would prefer anyway because we already know that sane 1.0.24-4.39 from openSUSE 42.2 RC1 does not work with the openSUSE 42.2 RC1 kernel (4.4.25-4.1) nor with one of the latest kernels from http://download.opensuse.org/repositories/Kernel:/stable/standard/ (4.8.4-1.g402d8c1-default). Please give me further advice on how to proceed best in order to support you. Thank you. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c49
--- Comment #49 from Stanislav Brabec
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c50
--- Comment #50 from Bit Juggler
One of bug ideas was: SANE is only a trigger, real bug is in the kernel. Let's stop to talk about this (at least for now).
Even if SANE is only a bug trigger, the breaking commit could help a lot. And if SANE itself causes the bug, it will be caught as well.
If the tests shall be done with openSUSE 42.2 RC1 then we will need a openSUSE 42.2 RC1 kernel to start the bisect with. There have been only two kernels so far for openSUSE 42.2 RC1 (4.4.24-1.1, 4.4.25-4.1) and none of them did make sane working with my scanner. So what kernel and what sane version shall we start with? Shall we exchange all the information around the testing (i.e. if i need your advice) via bugzilla or shall we communicate via mail directly with each other? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c51
Stanislav Brabec
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c52
--- Comment #52 from ray herman
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c53
--- Comment #53 from ray herman
This machine is now running Leap-42.2-RC2 with one major variation -- kernel-4.7.6 and Broadcom wireless drivers from Tumbleweed and Packman. Attached is a Canoscan LiDE 110 wit non-working lamp.
I rebooted into the 42.2-RC2 kernel and: sysman@toyb:~> uname -vr 4.4.25-4-default #1 SMP Thu Oct 20 08:11:55 UTC 2016 (564b3a2) sysman@toyb:~> lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 048d:8386 Integrated Technology Express, Inc. Bus 001 Device 003: ID 5986:0535 Acer, Inc Bus 001 Device 002: ID 0489:e07a Foxconn / Hon Hai Bus 001 Device 007: ID 04a9:1909 Canon, Inc. CanoScan LiDE 110 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub sysman@toyb:~> scanimage -L device `genesys:libusb:001:007' is a Canon LiDE 110 flatbed scanner sysman@toyb:~> scanimage -T scanimage: sane_start: Invalid argument ___________________ I have repeated this three times with each kernel. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c54
--- Comment #54 from Stanislav Brabec
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c55
--- Comment #55 from Bit Juggler
Here is the SANE bisecting HOWTO:
Thank you very much for your detailed description! Before i started i re-installed openSUSE 42.2 RC1 (actually i did this already last weekend). Yesterday i updated to openSUSE 42.2 RC2 by running "zypper dup". And today i removed all SANE packages via YaST2 to make sure that there is only one version of sane available on my system.
Do it once on start:
git clone git://anonscm.debian.org/git/sane/sane-backends.git cd sane-backends ./configure make -j7 # ~ the number of cores minus 1
I did all this and it worked fine (i.e. i saw no errors).
If you have everything compiler needs, you compiled a head version.
Then you can start to bisect:
git bisect start
# Now copy built libraries to your system and test.
Because i was not sure which files to copy to which location i did
su
# make install # scanimage -V scanimage (sane-backends) 1.0.26git; backend version 1.0.26 # scanimage --clear-calibration --preview --mode Color 1>calibrate.pnm 2>calibrate.log Every thing worked fine. The files binary.pnm, black_average.pnm, black_shading.pnm, calibrate.log, calibrate.pnm, led_00.pnm, led_01.pnm, white_average.pnm and white_shading.pnm were produced and the content of calibrate.pnm looks OK.
git bisect bad # You have HEAD, guessing that this will be bad
It looks like sane-backends 1.0.26git works on my system. So how shall i proceed? Can i say "git bisect good" and then still checkout 1.0.23 (which will probably also result in a "good")? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c56
Stanislav Brabec
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c57
--- Comment #57 from Bit Juggler
I just inspectect "git log backend/genesys*". It is a full of fixes. Several of them have a potential to fix particular models at particular resolution.
Sounds very promising to me!
Technically, there are still ways to bisect, but I am not sure whether it will be useful, because git log indicates that different scanners and different resolutions need different fixes:
At the moment all the sane stuff i compiled and installed is placed in /usr/local. Is it possible that a package sane-backends-1.0.26git.x86_64.rpm that installs in "the normal places" (/usr/lib64) is build and provided at http://download.opensuse.org/repositories/graphics/openSUSE_Leap_42.2 and http://download.opensuse.org/repositories/graphics/openSUSE_Leap_42.1 so i could test it on my two installations? I know there should be no difference but that final test would show that the problem is really solved (and would probably bring some more people to test the new version) . Nevertheless i'm willing to support with more testing if the problem turns up again. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c58
Johannes Meixner
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c59
--- Comment #59 from Bit Juggler
...
In general we (i.e. openSUSE) distribute the "sane-backends" scanner drivers from the SANE project but we do not develop scanner drivers.
So what is sane-backends good for if there is no working scanner driver ?
Usually we do not have all those various kind of scanners for all those various kind of scanner drivers so that usually we cannot do anything when a particular scanner driver does not work. In particular usually we cannot reproduce issues with scanner drivers.
I understand that and thought that this is where i come in !? However, today in order to build SANE_1.0.26_GIT for my personal use i - uninstalled and removed everything i had used for the last tests. - did "git clone git://anonscm.debian.org/git/sane/sane-backends.git" again - did "./configure --prefix=/usr", "make" and "sudo make install" The result was a NOT WORKING SANE_1.0.26_GIT. It fails exactly at the same place where SANE_1.0.24 and SANE_1.0.25 failed before (... [genesys] genesys_flatbed_calibration: led calibration failed: Error during device I/O ...). So what can i do now? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c60
--- Comment #60 from Stanislav Brabec
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c61
--- Comment #61 from Bit Juggler
Very strange!
There were no changes in the genesys code in the last 7 days. Only xerox backend was changes.
There is probably another condition of scan failure. Do you always try the same resolution and mode? The changelog indicates that different resolutions need different fixes.
Probably i did something wrong. My test sequence (i did it several times, always in a console) was like this: - cd ~/sane-backends (go into the directory created via git) - su (become root) - make uninstall - make clean - make distclean - cd .. - rm -r ./sane-backends - exit (leave "root" and become a normal user) - git clone git://anonscm.debian.org/git/sane/sane-backends.git - ./configure (i did separate tests with "./configure --prefix=/usr" as well) - make - su (become root) - make install - ldconfig -v | grep libsane (to see if the libraries are there) - scanimage -V (to see the version number) - scanimage -L (to check whether the scanner is detected or not) - export SANE_DEBUG_GENESYS=255 - export SANE_DEBUG_GENESYS_LOW=255 - export SANE_DEBUG_GENESYS_GL847=255 - export SANE_DEBUG_SANEI_USB=128 - scanimage --clear-calibration --preview --mode Color 1>calibrate.pnm 2>calibrate.log (so it's always color-mode and resolution is not set) - unset SANE_DEBUG_GENESYS=255 - unset SANE_DEBUG_GENESYS_LOW=255 - unset SANE_DEBUG_GENESYS_GL847=255 - unset SANE_DEBUG_SANEI_USB=128 Probably i missed something (e.g. to delete some files which will not be removed by "make uninstall" and i don't know about)? The only thing left which i found was "/usr/local/lib64/pkgconfig/" an empty directory. No files left in "/usr/local/bin" or "/usr/local/etc". In the mean time i have done another "zypper dup" to receive the latest updates for openSuSE 42.2 RC2 and did the above described test again. But SANE still fails. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673
http://bugzilla.opensuse.org/show_bug.cgi?id=1005673#c62
Bit Juggler
participants (1)
-
bugzilla_noreply@novell.com