I have a very simple USB gadget that has a switch on it to turn it on or off manually. I would like to have the ability to keep it switched on at all times, and then write software to allow me to programmatically send power to it over USB.
I envison building a small device that plugs into the computer and then the USB gadget could plug into it. This device would be controllable to either pass through USB power, or prevent it from passing through.
When I google for custom USB IC devices that I could figure out who to solder/program to do this, I get lost in more complicated custom USB projects. Mechanically, this seems really simple, and so I assume there should be USB boards that already have this functionality.
Does anyone know of a simple USB device that is programmable to allow USB connections to pass through it or not?