I was wondering if it is possible to use libusb to get the whole USB device tree consisting of hostcontroller, root_hub, hubs and devices. Pretty much the same thing, that lsusb -t does. is this possible? Thanks

  • libusb.org/static/api-1.0/… ? – rajaganesh87 Jun 6 '16 at 8:24
  • @rajaganesh87 Thank you. I was already to list all connected devices, including the hubs. But that doesn't give me information about the tree structure( hub1->device1, hub1->hub1.2->device2 etc). – tzippy Jun 6 '16 at 11:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.