# Implement the run-time component of devmatch by reacting to nomatch events.12#3# Ignore those devices that can't possibly match. When there's neither a4# location, nor a pnpinfo string, we know that there's nothing devmatch can5# match on. When it's only a location, it'd debateable, but for nomatch6# events, we can't disambiguate between the two reliably.7#8nomatch 101 {9match "_" " +at +on .*";10};1112#13# Ignore ACPI devices whose _HID is none. These cannot tell us what to load,14# since 'none' is not a valid id. There's no need to call devvmatch for these either.15#16nomatch 101 {17match "_HID" "none";18match "bus" "acpi[0-9]+";19};2021#22# Generic NOMATCH event23#24# Note: It would be better to have some internal-to-devd action that will do25# what devmatch does without re-parsing loader.hints for each invocation26#27nomatch 100 {28action "service devmatch quietstart $*";29};3031# Add the following to devd.conf to prevent this from running:32# nomatch 1000 {33# action "true";34# };35# it replaces the generic event with one of higher priority that36# does nothing. You can also set 'devmatch_enable=NO' in /etc/rc.conf373839