mvp / uhubctl

uhubctl - USB hub per-port power control
Other
2.21k stars 230 forks source link

Error Message - "...Multiple hubs at once not supported..." #97

Closed bluewhale9 closed 6 years ago

bluewhale9 commented 6 years ago

I have a new raspberry pi 3 b+, connected via ethernet cable to router, and only 1 usb dongle attached - a 4G USB Aircard. When trying to execute uhubctl command via SSH, there are many errors. I can't find any documentation on what this error means or how to fix it.

pi@raspberrypi:~/uhubctl $ sudo ./uhubctl -p 2 -a 0 -R
Error: changing port state for multiple hubs at once is not supported.
Use -l to limit operation to one hub!
pi@raspberrypi:~/uhubctl $ sudo ./uhubctl
Current status for hub 1-1.1 [0424:2514, USB 2.00, 3 ports]
  Port 1: 0503 power highspeed enable connect [0424:7800]
  Port 2: 0100 power
  Port 3: 0100 power
Current status for hub 1-1 [0424:2514, USB 2.00, 4 ports]
  Port 1: 0503 power highspeed enable connect [0424:2514, USB 2.00, 3 ports]
  Port 2: 0503 power highspeed enable connect [19d2:1405 TRUE,Incorporated TRUE Mobile Broadband 1234567890ABCDEF]
  Port 3: 0100 power
  Port 4: 0100 power
pi@raspberrypi:~/uhubctl $ sudo ./uhubctl -p 2 -a 0 
Error: changing port state for multiple hubs at once is not supported.
Use -l to limit operation to one hub!
pi@raspberrypi:~/uhubctl $ sudo ./uhubctl -p 3 -a 0
Error: changing port state for multiple hubs at once is not supported.
Use -l to limit operation to one hub!
pi@raspberrypi:~/uhubctl $ sudo ./uhubctl -p 3 -a 0 -R
Error: changing port state for multiple hubs at once is not supported.
Use -l to limit operation to one hub!
mvp commented 6 years ago

You have more than one compatible hub connected: 1-1 and 1-1.1. Simply add -l 1-1 or -l 1-1.1 to uhubctl command line to choose specific hub to control power.