Barcode Scanner: Difference between revisions

From Wiki
(Die Seite wurde neu angelegt: „== Barcode Scanner under Linux == * Using a Keyboard-HID scanner <pre> </pre> Category:Hardware“)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Barcode Scanner under Linux ==
== Barcode Scanner under Linux ==
* Using a Keyboard-HID scanner
* 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 ==
<pre>
<pre>
apt install evtest
</pre>


<pre>
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


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 ??