From owner-freebsd-questions@FreeBSD.ORG Mon Aug 25 13:23:05 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F15C916A4C0 for ; Mon, 25 Aug 2003 13:23:05 -0700 (PDT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 61AC343FCB for ; Mon, 25 Aug 2003 13:23:04 -0700 (PDT) (envelope-from alexander.pohoyda@gmx.net) Received: (qmail 10229 invoked by uid 65534); 25 Aug 2003 20:23:03 -0000 Received: from p508BFF9F.dip.t-dialin.net (EHLO oak.pohoyda.family) (80.139.255.159) by mail.gmx.net (mp012) with SMTP; 25 Aug 2003 22:23:03 +0200 Received: from oak.pohoyda.family (oak.pohoyda.family [127.0.0.1]) by oak.pohoyda.family (8.12.9/8.12.6) with ESMTP id h7PKN2xx003734; Mon, 25 Aug 2003 22:23:02 +0200 (CEST) (envelope-from apog@oak.pohoyda.family) Received: (from apog@localhost) by oak.pohoyda.family (8.12.9/8.12.9/Submit) id h7PKN2aM003731; Mon, 25 Aug 2003 22:23:02 +0200 (CEST) Date: Mon, 25 Aug 2003 22:23:02 +0200 (CEST) Message-Id: <200308252023.h7PKN2aM003731@oak.pohoyda.family> From: Alexander Pohoyda To: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: Powering off a USB port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2003 20:23:06 -0000 Hi all, I'm using a USB Lamp and would like to turn it off when a screensaver starts. From my reading of a USB 2.0 specification I found out that it is possible to power off a USB port via ClearPortFeature(PORT_POWER) call. Has anybody tried this before? What would be the correct place to add this feature to? usbd or usbdevs? -- Alexander Pohoyda