My Nisuta Laser handheld barcode scanner does not work anymore with leap 15 were in leap 42.2 and opensuse 13.2 it works right.
The read text it not outputed…
1 time of maybe 20 times the output appears.
Can it be a timing problem ot the driver?
What I see is that on leap 15 it use xhci_hcd were on leap 42.2 is use ehci-pci.
lsusb output: Bus 001 Device 007: ID 0e6a:0305 Megawin Technology Co., Ltd
leap 15 dmesg:
258.770798] usb 1-2: new full-speed USB device number 7 using xhci_hcd
259.428821] usb 1-2: New USB device found, idVendor=0e6a, idProduct=0305
259.428829] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
259.428834] usb 1-2: Product: USB Keyboard
259.428838] usb 1-2: Manufacturer: Megawin Technology Inc.
259.445212] input: Megawin Technology Inc. USB Keyboard as /devices/pci0000:00/0000:00:1c.3/0000:19:00.0/usb1/1-2/1-2:1.0/0003:0E6A:0305.0008/input/input23
259.503155] hid-generic 0003:0E6A:0305.0008: input,hidraw2: USB HID v1.10 Keyboard [Megawin Technology Inc. USB Keyboard] on usb-0000:19:00.0-2/input0
leap 42.2 dmesg:
[122264.403971] usb 1-1.5: new full-speed USB device number 7 using ehci-pci
[122265.050246] usb 1-1.5: New USB device found, idVendor=0e6a, idProduct=0305
[122265.050250] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[122265.050251] usb 1-1.5: Product: USB Keyboard
[122265.050252] usb 1-1.5: Manufacturer: Megawin Technology Inc.
[122265.051728] input: Megawin Technology Inc. USB Keyboard as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/0003:0E6A:0305.0008/input/input34
[122265.104128] hid-generic 0003:0E6A:0305.0008: input,hidraw4: USB HID v1.10 Keyboard [Megawin Technology Inc. USB Keyboard] on usb-0000:00:1a.0-1.5/input0
The same is true for a Motorola Symbol LS1203 barcode scanner
lsusb output: Bus 001 Device 011: ID 05e0:1200 Symbol Technologies Bar Code Scanner
leap 15 dmesg:
[28413.246618] usb 1-2: new full-speed USB device number 12 using xhci_hcd
[28413.466029] usb 1-2: New USB device found, idVendor=05e0, idProduct=1200
[28413.466032] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[28413.466034] usb 1-2: Product: Symbol Bar Code Scanner
[28413.466036] usb 1-2: Manufacturer: ᄅSymbol Technologies, Inc, 2002
[28413.466037] usb 1-2: SerialNumber: S/N:7220FD1F31104D4FA9762BA2159BE689 Rev:NBRLEAAEDM:23OCT093
[28413.507425] input: ᄅSymbol Technologies, Inc, 2002 Symbol Bar Code Scanner as /devices/pci0000:00/0000:00:1c.3/0000:19:00.0/usb1/1-2/1-2:1.0/0003:05E0:1200.000D/input/input28
[28413.567146] hid-generic 0003:05E0:1200.000D: input,hidraw2: USB HID v1.10 Keyboard ᄅSymbol Technologies, Inc, 2002 Symbol Bar Code Scanner] on usb-0000:19:00.0-2/input0
So there seems to be a general problem of barcode readers…
Any idea?
What I note from your output, is that the xhxi_hcd driver is in use for your Leap 15 install? Is the Leap 42.3 install running on different hardware (and USB 2.0 ports)?
Further to the the above, have you tried testing behaviour with different USB ports? I was wondering about whether there is sufficient power available for the scanner device from a given port? What might be interesting is to note if there is any kernel output while attempting to scan.
Your are right!
I have used usb3 port on my laptop. Using UBS2 will work a little bit better but the problem persists.
Using OpenSuse 13.2 and others versions of OpenSuse did not have any problems.
And yes you are right demsg gives output if scanning…
It seems that scanner disconnects and connects if I scan and for that it does not give output in case of failure…
On an USB2 port there is about 80% chance that it works…
What has changed in the driver? Is output current more limited as before?
I can’t say why you experience the problem. Is it the same hardware that was running previous versions? Other USB devices plugged in contributing to the total load perhaps? Ordinarily, I’d expect a single USB 3.0 port to be able to deliver a higher (900mA) current vs USB 2.0 (500mA).
Same laptop. same usb ports (normaly was on usb2) and same scanner…
It’s very strange…
My Opensuse 13.2 does not anymore start, kernel was removed in /boot so I cannot test for the moment on old system.
One of this days I have to fix this to do test again on 13.2 but there on it worked right…
What I can do test in win7 I have on same machine tomorrow.
I had problems with xhci and the first USB3 pendrive I bought, perhaps on oS 13.2. The computer would not mount or would take about 30s to mount the pendrive, regardless of using an USB2 or USB3 port. When it would work, I’m not sure it was at USB3 speeds. The workaround at the time was to use ehci -IINM I blacklisted xhci - with USB2 speeds of course. After upgrading to LEAP USB3 works normally.
You may want to try forcing the ehci driver to test, if you didn’t already.
I don’t understand what you mean. You say I should use xhci driver on usb3 port?
On leap 15
Connecting to the ub2 port xhci_hcd is used but does work very bad (from 4-5 scans works 1)
Connecting to the ubs3 port ehci-pci is used does work better but not normal (from 5 scan’s 2-3 works)
On windows it works right nevertheless on usb2 or usb3 port! There is no problem, so it’s a problem of the new usb drivers, because on 13.2 it worked on same machine
Any idea how to trace, debug to inform?
On leap 15
Connecting to the ub2 port xhci_hcd is used but does work very bad (from 4-5 scans works 1)
Connecting to the ubs3 port ehci-pci is used does work better but not normal (from 5 scan’s 2-3 works)
A USB 3.0 host controllwer will requires xhci_hcd support (and can support USB 2.0 ports as well). The EHCI driver was for USB 2.0 host controllers.
On windows it works right nevertheless on usb2 or usb3 port! There is no problem, so it’s a problem of the new usb drivers, because on 13.2 it worked on same machine
Any idea how to trace, debug to inform?
I think submitting comparative dmesg output (between Leap 42.2 and Leap 15) generated when scanning should be sufficient to start with at least. It does look like xhci_hcd is implicated here, based on the evidence you’ve provided so far.
A more pragmatic approach might be to consider purchasing a USB power injector Y-cable that derives power from two adjacent USB ports. I’ve seen such devices available online, and often employed to power USB HDDs for example. Another type that’s available uses an external 5V power supply instead.
I meant the way I found, at the time, to get my USB3 device recognized and working, albeit slower, was to use it with the USB2 driver, ehci. As if I was using it in an older machine, that only had USB2 ports.
I also meant that you may want to try it to rule out a driver problem/incompatibility/regression with your device and see if you can get it working, as I understood this is your goal.