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" "12345678" -compact
349 .Bl -column "SYSTEM" "SUBSYSTEM" "12345678" -compact
355 .Bl -column "SYSTEM" "SUBSYSTEM" "12345678" -compact
369 .Bl -column "SYSTEM" "SUBSYSTEM" "12345678" -compact
386 .Bl -column "CORETEMP" "SUBSYSTEM" "TEMPERATURE" -compact
398 .Bl -column "SYSTEM" "SUBSYSTEM" "12345678" -compact
411 .Bl -column "SYSTEM" "SUBSYSTEM" "12345678" -compact
419 .Bl -column "SYSTEM" "SUBSYSTEM" "GEOM::ROTATION_RATE" -compact
429 only includes disk-like devices.
450 .Bl -column "SYSTEM" "SUBSYSTEM" "LINK_DOWN" -compact
462 .It Li IFNET Ta Em inet Ta Li ATTACH Ta
474 .Bl -column "SYSTEM" "SUBSYSTEM" "12345678" -compact
482 .Bl -column "SYSTEM" "SUBSYSTEM" "SMART_ERROR" -compact
494 .Bl -tag -width "Bit Value" -compact
504 Media placed into read-only mode
508 Persistent memory read-only or degraded
524 .Bl -column "SYSTEM" "SUBSYSTEM" "SHUTDOWN-THRESHOLD" -compact
531 An over-voltage condition was detected on the AC power line.
545 .It Li PMU Ta Li Battery Ta Li high-temp Ta
547 .It Li PMU Ta Li Battery Ta Li low-temp Ta
551 .It Li PMU Ta Li Battery Ta Li shutdown-threshold Ta
553 .It Li PMU Ta Li Battery Ta Li warning-threshold Ta
587 .It Li PMU Ta Li USB Ta Li overvoltage Ta
588 An over-voltage condition on the power lines for the USB power pins.
589 .It Li PMU Ta Li USB Ta Li plugged Ta
590 A device has been plugged into a USB device.
591 .It Li PMU Ta Li USB Ta Li undervoltage Ta
592 An under-voltage condition on the power lines for the USB power pins.
593 .It Li PMU Ta Li USB Ta Li unplugged Ta
594 A device has been unplugged from a USB device.
597 .Bl -column "SYSTEM" "SUBSYSTEM" "12345678" -compact
607 .Bl -column "SYSTEM" "SUBSYSTEM" "12345678" -compact
609 .It Li USB Ta Ta Ta
610 Events related to the USB subsystem.
611 .It Li USB Ta Li DEVICE Ta Li ATTACH Ta
613 .It Li USB Ta Li DEVICE Ta Li DETACH Ta
615 .It Li USB Ta Li INTERFACE Ta Li ATTACH Ta
617 .It Li USB Ta Li INTERFACE Ta Li DETACH Ta
621 .Bl -column "SYSTEM" "SUBSYSTEM" "12345678" -compact
635 .Bl -column "SYSTEM" "SUBSYSTEM" "12345678" -compact
644 .Bl -column "SYSTEM" "SUBSYSTEM" "12345678" -compact
655 .Bl -column "System" "Subsystem" "1234567" -compact
679 .Bd -literal -offset indent
686 .Bd -literal -offset indent
695 C-style comments start with the two characters
704 C-style comments cannot be nested.
708 .Bd -literal -offset indent
715 C++-style comments start with the two characters
723 .Bd -literal -offset indent
733 .Dq - ,
752 .Bl -enum
777 .Bd -literal -offset indent -compact
783 .Bd -literal -offset indent -compact
787 .Bd -literal -offset indent -compact
798 .Bd -literal -offset indent -compact
806 .Bl -tag -width ".Pa /etc/devd.conf" -compact
821 .Bd -literal
852 # Match a USB device type
855 match "system" "USB";
857 match "type" "ATTACH";
859 action "logger USB video device attached";
866 attach 0 {
867 device-name "(ath|iwn)[0-9]+";
868 action "/etc/pccard_ether $device-name start";
876 device-name "(ath|iwn)[0-9]+";
877 action "/etc/pccard_ether $device-name stop";
882 .Bd -literal
883 attach 20 {
884 device-name "umodem[0-9]+";
888 action "cd /dev; p=$product; dn=$device-name; \\
889 un=$(sysctl -n dev.umodem.${dn#umodem}.ttyname); \\
890 chmod 666 cua${un}; ln -sf cua${un} mspfet${p#0x}";
896 .Dq device-name