From owner-svn-src-head@freebsd.org Tue Feb 13 09:07:24 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B95CF0CD34; Tue, 13 Feb 2018 09:07:24 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A1B786CC61; Tue, 13 Feb 2018 09:07:23 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 0349F2600EC; Tue, 13 Feb 2018 10:07:15 +0100 (CET) Subject: Re: svn commit: r329148 - head/etc/devd To: Renato Botelho , Warner Losh , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201802120445.w1C4jQBL081885@repo.freebsd.org> <1f2b78cb-c27b-6b3b-0ee7-130de756bbb7@gmail.com> From: Hans Petter Selasky Message-ID: Date: Tue, 13 Feb 2018 10:04:21 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <1f2b78cb-c27b-6b3b-0ee7-130de756bbb7@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2018 09:07:24 -0000 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