aboutsummaryrefslogtreecommitdiff
path: root/sbin/devd/devd.conf.5
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2010-04-22 20:46:39 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2010-04-22 20:46:39 +0000
commit139e9ad4d642e178015ae0af21af73edb32fc009 (patch)
treef649fd1a99954d904b5638377714ba88593a9ea2 /sbin/devd/devd.conf.5
parenta1a667ecf1788ec552a5c5c8f4d83786d764eaa1 (diff)
downloadsrc-139e9ad4d642e178015ae0af21af73edb32fc009.tar.gz
src-139e9ad4d642e178015ae0af21af73edb32fc009.zip
Document the new USB notification types.
Notes
Notes: svn path=/head/; revision=207072
Diffstat (limited to 'sbin/devd/devd.conf.5')
-rw-r--r--sbin/devd/devd.conf.556
1 files changed, 55 insertions, 1 deletions
diff --git a/sbin/devd/devd.conf.5 b/sbin/devd/devd.conf.5
index f7efefb20eb6..17c5e099b56d 100644
--- a/sbin/devd/devd.conf.5
+++ b/sbin/devd/devd.conf.5
@@ -250,18 +250,40 @@ CIS-vendor.
Device class.
.It Li device
Device ID.
+.It Li devclass
+Device Class (USB)
+.It Li devsubclass
+Device Sub-class (USB)
.It Li device-name
Name of attached/detached device.
+.It Li endpoints
+Endpoint count (USB)
.It Li function
Card functions.
+.It Li interface
+Interface ID (USB)
+.It Li intclass
+Interface Class (USB)
+.It Li intprotocol
+Interface Protocol (USB)
+.It Li intsubclass
+Interface Sub-class (USB)
.It Li manufacturer
Manufacturer ID (pccard).
+.It Li mode
+Peripheral mode (USB)
.It Li notify
Match the value of the
.Dq Li notify
variable.
+.It Li parent
+Parent device
+.It Li port
+Hub port number (USB)
.It Li product
-Product ID (pccard).
+Product ID (pccard/USB).
+.It Li release
+Hardware revision (USB)
.It Li serial
Serial Number (USB).
.It Li slot
@@ -342,6 +364,27 @@ The
node is destroyed.
.El
.El
+.It Li USB
+Events related to the USB subsystem.
+.Bl -tag -width ".Sy Subsystem" -compact
+.It Sy Subsystem
+.It Li DEVICE
+.Bl -tag -width ".Li DETACH" -compact
+.It Sy Type
+.It Li ATTACH
+USB device is attached to the system.
+.It Li DETACH
+USB device is detached from the system.
+.El
+.It Li INTERFACE
+.Bl -tag -width ".Li DETACH" -compact
+.It Sy Type
+.It Li ATTACH
+USB interface is attached from a device.
+.It Li DETACH
+USB interface is detached from a device.
+.El
+.El
.It Li coretemp
Events related to the
.Xr coretemp 4
@@ -461,6 +504,17 @@ notify 0 {
};
#
+# Match a USB device type
+#
+notify 0 {
+ match "system" "USB";
+ match "subsystem" "INTERFACE";
+ match "type" "ATTACH";
+ match "intclass" "0x0e";
+ action "logger USB video device attached";
+};
+
+#
# Try to configure ath and wi devices with pccard_ether
# as they are attached.
#