DEVMATCH(8) | MidnightBSD System Manager's Manual | DEVMATCH(8) |
devmatch
— print
information about unattached devices
devmatch |
[-a | --all ]
[-d | --dump ]
[[-h | --hints ]
file] [[-p |
--nomatch ] event]
[-u | --unbound ]
[-v | --verbose ] |
The devmatch
utility, without any
arguments, prints all the kernel modules it has found for all the
unattached, enabled devices in the system.
-a
--all
-d
--dump
-h
--hints
file-p
--nomatch
event-u
--unbound
-v
--verbose
devmatch
first appeared in
FreeBSD 12.0.
Warner Losh <imp@FreeBSD.org>
The kernel has hints in it, but we exclude it from the list of modules to suggest for unmatched devices. We exclude it when suggesting drivers, but include it when looking for unbound devices or producing a full dump of linker.hints. This can be confusing.
Some modules are hard links in /boot/kernel and will be reported twice.
The PNP string's attributes are evaluated once per PNP entry on that bus rather than once.
The term PNP is overloaded in FreeBSD. It means, generically, the identifying data the bus provides about a device. While this include old ISA PNP identifiers, it also includes the logical equivalent in USB, PCI, and others.
Many drivers currently lack proper PNP table decorations and need to be updated.
November 3, 2022 | midnightbsd-3.1 |