A
A
Alexey2012-10-24 09:34:58
Iron
Alexey, 2012-10-24 09:34:58

USB power management

Does Windows have a fundamental ability to manage USB power? You just need to turn the device on/off.

The essence of the problem is that there is someone else's device on Alter's microcontrollers. It hangs on USB and is covered by a virtual COM port. Powered from the same USB. Works 24/7/365. In theory. But either the skis don’t go, or I’m a fool, it just hangs sometimes tightly and stops responding to control commands. Rescues only restarting the device with pulling out the cable from USB. And it’s a long way to go, and in winter it’s still dark and cold.
There is no way to get into the device itself, since there is nothing to it except a list of commands (and even that one is a little foggy).

Therefore, I would like to programmatically restart the power supply. Rebooting the entire computer does not give a result, because the USB power remains. And it’s not good to drive the entire system because of one device.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
Y
yuuyake, 2012-10-24
@yuuyake

On linux this is possible. I'm not sure about windows, I couldn't find it right off the bat. Linux here stackoverflow.com/questions/4702216/controlling-a-usb-power-supply-on-off-with-linux
I had to do this when a GPRS modem hung on one computer that was far away. Moreover, you can only control the power supply of 3 Volts, 5 Volts are always supplied, and the modem had to turn off exactly 5 Volts. Then I soldered a device from a mouse and a diode key that opened a 5 Volt in the cable to the modem, when 3 Volts stopped coming to it, which I already controlled programmatically.

S
svd71, 2012-10-24
@svd71

www.ehow.com/how_5210270_change-usb-power-options.html
answers.microsoft.com/en-us/windows/forum/windows_7-hardware/windows-7-usb-power-management-wont-allow-me-to -un/f1a339b7-1388-4790-9cf4-3e895f4fb3f7

N
Nazar Mokrinsky, 2012-10-24
@nazarpc

Somewhere already there was such a question, look. But I don't think there was an answer. You can attach another small controller to the wire, which will break and resume the connection of the desired device.

P
pportnoy, 2012-10-24
@pportnoy

Some server vendors have this feature (I only know about HP for sure).
Done through iLo.
And for some reason, it always seemed to me that if you turn off the USB controller in the Windows Device Manager, the power will stop being supplied there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question