My problem is I have an embedded system normally headless.
It has a serial console I use for debugging, but will not be present in production.
It has no vga/graphics/monitor/whatever.
It doesn't have a proper keyboard or mouse.
So far, so good.
Now I need to connect a barcode scanner that works in "keyboard emulation" (i.e.: presents itself as an USB keyboard and acts accordingly).
I enabled several device drivers as modules:
- usbhid
- evdev
- hid_generic
- hid
- input_core
Scanner somehow works, meaning it gets initialized and generates Key events I can get reading /dev/input/event0 (and they look OK).
What I'm missing is the complete decoding so that I can open a device and read characters (not scancodes). I expected the hid-generic module to pick up input_events and generate characters to console.
What am I missing?