Barcode Scanner: Difference between revisions
mNo edit summary |
|||
Line 15: | Line 15: | ||
== Disable barcode scanner from going to console == | == Disable barcode scanner from going to console == | ||
* use "EVIOCGRAB", for exclusive grab of input device | * use "EVIOCGRAB", for exclusive grab of input device ?? | ||
[[Category:Hardware]] | [[Category:Hardware]] |
Latest revision as of 13:06, 19 December 2021
Barcode Scanner under Linux
- https://raspberrypi.stackexchange.com/questions/82418/how-to-route-barcode-tty-input-to-python
- https://raspberrypi.stackexchange.com/questions/82418/how-to-route-barcode-tty-input-to-python
- https://stackoverflow.com/questions/19732978/how-can-i-get-a-string-from-hid-device-in-python-with-evdev
Testing
apt install evtest
sudo evtest --grab /dev/input/event0
Disable barcode scanner from going to console
- use "EVIOCGRAB", for exclusive grab of input device ??