xref: /openbsd-src/share/man/man4/acpi.4 (revision 7bbe964f6b7d22ad07ca46292495604f942eba4e)
1.\"	$OpenBSD: acpi.4,v 1.37 2009/07/23 06:42:27 jmc Exp $
2.\"
3.\" Copyright (c) 2006 Alexander Yurchenko <grange@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 23 2009 $
18.Dt ACPI 4
19.Os
20.Sh NAME
21.Nm acpi
22.Nd Advanced Configuration and Power Interface
23.Sh SYNOPSIS
24.Cd "acpi0 at bios?"
25.Sh DESCRIPTION
26The
27.Nm
28driver provides basic support for ACPI including loading ACPI tables from
29the firmware, parsing and interpreting AML code, event handling,
30suspending and powering off, and attaching device drivers.
31Userland may access
32.Nm
33by using the
34.Xr apm 4
35device.
36.Pp
37The following devices can attach to
38.Nm :
39.Pp
40.Bl -tag -width "acpithinkpad(4)XXX" -offset indent -compact
41.It Xr acpiac 4
42ACPI AC adapter
43.It Xr acpiasus 4
44ASUS ACPI hotkeys
45.It Xr acpibat 4
46ACPI control method battery
47.It Xr acpibtn 4
48ACPI button
49.It Xr acpicpu 4
50ACPI processor power and performance state
51.It Xr acpidock 4
52ACPI docking station
53.It Xr acpiec 4
54ACPI embedded controller
55.It Xr acpihpet 4
56ACPI high precision event timer
57.It Xr acpimadt 4
58ACPI APIC configuration
59.It Xr acpiprt 4
60ACPI PCI routing table configuration
61.It Xr acpipwrres 4
62ACPI power resources
63.It Xr acpithinkpad 4
64IBM/Lenovo ThinkPad ACPI support
65.It Xr acpitimer 4
66ACPI power management timer
67.It Xr acpitz 4
68ACPI thermal zone
69.It Xr acpivideo 4
70ACPI video
71.It Xr acpivout 4
72ACPI video output
73.It Xr aibs 4
74ASUSTeK AI Booster ACPI ATK0110 temperature, voltage, and fan sensor
75.El
76.Sh FILES
77.Bl -tag -width "/dev/apmctlXXX"
78.It /dev/apm
79Power management data device.
80May only be opened read-only.
81May be opened by multiple concurrent users.
82.It /dev/apmctl
83Power management control device.
84May be opened read-write or write-only.
85May only be opened by one user at a time.
86An attempt to open the file when in use will fail, returning
87.Er EBUSY .
88.El
89.Sh SEE ALSO
90.Xr apm 4 ,
91.Xr intro 4
92.Sh HISTORY
93The
94.Nm
95driver first appeared in
96.Ox 3.8 .
97.Sh AUTHORS
98.An -nosplit
99The
100.Nm
101driver was written by
102.An Thorsten Lockert Aq tholo@sigmasoft.com
103and
104.An Jordan Hargrave Aq jordan@openbsd.org .
105