misc/157903: automated kldload for USB class devices

Robert Millan rmh at debian.org
Fri Jun 24 07:08:02 UTC 2011

2011/6/23 Warner Losh <imp at bsdimp.com>:
> How'd you go about generating all these .conf files?

I have to admit it was quite boring, lots of grep & sed, different
regex for each file, then some manual editting.

But I see that someone has found a better way.  I'll look into testing that :-)

> I don't see where you defined USB_* as variables in them either.  Maybe you could point me at it?

Autogenerated from usbdevs, see:

# USB vendor ids and product ids.
usb_ids.conf: genusbdevs.sh ../../sys/dev/usb/usbdevs
	sh genusbdevs.sh > $@

Robert Millan

More information about the freebsd-bugs mailing list