USB barcode scanner (emulating keyboard) crashes with current kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Fix Released
|
Medium
|
|||
linux (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Hi,
I just experienced a problem that seems to be related to the kernel's HID driver.
I have a USB barcode reader that I sometimes use to read the ISBN of books of my library. That barcode reader emulates a keyboard. If you scan a barcode, it just appears as if you had entered the encoded number on a keyboard, so it does not require a special driver.
I used that scanner last spring (not sure whether this was ubuntu 08.04 or 08.10) for the last time, where it worked pretty well. Now I tried to use it again (checked with two ubuntu machines) but it does not work anymore. When plugging in, the LEDs are lit, but the beeper gives an unusual sound. When trying to scan, it scans once, but nothing appears on the console, and then the scanner is dead (until pulling it from USB to cut it from power supply).
The scanner itself is ok, it still works under windows on the same machine, although it requires a reset to factory defaults after having it tried with Linux.
I guess that the current kernel tries to perform some configuration or any other special things with USB keyboards, that is not compatible with the 'keyboard type' USB scanner.
dmesg when plugging it in:
[34828.208582] usb 6-3: new low speed USB device using ohci_hcd and address 7
[34828.374898] usb 6-3: configuration #1 chosen from 1 choice
lsusb:
Bus 006 Device 007: ID 1130:0001 Tenx Technology, Inc.
Probably it is the bug described under
https:/
regards
affects: | ubuntu → linux (Ubuntu) |
description: | updated |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in linux: | |
status: | Unknown → Confirmed |
Changed in linux: | |
status: | Confirmed → Fix Released |
Changed in linux: | |
importance: | Unknown → Medium |
With google I found a hint on a mailing list archive that suggests that the scanner's USB id erroneously was put on a HID kernel driver's ignore list, beginning with 2.6.28. Maybe the bug is solved with newer kernels and with 9.10.