devd.conf.5 (186077) | devd.conf.5 (189534) |
---|---|
1.\" 2.\" Copyright (c) 2002 M. Warner Losh 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" | 1.\" 2.\" Copyright (c) 2002 M. Warner Losh 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" |
25.\" $FreeBSD: head/sbin/devd/devd.conf.5 186077 2008-12-14 11:47:39Z phk $ | 25.\" $FreeBSD: head/sbin/devd/devd.conf.5 189534 2009-03-08 14:28:40Z kib $ |
26.\" 27.\" The section on comments was taken from named.conf.5, which has the 28.\" following copyright: 29.\" Copyright (c) 1999-2000 by Internet Software Consortium 30.\" 31.\" Permission to use, copy, modify, and distribute this software for any 32.\" purpose with or without fee is hereby granted, provided that the above 33.\" copyright notice and this permission notice appear in all copies. 34.\" 35.\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS 36.\" ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES 37.\" OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE 38.\" CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 39.\" DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 40.\" PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS 41.\" ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 42.\" SOFTWARE. 43.\" | 26.\" 27.\" The section on comments was taken from named.conf.5, which has the 28.\" following copyright: 29.\" Copyright (c) 1999-2000 by Internet Software Consortium 30.\" 31.\" Permission to use, copy, modify, and distribute this software for any 32.\" purpose with or without fee is hereby granted, provided that the above 33.\" copyright notice and this permission notice appear in all copies. 34.\" 35.\" THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS 36.\" ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES 37.\" OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE 38.\" CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 39.\" DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 40.\" PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS 41.\" ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 42.\" SOFTWARE. 43.\" |
44.Dd October 25, 2006 | 44.Dd March 8, 2009 |
45.Dt DEVD.CONF 5 46.Os 47.Sh NAME 48.Nm devd.conf 49.Nd configuration file for 50.Xr devd 8 51.Sh DESCRIPTION 52.Ss General Syntax --- 180 unchanged lines hidden (view full) --- 233.Ic match 234statement. 235.Pp 236.Bl -tag -width ".Li manufacturer" -compact 237.It Ic Variable 238.Ic Description 239.It Li bus 240Device name of parent bus. | 45.Dt DEVD.CONF 5 46.Os 47.Sh NAME 48.Nm devd.conf 49.Nd configuration file for 50.Xr devd 8 51.Sh DESCRIPTION 52.Ss General Syntax --- 180 unchanged lines hidden (view full) --- 233.Ic match 234statement. 235.Pp 236.Bl -tag -width ".Li manufacturer" -compact 237.It Ic Variable 238.Ic Description 239.It Li bus 240Device name of parent bus. |
241.It Li cdev 242Device node path if one is created by the 243.Xr devfs 5 244filesystem. |
|
241.It Li cisproduct 242CIS-product. 243.It Li cisvendor 244CIS-vendor. 245.It Li class 246Device class. 247.It Li device 248Device ID. --- 26 unchanged lines hidden (view full) --- 275.It Li vendor 276Vendor ID. 277.El 278.Ss Notify matching 279A partial list of systems, subsystems, and types used within the 280.Ic notify 281mechanism. 282.Pp | 245.It Li cisproduct 246CIS-product. 247.It Li cisvendor 248CIS-vendor. 249.It Li class 250Device class. 251.It Li device 252Device ID. --- 26 unchanged lines hidden (view full) --- 279.It Li vendor 280Vendor ID. 281.El 282.Ss Notify matching 283A partial list of systems, subsystems, and types used within the 284.Ic notify 285mechanism. 286.Pp |
283.Bl -tag -width ".Li IFNET" -compact | 287.Bl -tag -width ".Li coretemp" -compact |
284.It Sy System 285.It Li ACPI 286Events related to the ACPI subsystem. 287.Bl -tag -width ".Sy Subsystem" -compact 288.It Sy Subsystem 289.It Li ACAD 290AC line state ($notify=0x00 is offline, 0x01 is online). 291.It Li Button --- 16 unchanged lines hidden (view full) --- 308is the actual name of the network interface on which the event 309took place. 310.Bl -tag -width ".Li LINK_DOWN" -compact 311.It Sy Type 312.It Li LINK_UP 313Carrier status changed to UP. 314.It Li LINK_DOWN 315Carrier status changed to DOWN. | 288.It Sy System 289.It Li ACPI 290Events related to the ACPI subsystem. 291.Bl -tag -width ".Sy Subsystem" -compact 292.It Sy Subsystem 293.It Li ACAD 294AC line state ($notify=0x00 is offline, 0x01 is online). 295.It Li Button --- 16 unchanged lines hidden (view full) --- 312is the actual name of the network interface on which the event 313took place. 314.Bl -tag -width ".Li LINK_DOWN" -compact 315.It Sy Type 316.It Li LINK_UP 317Carrier status changed to UP. 318.It Li LINK_DOWN 319Carrier status changed to DOWN. |
320.It Li ATTACH 321The network inteface is attached to the system. 322.It Li DETACH 323The network inteface is detached from the system. |
|
316.El 317.El | 324.El 325.El |
326.It Li DEVFS 327Events related to the 328.Xr devfs 5 329filesystem. 330.Bl -tag -width ".Sy Subsystem" -compact 331.It Sy Subsystem 332.It Li CDEV 333.Bl -tag -width ".Li DESTROY" -compact 334.It Sy Type 335.It Li CREATE 336The 337.Xr devfs 5 338node is created. 339.It Li DESTROY 340The 341.Xr devfs 5 342node is destroyed. |
|
318.El | 343.El |
344.El 345.It Li coretemp 346Events related to the 347.Xr coretemp 4 348device. 349.Bl -tag -width ".Sy Subsystem" -compact 350.It Sy Subsystem 351.It Li Thermal 352Notification that the CPU core has reached critical temperature. 353.Bl -tag -width ".Ar temperature" -compact 354.It Sy Type 355.It Ar temperature 356String containing the temperature of the core that has become too hot. 357.El 358.El 359.It Li kern 360Events related to the kernel. 361.Bl -tag -width ".Sy Subsystem" -compact 362.It Sy Subsystem 363.It Li power 364Information about the state of the system. 365.Bl -tag -width ".li resume" -compact 366.It Sy Type 367.It Li resume 368Notification that the system has woken from the suspended state. 369.El 370.El 371.El |
|
319.Pp 320A link state change to UP on the interface 321.Dq Li fxp0 322would result in the following notify event: 323.Bd -literal -offset indent 324system=IFNET, subsystem=fxp0, type=LINK_UP 325.Ed 326.Pp --- 98 unchanged lines hidden (view full) --- 425 action "/etc/pccard_ether $device-name stop"; 426}; 427.Ed 428.Pp 429The installed 430.Pa /etc/devd.conf 431has many additional examples. 432.Sh SEE ALSO | 372.Pp 373A link state change to UP on the interface 374.Dq Li fxp0 375would result in the following notify event: 376.Bd -literal -offset indent 377system=IFNET, subsystem=fxp0, type=LINK_UP 378.Ed 379.Pp --- 98 unchanged lines hidden (view full) --- 478 action "/etc/pccard_ether $device-name stop"; 479}; 480.Ed 481.Pp 482The installed 483.Pa /etc/devd.conf 484has many additional examples. 485.Sh SEE ALSO |
433.Xr devd 8 | 486.Xr devd 8 , 487.Xr devfs 5 , 488.Xr coretemp 4 |