LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 11-27-2007, 07:02 AM   #1
prettysmurfed
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 http://www.linuxjournal.com/article/6396 and it seems that the only missing link is the console subsystem.

Kind regards
 
  


Reply


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


All times are GMT -5. The time now is 12:04 AM.

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