Date: Tue, 13 Feb 2018 10:04:21 +0100 From: Hans Petter Selasky <hps@selasky.org> To: Renato Botelho <garga.bsd@gmail.com>, Warner Losh <imp@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r329148 - head/etc/devd Message-ID: <b3082991-a342-a31c-ba6f-8d7ee2647de1@selasky.org> In-Reply-To: <1f2b78cb-c27b-6b3b-0ee7-130de756bbb7@gmail.com> References: <201802120445.w1C4jQBL081885@repo.freebsd.org> <1f2b78cb-c27b-6b3b-0ee7-130de756bbb7@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b3082991-a342-a31c-ba6f-8d7ee2647de1>