Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2012 15:30:35 +0000 (UTC)
From:      Mitsuru IWASAKI <iwasaki@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r237603 - stable/9/share/man/man4
Message-ID:  <201206261530.q5QFUZoM048286@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: iwasaki
Date: Tue Jun 26 15:30:35 2012
New Revision: 237603
URL: http://svn.freebsd.org/changeset/base/237603

Log:
  MFC 237494:
  
  - Add description about dev.acpi_ibm.0.handlerevents.

Modified:
  stable/9/share/man/man4/acpi_ibm.4
Directory Properties:
  stable/9/share/   (props changed)
  stable/9/share/man/   (props changed)
  stable/9/share/man/man4/   (props changed)

Modified: stable/9/share/man/man4/acpi_ibm.4
==============================================================================
--- stable/9/share/man/man4/acpi_ibm.4	Tue Jun 26 15:29:38 2012	(r237602)
+++ stable/9/share/man/man4/acpi_ibm.4	Tue Jun 26 15:30:35 2012	(r237603)
@@ -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 ,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206261530.q5QFUZoM048286>