To make a long story short - I'm trying to use an USB keyboard with nano-x. nano-x connects to tty as for keyboard input. My system doesn't have a normal terminal, as I log in and get all log outputs through a serial terminal and my kernel boot option for the terminal is console=ttyS0,115200.
My problem is that I don't know how to get keyboard data flowing through the tty which nano-x needs.
I have enabled the usb HID and the evdev in my kernel config, and I have keyboard events flowing through the /dev/input/eventX device, which I can see with a hexdump. But so far I have been unsuccesful in connecting a tty with this input.
I have been studying the output from /proc/bus/input/devices and I can see that its associated with kbd and event1 handlers, can I use this information for anything? Is the kbd handler the same as X windows uses in xorg.conf?
I have also been reading the following article http://www.linuxjournal.com/article/6396
and it seems that the only missing link is the console subsystem.