From owner-freebsd-current@FreeBSD.ORG Tue Apr 3 22:26:19 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 46B17106566C for ; Tue, 3 Apr 2012 22:26:19 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from qmta11.emeryville.ca.mail.comcast.net (qmta11.emeryville.ca.mail.comcast.net [76.96.27.211]) by mx1.freebsd.org (Postfix) with ESMTP id 29DD88FC08 for ; Tue, 3 Apr 2012 22:26:19 +0000 (UTC) Received: from omta23.emeryville.ca.mail.comcast.net ([76.96.30.90]) by qmta11.emeryville.ca.mail.comcast.net with comcast id tYWw1i00A1wfjNsABaSDiN; Tue, 03 Apr 2012 22:26:13 +0000 Received: from damnhippie.dyndns.org ([24.8.232.202]) by omta23.emeryville.ca.mail.comcast.net with comcast id taSC1i00j4NgCEG8jaSDdK; Tue, 03 Apr 2012 22:26:13 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q33MQBwI050136; Tue, 3 Apr 2012 16:26:11 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: Ron McDowell In-Reply-To: <4F7B761B.4030104@fuzzwad.org> References: <4F7B761B.4030104@fuzzwad.org> Content-Type: text/plain; charset="us-ascii" Date: Tue, 03 Apr 2012 16:26:11 -0600 Message-ID: <1333491971.1090.51.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-current Subject: Re: Switching on/off 5V power to a USB port X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2012 22:26:19 -0000 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