Barcode Scanner: Difference between revisions
mNo edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Barcode Scanner under Linux == | == 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 == | == Testing == | ||
Line 9: | Line 9: | ||
apt install evtest | apt install evtest | ||
</pre> | </pre> | ||
<pre> | <pre> | ||
sudo evtest --grab /dev/input/event0 | sudo evtest --grab /dev/input/event0 | ||
</pre> | </pre> | ||
== Disable barcode scanner from going to console == | |||
* 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 ??