Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We use an barcode reader. It runs on Ubuntu but reads different character.


In barcode: 86912464
Ubuntu read as: 3~3~BDBCD

here is my xinput list

    ali@ali-samsung:~$ xinput list
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ ETPS/2 Elantech Touchpad                  id=14   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Video Bus                                 id=8    [slave  keyboard (3)]
    ↳ Power Button                              id=9    [slave  keyboard (3)]
    ↳ WebCam SC-13HDL12131N                     id=12   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=13   [slave  keyboard (3)]
    ↳ Scantech-ID BV Scantech-ID BV Mica Scanner Keyboard emulation id=10   [slave  keyboard (3)]
share|improve this question
What kind of USB barcode reader are you using? I just wonder with a USB barcode reader, whether it will scan the barcode images from (for example Excel speadsheet) automatically, without any manual actions. – user144914 Mar 28 '13 at 1:56

I have faced similar problem with barcode reader. I ended up buying a wireless barcode reader from ebay which acts like a wireless keyboard. As such, the ubuntu doesnt have to have any special driver to interpret the barcode signal, instead, the barcode reader decipher the code and send it as text to the computer.

Here is a link to the barcode reader I bought: ebay wireless barcode scanner

Anyhow, I am still looking for ways for ubuntu to support a wired barcode scanner, it will be much more desirable (no need for charging) and more reliable (no wireless signal interference)

share|improve this answer
This is a hardware solution to a software problem. Furthermore, directly linking to something to buy reeks of spam... – Fabby Oct 8 '15 at 9:15

Have you configured the barcode scanner correctly? There exist many different barcode types. I only know it for the Honeywell scanners we use, you configure them using pre-defined barcodes.

share|improve this answer

You have to reset the barcode scanner scanning the manufacturer's special barcodes. After that it will work.

Try this code:

enter image description here


Also check these special codes:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.