Results 1 to 2 of 2
I cant believe i dont know how to do this. Up until now I never needed to though...
Anyways say i plug in a usb joystick. How the F do ...
- 01-13-2007 #1Just Joined!
- Join Date
- Nov 2005
- Posts
- 80
Get dev name from device?
I cant believe i dont know how to do this. Up until now I never needed to though...
Anyways say i plug in a usb joystick. How the F do I see what dev file it uses in /dev? i want a no-quesitons asked command(s) that returns a filename in /dev.
***PLEASE dont just tell me "its /dev/input/js"!!!***
I tried looking all over but i couldnt find an answer.
Oh yeah - and im only concerned about input devices
- 01-13-2007 #2
Plug in the device. Then open up a terminal and run dmesg. The last ~20 lines or so will have details about the device you just plugged in, and several of those lines will mention the device node assigned to it.
Stand up and be counted as a Linux user!


Reply With Quote