Вопрос

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