On 02/12/18 20:13, Renato Botelho wrote:
On 12/02/18 02:45, Warner Losh wrote:
Author: imp
Date: Mon Feb 12 04:45:26 2018
New Revision: 329148
URL: https://svnweb.freebsd.org/changeset/base/329148
Log:
Switch to using devmatch to autoload drivers. Remove usb.conf
as obsolete because devmatch gets its information from the same
place as the genration scripts.
Added:
head/etc/devd/devmatch.conf (contents, props changed)
Deleted:
head/etc/devd/usb.conf
Added: head/etc/devd/devmatch.conf
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/etc/devd/devmatch.conf Mon Feb 12 04:45:26 2018 (r329148)
@@ -0,0 +1,13 @@
+#
+# $FreeBSD$
+#
+
+#
+# Example devd configuration file for automatically
+# loading what modules we can based on nomatch
+# events.
+#
+# Generic NOMATCH event
+nomatch 100 {
+ action "service devmatch onestart"
Config syntax is broken. It's missing ; in the end of above line
I've just fixed this in r329194.
BTW: I see another annoying issue. Devmatch, when it receives a NOMATCH
event, should limit the searching to the current system. I.E. when you
plug a USB device, devmatch should not search PCI drivers aswell.
Warner, can you add this support?
--HPS
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"