Wed Jan 20, 2016 12:47 pm
If you've got the USB version then it'll probably show up as a Human Interface Device (HID). It'll be treated as a keyboard and just insert keystrokes into the console.
Plug it in and run lsusb -vv. Leave the console logged in and scan a barcode - you'll probably get the code.
Keyboard widget version is unlikely to work. RS232 version would require a bit more work to open the serial device and read the incoming data, which may or may not be packetised.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.