Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 2004 08:46:35 +0100
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        Sam Lawrance <samuel.lawrance@studentmail.newcastle.edu.au>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: usbd config file parse behaviour
Message-ID:  <20040326074634.GG94505@cicely12.cicely.de>
In-Reply-To: <1080257258.1138.34.camel@dirk>
References:  <1080257258.1138.34.camel@dirk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 26, 2004 at 10:27:39AM +1100, Sam Lawrance wrote:
> Hi,
> 
> usbd's present behaviour when reading usbd.conf is to scan from top to
> bottom and use the first match.
> 
> What if it was changed to use the last, most specific match? That is,
> the last match with the most of (product, vendor) specified.
> 
> The idea is that it makes it programmatically easy to add new entries to
> the file - just place them at the end. Presently that won't work because
> of the generic catch-all 
> 	device	"USB Device"
> in the default usbd.conf.
> 
> I know this would be useful to me, so I'm just looking for somebody to
> say "yeah maybe".

I'm working on getting devd(8) usable for usb devices.
Seee http://www.bwct.de/usb-devd.patch for the current status.
devd.conf(5) is far more flexible then usbd.conf.
But devd is a 5.x thing.

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso@bwct.de                                  info@bwct.de



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