I found some interesting files in / sys but couldn't find anything with it.
On Ubuntu Linux, run root and cd in / sys / bus / usb / devices / usb 1
root@pjb-desktop :/sys/bus/usb/devices/usb1
It seems to show the current one.
Ok lets a little creative here ...
cat /sys/bus/usb/devices/usb?/bMaxPower0mA 0mA 0mA 0mA 0mA 0mA 0mA 0mA
will list all of them.
I tried to plug in a USB drive and activated it so that the LED blinks. I could not feel any changes in these indications. There is also a power folder, but I did not find anything where I could decrypt.
So excuse me if this is a dead end, but I think with a slightly closer look you can find what you need.
Paul
source share