Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2009 22:27:04 +0100
From:      Arnar Mar Sig <antab@valka.is>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        current@freebsd.org
Subject:   Re: Problem with usbconfig, not working
Message-ID:  <7C9D5C0E-57AE-4BE9-B7FE-3181FBFED5C0@valka.is>
In-Reply-To: <200901302215.41627.hselasky@c2i.net>
References:  <3CF1FDD7-11C8-4761-B775-57ED90B02238@valka.is> <200901302215.41627.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jan 30, 2009, at 10:15 PM, Hans Petter Selasky wrote:
> 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.
Ahh, my bad, just did a quick look at kldstat where usb2_core.ko was  
loaded, but forgot the old stack was compiled in. going to recompile  
and try again. Thanks


> --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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7C9D5C0E-57AE-4BE9-B7FE-3181FBFED5C0>