Hi, All, 

I hope I can get some help on this one:

I successfully configure the kernel to support usb keyboard on an embedded
device.
I put printk in the function handle_scancode() in keyboard.c and it prints
everytime when I push a key on the usb keyboard.

I try to write an application monitor the key events from the usb keyboard.
I tried cat all the ttyXX I have on the system to see which is the device
node for my usb keyboard, but none of them response to the keypress.
I wonder how I can get the key event of the usb keyboard in my application?
I don't have a console or runing X.  Is there a device node supposed to be
tight to the keyboard?  Or maybe I configure the kernel wrong?

Thanks

John


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to