Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-27-2007, 07:02 AM   #1
LQ Newbie
Registered: Feb 2005
Posts: 4

Rep: Reputation: 0
usb keyboard as input for console driver

Hi everybody

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 and it seems that the only missing link is the console subsystem.

Kind regards


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
saitek usb keyboard "input irq status -32 received" boffman Linux - Hardware 3 12-30-2007 08:46 PM
Repeated "input: AT Translated Set 2 keyboard as /class/input/input" messages AcerKev Mandriva 2 09-16-2007 08:35 AM
USB Keyboard & Mouse won't allow input on boot cyberguy03 Linux - Hardware 2 08-15-2007 02:34 PM
USB keyboard driver question tristpost Linux - Kernel 2 07-25-2006 02:25 AM
my mouse input is takes as keyboard input in BASH e1000 Slackware 5 12-08-2003 03:00 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration