From a47cbc19d42ab9fa6f4c7338d988e41ee433ae22 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 14 Feb 2007 08:13:54 +0000 Subject: 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. --- etc/devd.conf | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'etc/devd.conf') 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"; -- cgit v1.1