Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
From the last several weeks I am trying to display my USB and hub infimation in my C++ program. I nee to find the devices connected in USB hub in a tree structure using C++
Posted

1 solution

I don't have any personal experience of coding this but you could search for documentation on INotify. I understand that's how to get device notifications in user space on Linux. I have seen the kind of data it produces, you will have to parse a bunch of strings and build any required tree structure yourself.
 
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