USB Keyboard Barcode scanner drops chars
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
I'm using a USB barcode reader that mimics a keyboard. Using Windows, the barcode reads correctly but in both Lubuntu 14.04 and Ubuntu 14.04, it drops some repeating chars. It consistently outputs the same value in both.
For example:
Barcode
5034660520825 becomes:
503466052825 (Drops third 0)
Barcode
8714789763620 becomes:
8714976320 (Drops 7,8,6)
Using usbmon, I captured the input and translated the codes in http://
Looking at the output from lsusb, the device is recognised as a USB HID but uses ID 0416:c141 which is described as "Winbond Electronics Corp." which may not be the correct manufacturer.
This has been recreated on both a physical machine and VM.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.2.0-35-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CurrentDesktop: LXDE
Date: Mon May 2 21:23:33 2016
InstallationDate: Installed on 2016-03-15 (48 days ago)
InstallationMedia: Lubuntu 14.04.4 LTS "Trusty Tahr" - Release amd64 (20160217.1)
SourcePackage: linux-lts-wily
UpgradeStatus: No upgrade log present (probably fresh install)
---
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
CurrentDesktop: LXDE
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=
InstallationDate: Installed on 2016-03-15 (80 days ago)
InstallationMedia: Lubuntu 14.04.4 LTS "Trusty Tahr" - Release amd64 (20160217.1)
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions.
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: innotek GmbH VirtualBox
Package: linux (not installed)
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.127.22
RfKill:
Tags: trusty
Uname: Linux 4.2.0-36-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin nopasswdlogin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.board.name: VirtualBox
dmi.board.vendor: Oracle Corporation
dmi.board.version: 1.2
dmi.chassis.type: 1
dmi.chassis.vendor: Oracle Corporation
dmi.modalias: dmi:bvninnotekG
dmi.product.name: VirtualBox
dmi.product.
dmi.sys.vendor: innotek GmbH
---
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
CurrentDesktop: LXDE
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=
InstallationDate: Installed on 2016-03-15 (80 days ago)
InstallationMedia: Lubuntu 14.04.4 LTS "Trusty Tahr" - Release amd64 (20160217.1)
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions.
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 0416:c141 Winbond Electronics Corp.
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: innotek GmbH VirtualBox
Package: linux (not installed)
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.127.22
RfKill:
Tags: trusty
Uname: Linux 4.2.0-36-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin nopasswdlogin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.board.name: VirtualBox
dmi.board.vendor: Oracle Corporation
dmi.board.version: 1.2
dmi.chassis.type: 1
dmi.chassis.vendor: Oracle Corporation
dmi.modalias: dmi:bvninnotekG
dmi.product.name: VirtualBox
dmi.product.
dmi.sys.vendor: innotek GmbH
affects: | freebsd-libs (Ubuntu) → linux (Ubuntu) |
usbmon output:
ffff8800511afc00 1701973571 C Ii:2:003:1 0:8 8 = 00000000 00000000
ffff8800511afc00 1701973589 S Ii:2:003:1 -115:8 8 <
ffff8800511afc00 1701989838 C Ii:2:003:1 0:8 8 = 00002227 20212300
ffff8800511afc00 1701989865 S Ii:2:003:1 -115:8 8 <
ffff8800511afc00 1702005939 C Ii:2:003:1 0:8 8 = 00000000 00000000
ffff8800511afc00 1702005960 S Ii:2:003:1 -115:8 8 <
ffff8800511afc00 1702021908 C Ii:2:003:1 0:8 8 = 00002327 221f2725
ffff8800511afc00 1702021930 S Ii:2:003:1 -115:8 8 <
ffff8800511afc00 1702038782 C Ii:2:003:1 0:8 8 = 00000000 00000000
ffff8800511afc00 1702038816 S Ii:2:003:1 -115:8 8 <
ffff8800511afc00 1702046119 C Ii:2:003:1 0:8 8 = 00001f22 28000000
ffff8800511afc00 1702046172 S Ii:2:003:1 -115:8 8 <
ffff8800511afc00 1702061858 C Ii:2:003:1 0:8 8 = 00000000 00000000
ffff8800511afc00 1702061886 S Ii:2:003:1 -115:8 8 <
222720212300232 7221f27251f2228 00
5 0 3 4 6 6 0 5 2 0 8 2 5 Enter