How can I from the shell remove and apply USB power to one of the host USB ports in my machine?
|
feedback
|
|
This was asked on Stackoverflow and really should have been migrated here. http://stackoverflow.com/questions/4702216/controlling-a-usb-power-supply-on-off-with-linux | |||||
feedback
|
|
So it seems that this cannot be done, which I kind of already suspected. The advice found in some places about echoing I solved my problem by attaching a USB hub with an external power supply, and then cutting the USB 5V wire in the USB cable going from the host machine to the USB. Then I can turn power on an off from my device via an external power relay connected to the USB hub power supply. | |||
|
feedback
|