diff options
author | joerg <joerg@FreeBSD.org> | 2007-02-14 08:13:54 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2007-02-14 08:13:54 +0000 |
commit | a47cbc19d42ab9fa6f4c7338d988e41ee433ae22 (patch) | |
tree | de2d0e77a263b5625af17241ad704a651c66a5fa /etc/devd.conf | |
parent | f099a37e0bbadf344d9d619dc51e152409c2f249 (diff) | |
download | FreeBSD-src-a47cbc19d42ab9fa6f4c7338d988e41ee433ae22.zip FreeBSD-src-a47cbc19d42ab9fa6f4c7338d988e41ee433ae22.tar.gz |
Add some entries to log unknown devices, based on the bus they appear
on.
Some things appear to be completely missing though, like the USB vendor
and product strings.
Diffstat (limited to 'etc/devd.conf')
-rw-r--r-- | etc/devd.conf | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/etc/devd.conf b/etc/devd.conf index 15adefa..46d86a0 100644 --- a/etc/devd.conf +++ b/etc/devd.conf @@ -160,6 +160,36 @@ nomatch 0 { # action "logger Unknown device: $pnpinfo $location $bus"; }; +# Various logging of unknown devices. +nomatch 10 { + match "bus" "uhub[0-9]+"; + action "logger Unknown USB device: vendor $vendor product $product \ + bus $bus"; +}; + +# Some PC-CARDs don't offer numerical manufacturer/product IDs, just +# show the CIS info there. +nomatch 20 { + match "bus" "pccard[0-9]+"; + match "manufacturer" "0xffffffff"; + match "product" "0xffffffff"; + action "logger Unknown PCCARD device: CISproduct $cisproduct \ + CIS-vendor $cisvendor bus $bus"; +}; + +nomatch 10 { + match "bus" "pccard[0-9]+"; + action "logger Unknown PCCARD device: manufacturer $manufacturer \ + product $product CISproduct $cisproduct CIS-vendor \ + $cisvendor bus $bus"; +}; + +nomatch 10 { + match "bus" "cardbus[0-9]+"; + action "logger Unknown Cardbus device: device $device class $class \ + vendor $vendor bus $bus"; +}; + # Switch power profiles when the AC line state changes. notify 10 { match "system" "ACPI"; |