mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
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.
This commit is contained in:
parent
db47cc8851
commit
0411582e87
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166701
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user