usbd config file parse behaviour
Bernd Walter
ticso at cicely12.cicely.de
Thu Mar 25 23:48:31 PST 2004
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 at bwct.de info at bwct.de
More information about the freebsd-hackers
mailing list