Raspberry Pi 3: power off usb ports from shell

Raspberry Pi 3: power off usb ports from shell

power off

echo '1-1' |sudo tee /sys/bus/usb/drivers/usb/unbind

power on:

echo '1-1' |sudo tee /sys/bus/usb/drivers/usb/bind

 

sources:

https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=162539

Leave a Reply