Module Name: src Committed By: jruoho Date: Sun Apr 25 07:12:10 UTC 2010
Modified Files: src/share/man/man4: acpibut.4 Log Message: Update. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/acpibut.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man4/acpibut.4 diff -u src/share/man/man4/acpibut.4:1.3 src/share/man/man4/acpibut.4:1.4 --- src/share/man/man4/acpibut.4:1.3 Wed Apr 30 13:10:53 2008 +++ src/share/man/man4/acpibut.4 Sun Apr 25 07:12:10 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: acpibut.4,v 1.3 2008/04/30 13:10:53 martin Exp $ +.\" $NetBSD: acpibut.4,v 1.4 2010/04/25 07:12:10 jruoho Exp $ .\" .\" Copyright (c) 2002, 2004 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd April 25, 2004 +.Dd April 25, 2010 .Dt ACPIBUT 4 .Os .Sh NAME @@ -35,13 +35,21 @@ .Sh DESCRIPTION The .Nm -driver supports ACPI fixed-feature or control method power/sleep buttons. -Actions against these buttons can be configured using the +driver supports two kinds of +.Tn ACPI +buttons: +.Bl -column -offset indent "Button " "/etc/powerd/scripts/power_button" +.It Sy Button Ta Sy Script +.It Li Power Ta Pa /etc/powerd/scripts/power_button +.It Li Sleep Ta Pa /etc/powerd/scripts/sleep_button +.El +.Pp +When a button is pressed, the .Xr powerd 8 -daemon. +daemon, if running, +will execute the corresponding script. .Sh SEE ALSO .Xr acpi 4 , -.\" .Xr sysmon 4 , .Xr powerd 8 .Sh HISTORY The