Closed pedropombeiro closed 1 year ago
Can you please provide some evidence that it supports true vbus control per each port?
Can you please provide some evidence that it supports true vbus control per each port?
I'm using the app to turn off power to my Elgato Stream Deck, which shuts down the display in response. Is that sufficient evidence, or should I test something else?
I also tested cycling the power to my mechanical keyboard, and could the its lights turn off and then on as if I had unplugged the cable and back in:
$ uhubctl --action cycle -l 2-1.1.2 -p 2
Current status for hub 2-1.1.2 [2188:5512 CalDigit, Inc TS4 USB2.0 HUB, USB 2.01, 5 ports, ppps]
Port 2: 0103 power enable connect [3496:0006 Keyboardio Model 100 6564B2881339]
Sent power off request
New status for hub 2-1.1.2 [2188:5512 CalDigit, Inc TS4 USB2.0 HUB, USB 2.01, 5 ports, ppps]
Port 2: 0000 off
Current status for hub 2-1.1.2 [2188:5512 CalDigit, Inc TS4 USB2.0 HUB, USB 2.01, 5 ports, ppps]
Port 2: 0000 off
Sent power on request
New status for hub 2-1.1.2 [2188:5512 CalDigit, Inc TS4 USB2.0 HUB, USB 2.01, 5 ports, ppps]
Port 2: 0100 power
Good test is phone that stops charging when you turn power off to that port.
@mvp The fact that the Stream Deck shut down the display with the command made me think that it actually powered off the port, but I did the test and the phone still charges even after the command was sent to turn off the power to that port (even with repeat and wait options). I'll close this PR then, thanks for the help.