Raspberry Pi work around for USB Lock-up problem

353 views
Skip to first unread message

Mike Frey

unread,
Jan 13, 2018, 7:03:58 PM1/13/18
to pywws
I found in researching Richard Truran's post that uhubc will directly control the power to Raspberry Pi Model B+, Model 2 B, Model 3 B (port 2 only), see the following links:


I downloaded the source for uhubctl, installed the required libusb-1.0-0-dev, `sudo apt-get install libusb-1.0-0-dev`, and ran make without problems.

I removed the batteries from my weather station and plugged it into a USB port.

The command 'sudo ./uhubctl -i -p 2 -a 0' turns off the port and the weather station

The command 'sudo ./uhubctl -i -p 2 -a 1' turns on the port and the weather station

Next on to scripts to power off and on the usb port when it locks up.

Mike

Igg

unread,
Jan 15, 2018, 10:42:17 AM1/15/18
to pywws


That's interesting, thanks Mike for that ... one to reference.

Ian
Reply all
Reply to author
Forward
0 new messages