Hi,
I'm building a RPi based system in a remote location running from Solar panels and battery, using Sleepy Pi to shut itself off overnight, which would be periodically snapping pictures and upload through GPRS.
Unfortunately the webcam must be located 30 feet away from the RPi, so I use a long USB cable. That is working fine, but obviously requires quite some current for the long cable, so I would like to programmatically shut the power off for the given USB device and then switch it on when I need to snap a picture to minimize power use.
I tried different techniques to power the usb off and on in raspbian, but no luck.
Any idea?
Thanks