From owner-freebsd-current@FreeBSD.ORG Fri Jan 30 21:13:19 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C62471065672 for ; Fri, 30 Jan 2009 21:13:19 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 5D1A98FC25 for ; Fri, 30 Jan 2009 21:13:19 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=dyfCM7niMg0A:10 a=L3UWJZNBNYbMt0azfyMA:9 a=_WbF-q2Y9llc99JbU5wA:7 a=8DWnvhPs6Nw1Lnt9ndG1VEr-XDwA:4 a=LY0hPdMaydYA:10 Received: from [85.19.218.115] (account mc467741@c2i.net HELO [10.37.1.92]) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1188345663; Fri, 30 Jan 2009 22:13:17 +0100 From: Hans Petter Selasky To: Arnar Mar Sig Date: Fri, 30 Jan 2009 22:15:40 +0100 User-Agent: KMail/1.9.7 References: <3CF1FDD7-11C8-4761-B775-57ED90B02238@valka.is> In-Reply-To: <3CF1FDD7-11C8-4761-B775-57ED90B02238@valka.is> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901302215.41627.hselasky@c2i.net> Cc: current@freebsd.org Subject: Re: Problem with usbconfig, not working 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: Fri, 30 Jan 2009 21:13:20 -0000 On Friday 30 January 2009, Arnar Mar Sig wrote: > It seems usbconfig is not working for me (-CURRENT from Jan 29, amd64) > > What i'm trying to do is turn off power to a usb device (actually i > wanted to turn off all ports, no matter if there was a device there or > not) > For all commands I get the error message: "No device match or lack of > permissions." Hi, "usbconfig" does not work with the old USB stack which is what you have loaded. --HPS > > Also imo its not really clear in man usbconfig what -u and -a should > be. What should it be for ums0 at uhub0? > -u 0 -a 0 (uhub0 usm0) > -u 0 -a 1 (from usbdevs output: /dev/usb0 port 1) > -u 0 -a 2 (from usbdevs output: /dev/usb0 addr 2) > I tried all, same error message. I also tried without -u and -a, same > > # usbdevs -v > Controller /dev/usb0: > addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), > nVidia(0x0000), rev 1.00 > port 1 addr 2: low speed, power 98 mA, config 1, USB-PS/2 Optical > Mouse(0xc012), Logitech(0x046d), rev 13.20 > port 2 powered > port 3 powered > port 4 powered > port 5 powered > port 6 powered > port 7 powered > port 8 powered > Controller /dev/usb1: > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > nVidia(0x0000), rev 1.00 > port 1 powered > port 2 powered > port 3 powered > port 4 powered > port 5 powered > port 6 powered > port 7 powered > port 8 powered > > Greets > Arnar Mar Sig > Valka ehf