xref: /openbsd/share/man/man4/acpibtn.4 (revision e5dd7070)
1.\"	$OpenBSD: acpibtn.4,v 1.5 2013/07/16 16:05:48 schwarze Exp $
2.\"
3.\" Copyright (c) 2006 Michael Knudsen <mk@openbsd.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd $Mdocdate: July 16 2013 $
18.Dt ACPIBTN 4
19.Os
20.Sh NAME
21.Nm acpibtn
22.Nd ACPI button
23.Sh SYNOPSIS
24.Cd "acpibtn* at acpi?"
25.Sh DESCRIPTION
26The
27.Nm
28driver is used to handle the event triggered when the user presses an ACPI
29button.
30Currently, the only event handled is the press of a power button which
31causes the system to perform a regular system shutdown and power off the
32machine if the
33.Va hw.allowpowerdown
34.Xr sysctl 8
35is set to 1.
36.Sh SEE ALSO
37.Xr acpi 4 ,
38.Xr intro 4
39.Sh HISTORY
40The
41.Nm
42driver first appeared in
43.Ox 3.9 .
44.Sh AUTHORS
45.An -nosplit
46The
47.Nm
48driver was written by
49.An Marco Peereboom Aq Mt marco@openbsd.org .
50