Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Nov 2010 16:50:46 +0100
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        Bernd Walter <ticso@cicely7.cicely.de>, ticso@cicely.de, freebsd-usb@freebsd.org
Subject:   Re: selecting configuration
Message-ID:  <20101125155045.GW62027@cicely7.cicely.de>
In-Reply-To: <201011251437.31383.hselasky@c2i.net>
References:  <20101125123018.GS62027@cicely7.cicely.de> <201011251437.31383.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 25, 2010 at 02:37:31PM +0100, Hans Petter Selasky wrote:
> On Thursday 25 November 2010 13:30:18 Bernd Walter wrote:
> > I have a USB device with two alternative configurations.
> > After enumerating the device I need to switch the device to
> > configuration 1 via usbconfig.
> > Do we have any kind of support to do this automatically?
> 
> Yes, see the USB quirks.
> 
> UQ_CFG_INDEX_1

Ok - this is something to be compiled into the kernel - right?
Is it possible to add a quirk with usbconfig after the device is
already detected?
devd won't work since it won't say anything as config 0 won't
attach to any driver and ugen isn't listed there.
Also the devd data would be missing the bus number.

-- 
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101125155045.GW62027>