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

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top