USB Host, getting specific USB hub port device is plugged into

AndyJ

Member
Hey all, a simple question with a (likely) complicated answer. I just want to know if there is a way to see which specific port in a USB hub a certain device is plugged into.
EDIT: Nevermind, got it!
Code:
dev->hub_port

For anyone stumbling across this in the future
 
Last edited:
Back
Top