Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Apr 2012 16:26:11 -0600
From:      Ian Lepore <freebsd@damnhippie.dyndns.org>
To:        Ron McDowell <rcm@fuzzwad.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Switching on/off 5V power to a USB port
Message-ID:  <1333491971.1090.51.camel@revolution.hippie.lan>
In-Reply-To: <4F7B761B.4030104@fuzzwad.org>
References:  <4F7B761B.4030104@fuzzwad.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1333491971.1090.51.camel>