From owner-freebsd-current@FreeBSD.ORG Tue Apr 3 23:43:19 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75C4E106564A for ; Tue, 3 Apr 2012 23:43:19 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 3135E8FC12 for ; Tue, 3 Apr 2012 23:43:18 +0000 (UTC) Received: from critter.freebsd.dk (critter-phk.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 513A45DF9; Tue, 3 Apr 2012 23:43:12 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q33MKPwq057209; Tue, 3 Apr 2012 22:20:25 GMT (envelope-from phk@phk.freebsd.dk) To: Ron McDowell From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 03 Apr 2012 17:13:47 EST." <4F7B761B.4030104@fuzzwad.org> Content-Type: text/plain; charset=ISO-8859-1 Date: Tue, 03 Apr 2012 22:20:25 +0000 Message-ID: <57208.1333491625@critter.freebsd.dk> 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 23:43:19 -0000 In message <4F7B761B.4030104@fuzzwad.org>, Ron McDowell writes: >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. I have only found very few USB ports where it was possible to reliably control power with a published interface. Most USB-controllers support doing it, but most motherboards don't mount the necessary FET. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.