← Back to team overview

kernel-packages team mailing list archive

[Bug 566914] Re: Bluetooth HID barcode reader drops digits (code128)

 

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: bluez (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/566914

Title:
  Bluetooth HID barcode reader drops digits (code128)

Status in bluez package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: bluez

  I apologize is if this the wrong place or format for the report.  This
  is my first bug report.

  An HID bluetooth barcode reader scanning Code128 barcodes (and
  possibly other symbologies) will drop repeating digits if they are
  less than 8 digits apart.  This does NOT happen if the repeating
  digits are back to back.

  
  Example the number encoded in a code128 barcode then scanned with a bluetooth HID barcode reader:

  -"1234567890" will properly return "1234567890"
  -"10"  will properly return "10"
  -"100" will properly return 100  (the repeating zero's are back to back, so no problem)
  -"1010" will IMPROPERLY return "10"
  -"10101" will IMPROPERLY return "10"
  -"101010" will IMPROPERLY return "10"
  -"1010101" will IMPROPERLY return "10"
  -"10101010" will IMPROPERLY return "100" (yes 100)

  The test system has a USB (Anycom or Trendnet) bluetooth USB dongles
  with an Intermec sf51 bluetooth HID barcode scanner successfully
  paired (as HID profile) to the Ubuntu system.

  Using USBMON in debug I can see the all of the proper digits coming
  across in hex.  There are no dropped digits.  I then used HCIDump and
  again saw all the digits coming across without loss.  Using Showkey
  shows the problem I believe.

  Scanning the barcode "1010" shows this in showkey:

  keycode 2 press
  keycode 11 press
  keycode 2 release
  keycode 11 release

  Keycode 2 is "1" and Keycode 11 is "0".

  More complex numbers better illustrate the problem:

  Scanning the barcode "L003184192" returns "L00318492".  The "1" is
  missing.    This is what appears in showkey (I've added the ASCII
  letter after the "press" or "release" statement from showkey for this
  example text):

  keycode  42 press (shift)
  keycode  38 press  (L)
  keycode  42 release (shift)
  keycode  38 release (L)
  keycode  11 press (0)
  keycode  11 release (0) 
  keycode  11 press (0)
  keycode   4 press  (3)
  keycode   2 press  (1)
  keycode   9 press (8)
  keycode   5 press (4)
  keycode  10 press (10)
  keycode  11 release (0)
  keycode   4 release (3)
  keycode   2 release (1)
  keycode   9 release  (8)
  keycode   5 release (4)
  keycode  10 release  (9)
  keycode   3 press (2)
  keycode   3 release (2)

  What looks to be happening is that the missing "1" key is "pressed" at
  the beginning of the input and is not "released" in time to be
  "pressed" again.

  This bug has existed in Ubuntu in all versions I've tried back to 7.10 (and confirmed in 8.10, 9.04 and 10.2 beta).
  --- 
  Architecture: i386
  DistroRelease: Ubuntu 10.04
  InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
  InterestingModules: rfcomm sco bnep l2cap btusb bluetooth
  MachineType: Dell Computer Corporation Dimension 4550
  Package: bluez 4.60-0ubuntu8 [modified: lib/udev/rules.d/97-bluetooth.rules]
  PackageArchitecture: i386
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-16-generic root=UUID=5e6ab2fa-2a8c-430a-89f3-63ffc056c7f8 ro quiet splash
  ProcEnviron:
   LANG=en_US.utf8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
  Tags: lucid
  Uname: Linux 2.6.32-16-generic i686
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
  dmi.bios.date: 09/23/2003
  dmi.bios.vendor: Dell Computer Corporation
  dmi.bios.version: A08
  dmi.board.vendor: Dell Computer Corp.
  dmi.chassis.type: 6
  dmi.chassis.vendor: Dell Computer Corporation
  dmi.modalias: dmi:bvnDellComputerCorporation:bvrA08:bd09/23/2003:svnDellComputerCorporation:pnDimension4550:pvr:rvnDellComputerCorp.:rn:rvr:cvnDellComputerCorporation:ct6:cvr:
  dmi.product.name: Dimension 4550
  dmi.sys.vendor: Dell Computer Corporation
  hciconfig:
   hci0:	Type: BR/EDR  Bus: USB
   	BD Address: 00:16:38:C9:95:4C  ACL MTU: 1017:8  SCO MTU: 64:1
   	UP RUNNING PSCAN 
   	RX bytes:1863 acl:29 sco:0 events:45 errors:0
   	TX bytes:612 acl:10 sco:0 commands:33 errors:0
  rfkill:
   0: hci0: Bluetooth
   	Soft blocked: no
   	Hard blocked: no

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/566914/+subscriptions