Member 14631177 Ответов: 1

Что является источником информации о драйверах устройств и обработчиках прерываний в файловой системе linux?


I need to make an assignment program in C that identifies usb devices in Linux distro (my choice is Ubuntu 18.04 LTS). Additively, this code is intended to select device-related drivers and interrupt handlers as well.

What I have tried:

<pre>To succeed with first issue, I've applied a program compiled with `-lusb-1.0`. It enabled obtaining all usb-configured hardware objects like mouse, webcam or keyboard. Actually, I would have any insight into how to figure out specific software inside Linux file system. That's a case I try to solve: where exactly would I grab this information from in order to access that when running C code?  

1 Ответов

Рейтинг:
2

Richard MacCutchan

Используйте Google, чтобы найти конкретные примеры команд и библиотек linux, связанных с этой темой.