I have a USB device and would like to see what it's parent device is, i.e. which hub it is connected to. The reason is that I'm debugging an issue with sleep mode. However, this is on an embedded plattform (Android), and my lsusb implementation is provided by toybox, so I can't use it to show a tree. Without cross compiling lsusb, how can I find this information?
I tried looking in /sys/bus/usb/devices/3-1/... for example, and I would like to find which /sys/bus/usb/devices/usb? corresponds to the (internal) hub that this is connected to.