aboutsummaryrefslogtreecommitdiff
path: root/share/man/man4
diff options
context:
space:
mode:
authorMitsuru IWASAKI <iwasaki@FreeBSD.org>2012-06-23 18:45:32 +0000
committerMitsuru IWASAKI <iwasaki@FreeBSD.org>2012-06-23 18:45:32 +0000
commit154be29631bf4ae8293e6d196ece43b902ee8450 (patch)
tree3402bea0208cfc497b6831e902c6017941321199 /share/man/man4
parentae2f080bc490564644934cb543fb7424319d93db (diff)
downloadsrc-154be29631bf4ae8293e6d196ece43b902ee8450.tar.gz
src-154be29631bf4ae8293e6d196ece43b902ee8450.zip
Add description about dev.acpi_ibm.0.handlerevents.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=237494
Diffstat (limited to 'share/man/man4')
-rw-r--r--share/man/man4/acpi_ibm.427
1 files changed, 26 insertions, 1 deletions
diff --git a/share/man/man4/acpi_ibm.4 b/share/man/man4/acpi_ibm.4
index 376b64d109c1..cd9993d79df9 100644
--- a/share/man/man4/acpi_ibm.4
+++ b/share/man/man4/acpi_ibm.4
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 8, 2010
+.Dd June 24, 2012
.Dt ACPI_IBM 4
.Os
.Sh NAME
@@ -335,6 +335,17 @@ Built-in battery
.It
UltraBay battery
.El
+.It Va dev.acpi_ibm.0.handlerevents
+.Xr devd 8
+events handled by
+.Nm
+when
+.Va events
+is set to 1.
+Events are specified as a whitespace-separated list of event code in
+hexadecimal or decimal form.
+Note that the event maybe handled twice (eg. Brightness up/down) if ACPI BIOS
+already handled the event.
.El
.Pp
Defaults for these sysctls can be set in
@@ -436,6 +447,20 @@ then
fi
exit 0
.Ed
+.Pp
+The following example specify that event code 0x04 (Suspend to RAM),
+0x10 (Brightness up) and 0x11 (Brightness down) are handled by
+.Nm .
+.Bd -literal -offset indent
+sysctl dev.acpi_ibm.0.handlerevents='0x04 0x10 0x11'
+.Ed
+.Pp
+in
+.Xr sysctl.conf 5 :
+.Bd -literal -offset indent
+dev.acpi_ibm.0.handlerevents=0x04\\ 0x10\\ 0x11
+.Ed
+.Pp
.Sh SEE ALSO
.Xr acpi 4 ,
.Xr led 4 ,