atom feed14 messages in org.freebsd.freebsd-hackersusbd config file parse behaviour
FromSent OnAttachments
Sam LawranceMar 25, 2004 3:26 pm 
Bernd WalterMar 25, 2004 11:49 pm 
M. Warner LoshMar 27, 2004 3:56 pm 
Bernd WalterMar 27, 2004 4:25 pm 
M. Warner LoshMar 28, 2004 12:30 am 
Bernd WalterMar 28, 2004 2:49 am 
Sam LawranceMar 29, 2004 6:33 pm 
M. Warner LoshMar 29, 2004 6:44 pm 
Bernd WalterMar 30, 2004 12:41 am 
M. Warner LoshMar 30, 2004 12:46 am 
Bernd WalterMar 30, 2004 1:13 am 
Sam LawranceMar 31, 2004 4:55 am 
M. Warner LoshMar 31, 2004 9:11 am 
Bernd WalterMar 31, 2004 10:16 am 
Subject:usbd config file parse behaviour
From:Bernd Walter (tic@cicely12.cicely.de)
Date:Mar 25, 2004 11:49:52 pm
List:org.freebsd.freebsd-hackers

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.