USB Barcode Reader

for hooking inputs of USB Barcode Reader

View the Project on GitHub ykocaman/usb-kb-reader

This program for hooking inputs of USB Barcode Readers which sends scanned data as keyboard input in ubuntu.

Configure:

make configure

Compile:

make

Config File:

Available keyboard inputs:

grep -E 'Name|Handlers|EV' /proc/bus/input/devices | grep 'EV=120013' -B2 

Why EV=120013?

Output can be:

N: Name="Digital Media Keyboard"
H: Handlers=sysrq kbd event5
B: EV=120013

N: Name="USB Reader With Keyboard USB Reader With Keyboard"
H: Handlers=sysrq kbd event14
B: EV=120013

Usage:

sudo usb-kb-reader