LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2010, 04:52 AM   #1
nithima
LQ Newbie
 
Registered: Jan 2010
Posts: 10

Rep: Reputation: 0
How to know which usb keyboard device file.


Hi,

Now I connect usb keyboard to my machine, and
I would like to know how I can get device file name of this usb keyboard.

I know it is /dev/input/event# file,but which event# file?

I tried to do [dmesg | grep usb] , but kernel message don't tell me what I would like to know.

Thank you very much.
 
Old 04-27-2010, 06:23 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Try "cat /proc/bus/input/devices".
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Static USB mouse device file? alexandre_fs Linux - General 5 03-19-2007 01:03 PM
mapping usb device to device file scerenon Linux - Hardware 12 07-20-2006 05:13 PM
How To detect USB drive device file kr123 Programming 0 12-08-2005 01:01 AM
file transfer to USB device problems salparadise Debian 1 10-01-2005 01:26 PM
Assign one USB-storage device to one device file Misel Linux - Hardware 1 08-28-2004 04:52 AM


All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration