Question

I am beginner to linux, How to get devices information about keyboard, mouse etc connected to my linux machine (using C/java prg)

Was it helpful?

Solution

KeyBoard, Mouse these devices are related to character drivers. You can go into "/proc" and see the devices and driver numbers there Or using "lsmod" command you can see the devices used by system. Or you may use this link "http://www.tldp.org/LDP/lkmpg/2.4/html/x856.html" to know in details.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top