At least on the raspberry pi 3 b+ (likely all 3s) the hub is 1, not 0.
The following should turn the power off:
I suggest you try:
and use `bus` and `device` as like suggested on the README:
Code: Select all
sudo ./hub-ctrl -b 001 -d 005 -P1 -p 0