View Full Version : Trigger an event to power down USB port(s)

February 21st, 2004, 08:44 PM
Do any of you gurus know of a way to have an event that will power down either all or better yet a certain USB port? And another press of the button will power-up that same port or ports. I have a device I wish to power down upon a button press.



February 21st, 2004, 09:32 PM
You can disable the device in the OS (unload drivers etc), but it is not possible to power down a USB device.

Regards, Slava

February 21st, 2004, 09:57 PM
This device is nothing more than a USB light and therefore has no drivers or anything the OS recognizes (other than a circuit).

Is it not possible to powerdown the port then?

February 22nd, 2004, 12:19 AM
If you can find a program on the web that will do this, then you can have Girder execute it as appropriate.

Another idea is to hook up the LED's to a serial port -- I believe that Marsupial has done this. The serial port is more easily controlled than USB ports. See http://www.girder.nl/phpBB2/viewtopic.php?t=6097

Finally, the Rube Goldberg approach is to wire in a relay in the power-line of a usb cable, and then use Girder to control the relay (via the serial port). I did this with an IR emitter:


February 22nd, 2004, 07:43 AM
Is it not possible to powerdown the port then?