Wednesday, September 04, 2019

wskbd without wsdisplay

I want to use an USB-keyboard/barcode-reader on a pc-engines apu. Since
the apu has no graphics card, there is no wsdisplay and the keyboard stays
unconnected.

# wsconscfg -k
wsconscfg: /dev/ttyCcfg: Device not configured

How can I read that keyboard input? Do I even have to write some C and use
usbhid.h or is there an api in wscons for that? Or something simpler?
Any hints or directions to go would be appreciated.

Thanks.

No comments:

Post a Comment