Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Turning off an individual port on RPi 4 #426

Adrien-a0 started this conversation in General
Discussion options

Hey, I'm a bit confused by the FAQ section on the RPi's. Firstly I would like to ask is it in fact possible to turn off the power to an individual usb port (or at least not all of them at once)? And secondly, if this is the case, how would one do this for e.g usb port 2?

Thanks in advance for any help

You must be logged in to vote

Replies: 1 comment

Comment options

No, all Raspberry Pi models can only turn off/on all 4 USB ports at once. For RPi4, you have to turn off all 4 ports:

uhubctl -l 1-1 -a 0

Not specifying -p means to turn off all ports here.

For older RPi models (2B, 3B, 3B+) you need to turn off port 2, it will actually remove power from all ports:

uhubctl -l 1-1 -p 2 -a 0

FAQ lists all commands that you should use https://github.com/mvp/uhubctl#raspberry-pi-turns-power-off-on-all-ports-not-just-the-one-i-specified

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /