mvp / uhubctl

uhubctl - USB hub per-port power control
Other
2.19k stars 229 forks source link

Success - Targus PA095UZ functions correctly #558

Closed mungewell closed 5 months ago

mungewell commented 6 months ago

Much to my surprise this 'crappy' little USB2.0 dock does actually function correctly. It only has 2 available ports for external connection, but I can turn power on/off on those individually.

Below I have Pi-Picos plugged into the available ports...

root@the-void:/home/simon/pico-sdk-SDW-github/build# uhubctl 
Current status for hub 1-1 [04cc:1521, USB 2.00, 6 ports, ppps]
  Port 1: 0103 power enable connect [0711:0230 Targus Group Intl Targus Group Intl 382184]
  Port 2: 0303 power lowspeed enable connect [0711:0260]
  Port 3: 0103 power enable connect [2e8a:0005 MicroPython Board in FS mode e66034f71f7e9136]
  Port 4: 0103 power enable connect [2e8a:0005 MicroPython Board in FS mode e66034f71f583724]
  Port 5: 0503 power highspeed enable connect [07a6:8515 ADMtek USB To LAN Converter 0001]
  Port 6: 0103 power enable connect [067b:2305 Prolific Technology Inc. IEEE-1284 Controller]
root@the-void:/home/simon/pico-sdk-SDW-github/build# uhubctl -p 3 -a off 
Current status for hub 1-1 [04cc:1521, USB 2.00, 6 ports, ppps]
  Port 3: 0103 power enable connect [2e8a:0005 MicroPython Board in FS mode e66034f71f7e9136]
Sent power off request
New status for hub 1-1 [04cc:1521, USB 2.00, 6 ports, ppps]
  Port 3: 0000 off
root@the-void:/home/simon/pico-sdk-SDW-github/build# uhubctl -p 4 -a off 
Current status for hub 1-1 [04cc:1521, USB 2.00, 6 ports, ppps]
  Port 4: 0103 power enable connect [2e8a:0005 MicroPython Board in FS mode e66034f71f583724]
Sent power off request
New status for hub 1-1 [04cc:1521, USB 2.00, 6 ports, ppps]
  Port 4: 0000 off
root@the-void:/home/simon/pico-sdk-SDW-github/build# uhubctl -p 3 -a on
Current status for hub 1-1 [04cc:1521, USB 2.00, 6 ports, ppps]
  Port 3: 0000 off
Sent power on request
New status for hub 1-1 [04cc:1521, USB 2.00, 6 ports, ppps]
  Port 3: 0100 power
root@the-void:/home/simon/pico-sdk-SDW-github/build# uhubctl -p 4 -a on
Current status for hub 1-1 [04cc:1521, USB 2.00, 6 ports, ppps]
  Port 4: 0000 off
Sent power on request
New status for hub 1-1 [04cc:1521, USB 2.00, 6 ports, ppps]
  Port 4: 0100 power