Click here to Skip to main content
15,891,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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?  
Posted
Updated 18-Apr-20 21:46pm

1 solution

Use Google to find specific samples of linux commands and libraries related to the subject.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900