Lines Matching +full:usb +full:- +full:attach
26 .\" Copyright (c) 1999-2000 by Internet Software Consortium
59 .Bl -tag -width ".Ic options"
60 .It Ic attach
94 .Bd -literal -offset indent
101 .Ss Sub-statements
102 The following sub-statements are supported within the
105 .Bl -tag -width ".Ic directory"
114 .It Ic pid-file Qq Pa /var/run/devd.pid ;
116 .It Ic set Ar regexp-name Qq Ar (some|regexp) ;
118 .Ar regexp-name .
130 The following sub-statements are supported within the
131 .Ic attach
135 .Bl -tag -width ".Ic directory"
139 .Dq Li "/etc/pccard_ether $device-name start" .
143 .It Ic device-name Qq string ;
145 .Dq Ic match Qo Li device-name Qc Qq Ar string .
151 .Dq Li device-name
165 .Ic attach
169 .Ic device-name
172 .It Ic media-type Qq Ar string ;
174 .Ic media-type
186 The following sub-statements are supported within the
189 .Bl -tag -width ".Ic directory"
203 The following sub-statements are supported within the
210 .Bl -tag -width ".Ic directory"
224 .It Ic media-type Qq Ar string ;
236 .Bl -tag -width ".Li manufacturer" -compact
260 Device Class (USB).
262 Device Sub-class (USB).
263 .It Li device-name
266 Endpoint count (USB).
270 Interface ID (USB).
272 Interface Class (USB).
274 Interface Protocol (USB).
276 Interface Sub-class (USB).
280 Peripheral mode (USB).
290 Hub port number (USB).
292 Product ID (USB).
294 Hardware revision (USB).
300 Serial Number (USB).
304 Sub-vendor ID (PCI).
306 Sub-device ID (PCI).
325 .Bl -column "System" "Subsystem" "1234567" -compact
349 .Bl -column "System" "Subsystem" "1234567" -compact
355 .Bl -column "System" "Subsystem" "1234567" -compact
369 .Bl -column "System" "Subsystem" "1234567" -compact
386 .Bl -column "System" "Subsystem" "1234567" -compact
398 .Bl -column "System" "Subsystem" "1234567" -compact
411 .Bl -column "System" "Subsystem" "1234567" -compact
419 .Bl -column "System" "Subsystem" "1234567" -compact
429 only includes disk-like devices.
450 .Bl -column "System" "Subsystem" "1234567" -compact
462 .It Li IFNET Ta Em inet Ta Li ATTACH Ta
474 .Bl -column "System" "Subsystem" "1234567" -compact
482 .Bl -column "System" "Subsystem" "1234567" -compact
489 .Bl -column "Bit Value" "Meaning" -compact
494 .It 0x8 Ta Media placed into read-only mode
496 .It 0x20 Ta Persistent memrory read-only or degraded
510 .Bl -column "System" "Subsystem" "1234567" -compact
517 An over-voltage condition was detected on the AC power line.
531 .It Li PMU Ta Li Battery Ta high-temp Ta
533 .It Li PMU Ta Li Battery Ta low-temp Ta
537 .It Li PMU Ta Li Battery Ta shutdown-threshold Ta
539 .It Li PMU Ta Li Battery Ta warning-threshold Ta
573 .It Li PMU Ta Li USB Ta overvoltage Ta
574 An over-voltage condition on the power lines for the USB power pins.
575 .It Li PMU Ta Li USB Ta plugged Ta
576 A device has been plugged into a USB device.
577 .It Li PMU Ta Li USB Ta undervoltage Ta
578 An under-voltage condition on the power lines for the USB power pins.
579 .It Li PMU Ta Li USB Ta unplugged Ta
580 A device has been unplugged into a USB device.
583 .Bl -column "System" "Subsystem" "1234567" -compact
593 .Bl -column "System" "Subsystem" "1234567" -compact
595 .It Li USB Ta Ta Ta
596 Events related to the USB subsystem.
597 .It Li USB Ta Li DEVICE Ta Li ATTACH Ta
599 .It Li USB Ta Li DEVICE Ta Li DETACH Ta
601 .It Li USB Ta Li INTERFACE Ta Li ATTACH Ta
603 .It Li USB Ta Li INTERFACE Ta Li DETACH Ta
607 .Bl -column "System" "Subsystem" "1234567" -compact
621 .Bl -column "System" "Subsystem" "1234567" -compact
630 .Bl -column "System" "Subsystem" "1234567" -compact
647 .Bd -literal -offset indent
654 .Bd -literal -offset indent
663 C-style comments start with the two characters
672 C-style comments cannot be nested.
676 .Bd -literal -offset indent
683 C++-style comments start with the two characters
691 .Bd -literal -offset indent
701 .Dq - ,
720 .Bl -enum
745 .Bd -literal -offset indent -compact
751 .Bd -literal -offset indent -compact
755 .Bd -literal -offset indent -compact
766 .Bd -literal -offset indent -compact
774 .Bl -tag -width ".Pa /etc/devd.conf" -compact
789 .Bd -literal
820 # Match a USB device type
823 match "system" "USB";
825 match "type" "ATTACH";
827 action "logger USB video device attached";
834 attach 0 {
835 device-name "(ath|iwn)[0-9]+";
836 action "/etc/pccard_ether $device-name start";
844 device-name "(ath|iwn)[0-9]+";
845 action "/etc/pccard_ether $device-name stop";
850 .Bd -literal
851 attach 20 {
852 device-name "umodem[0-9]+";
856 action "cd /dev; p=$product; dn=$device-name; \\
857 un=$(sysctl -n dev.umodem.${dn#umodem}.ttyname); \\
858 chmod 666 cua${un}; ln -sf cua${un} mspfet${p#0x}";
864 .Dq device-name