On Fri, 27 Sep 2013 12:00:01 +0100 Mark wrote:
Well I'm making progress of sorts but can't find relevant documentation anywhere, so far at least.
USB implementers forum has complete documentation for keyboards and point of sale devices (scanners) here:
http://www.usb.org/developers/hidpage/
In particular look at the 'HID Usage Tables 1.12' and 'HID Point of Sale Usage Tables 1.02'. You will also want to look at the Linux input event structure in /usr/include/linux/input.h, as these are what you see being emitted from the event device node. You might need to read the raw HID events from the scanner in order to determine the correct device state (from all the additional HID reports documented in POS 1.02). more details on raw HID devices in the kernel source tree:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/Do...
HTH, Phil.