xref: /openbsd-src/share/man/man4/acpi.4 (revision d13be5d47e4149db2549a9828e244d59dbc43f15)
1.\"	$OpenBSD: acpi.4,v 1.41 2011/06/17 11:53:51 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: June 17 2011 $
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 acpisony 4
64Sony ACPI control
65.It Xr acpithinkpad 4
66IBM/Lenovo ThinkPad ACPI support
67.It Xr acpitimer 4
68ACPI power management timer
69.It Xr acpitoshiba 4
70Toshiba ACPI support
71.It Xr acpitz 4
72ACPI thermal zone
73.It Xr acpivideo 4
74ACPI video
75.It Xr acpivout 4
76ACPI video output
77.It Xr aibs 4
78ASUSTeK AI Booster ACPI ATK0110 temperature, voltage, and fan sensor
79.El
80.Sh FILES
81.Bl -tag -width "/dev/apmctlXXX"
82.It /dev/apm
83Power management data device.
84May only be opened read-only.
85May be opened by multiple concurrent users.
86.It /dev/apmctl
87Power management control device.
88May be opened read-write or write-only.
89May only be opened by one user at a time.
90An attempt to open the file when in use will fail, returning
91.Er EBUSY .
92.El
93.Sh SEE ALSO
94.Xr apm 4 ,
95.Xr intro 4
96.Sh HISTORY
97The
98.Nm
99driver first appeared in
100.Ox 3.8 .
101.Sh AUTHORS
102.An -nosplit
103The
104.Nm
105driver was written by
106.An Thorsten Lockert Aq tholo@sigmasoft.com
107and
108.An Jordan Hargrave Aq jordan@openbsd.org .
109