Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2018 07:40:21 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        Renato Botelho <garga.bsd@gmail.com>, Warner Losh <imp@freebsd.org>,  src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r329148 - head/etc/devd
Message-ID:  <CANCZdfoiRru%2B0QQ8DPyPiVVyZN85TPT1KnpggPuYU0at9Qd%2Brw@mail.gmail.com>
In-Reply-To: <b3082991-a342-a31c-ba6f-8d7ee2647de1@selasky.org>
References:  <201802120445.w1C4jQBL081885@repo.freebsd.org> <1f2b78cb-c27b-6b3b-0ee7-130de756bbb7@gmail.com> <b3082991-a342-a31c-ba6f-8d7ee2647de1@selasky.org>

index | next in thread | previous in thread | raw e-mail

On Tue, Feb 13, 2018 at 2:04 AM, Hans Petter Selasky <hps@selasky.org>
wrote:

> 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?


Yes, but on boot, it's still going to match everything because all the
NOMATCH events are in the queue.

Warner


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoiRru%2B0QQ8DPyPiVVyZN85TPT1KnpggPuYU0at9Qd%2Brw>