Hi!
I need to controll external device from my PC's USB, which will deliver power suply (+5V). I was looking for a way to controll it from bash (turning 5V on and off in USB socket). I've found solution for turning on and of plug-n-play usb devices:
And it works like a charm, but when I connect my usb 'dummy' plug which works just as a supply of 5V current it is worthless. Do You guys know any other way of turning on/off usb line, that will work with 5V power supply from USB socket?echo on|suspend > /sys/bus/usb/devices/device/power/level
I've tried to find solution for quite a long time, but nothing works![]()



Adv Reply

chill out and come at the problem another way

Bookmarks