Created
February 17, 2022 22:35
-
-
Save crossan007/6e3f5ba2600f009e6a95b979f30047e7 to your computer and use it in GitHub Desktop.
Recycle the power on USB ports of a Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# from https://raspberrypi.stackexchange.com/questions/5407/how-can-i-cut-power-coming-out-of-the-pis-usb-ports | |
sudo uhubctl -l 2 -a 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment