Re: Switching on/off 5V power to a USB port

From: Ian Lepore <freebsd_at_damnhippie.dyndns.org>
Date: Tue, 03 Apr 2012 16:26:11 -0600
On Tue, 2012-04-03 at 17:13 -0500, Ron McDowell wrote:
> I just got a little USB powered fan and it sure would be nice if I could 
> have cron on my FreeBSD box turn it on or off at certain times by 
> switching off the 5V line on a USB port.  Anyone know how I can do 
> that?  Thanks.
> 
> BTW this is a pretty decent fan for the money. :)  
> http://www.amazon.com/gp/product/B0033WSDOM/
> 

The usbconfig(8) command has power_on and power_off commands.  I've
never used them so I can't say for sure they'll do what you want.

-- Ian
Received on Tue Apr 03 2012 - 20:26:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:25 UTC