Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

How to control external usb cooling fan

If you have a question or need help, this is the place to be.
Post Reply
bpidskalny
Posts: 4
Joined: Tue Jul 06, 2010 5:25 am

How to control external usb cooling fan

Post by bpidskalny »

Hello

I am trying to control an external USB cooling fan threw EG. Does anyone know how I can trigger the power on and off to a specific USB port. I can turn it on and off manually threw device Manager in the control panel. Any help would be appreciated.
User avatar
kgschlosser
Site Admin
Posts: 5190
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: How to control external usb cooling fan

Post by kgschlosser »

yeah i have to put my head into it for a minute, i just have to remember the powershell or commandline arguements and program


K
If you like the work I have been doing then feel free to Image
User avatar
kgschlosser
Site Admin
Posts: 5190
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: How to control external usb cooling fan

Post by kgschlosser »

Download utility devcon from Microsoft.

http://support.microsoft.com/kb/311272

Then, use it as follows: List all known USB devices:

devcon find USB*

Disable USB device:

devcon disable "USB\VID_xxxx&PID_yyyy"

Enable USB device:

devcon enable "USB\VID_xxxx&PID_yyyy"

now i have not used this personally but as to wether is will actually power the device off all depends on hardware as well ad drivers and some other things, you may have to even add a reg line for each item you want to control, to allow for a selective suspend kinda thing.

roll the dice and see if it does what you want, then adding it to EG to just trigger a command line program is really easy

K
If you like the work I have been doing then feel free to Image
bpidskalny
Posts: 4
Joined: Tue Jul 06, 2010 5:25 am

Re: How to control external usb cooling fan

Post by bpidskalny »

OK I will try it out tonight. Thx
Post Reply