1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
.\" $OpenBSD: acpi.4,v 1.9 2006/10/03 20:37:41 mk Exp $
.\"
.\" Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd January 7, 2006
.Dt ACPI 4
.Os
.Sh NAME
.Nm acpi ,
.Nm acpiac ,
.Nm acpibat ,
.Nm acpiec ,
.Nm acpihpet ,
.Nm acpitimer ,
.Nm acpitz
.Nd Advanced Configuration and Power Interface
.Sh SYNOPSIS
.Cd "acpi0 at mainbus?"
.Cd "acpiac* at acpi?"
.Cd "acpibat* at acpi?"
.Cd "acpiec* at acpi?"
.Cd "acpihpet* at acpi?"
.Cd "acpitimer* at acpi?"
.Cd "acpitz* at acpi?"
.Pp
.Cd "option ACPIVERBOSE"
.Cd "option ACPI_ENABLE"
.Sh DESCRIPTION
The
.Nm
driver provides basic support for ACPI including loading ACPI tables from
the firmware, parsing and interpreting AML code, event handling,
suspending and powering off, and attaching device drivers.
.Pp
The
.Nm acpiec
driver provides access to ACPI Embedded Controllers for other ACPI devices.
AC power source status is updated every 10 seconds.
.Pp
The
.Nm acpibat
driver supports the ACPI Control Method Battery interface between the
battery and the host.
Information about the battery, such as capacity, recharge rate, voltage,
and serial number, is available through this driver.
Battery status is updated every 10 seconds.
.Pp
The
.Nm acpiec
driver supports ACPI Embedded Controllers.
It provides embedded controller access for other ACPI devices.
On many systems
which have an
.Nm acpiec
device, other ACPI devices such as
.Nm acpiac ,
.Nm acpibat ,
and
.Nm acpitz
implicitly depend on the
.Nm acpiec
device.
.Pp
The
.Nm acpihpet
driver provides support for the high precision event timer to be used
as a timecounter for the
.Xr tc_init 9
framework.
.Pp
The
.Nm acpitimer
driver allows access to a power management timer through the ACPI.
The timer is used as a timecounter for the
.Xr tc_init 9
framework.
.Pp
The
.Nm acpitz
driver supports ACPI Thermal Zones.
Temperature information is available through this driver as a sensor
which is updated every 10 seconds.
.\" If the temperature exceeds the
.\" .Sq critical
.\" temperature threshold, the system will be shut down.
.Pp
If the configuration option
.Dq Dv ACPIVERBOSE
is set, information about all detected ACPI devices will be displayed
on boot.
.Pp
If the configuration option
.Dq Dv ACPI_ENABLE
is set, the
.Nm
driver will take control of ACPI from the firmware (BIOS).
WARNING: this may cause an overheating on some machines since
.Nm
doesn't provide any thermal or cooling control.
.Pp
Some devices, such as
.Nm acpiac ,
provide hardware information via sensors
that can be monitored using
.Xr sysctl 8
or
.Xr sensorsd 8 .
.Sh SEE ALSO
.Xr intro 4 ,
.Xr sensorsd 8 ,
.Xr sysctl 8 ,
.Xr tc_init 9
.Sh HISTORY
The
.Nm acpi ,
.Nm acpiac ,
.Nm acpibat ,
.Nm acpiec ,
.Nm acpihpet ,
.Nm acpitimer ,
and
.Nm acpitz
drivers first appeared in
.Ox 3.8 .
.Sh AUTHORS
.An -nosplit
The
.Nm acpi ,
.Nm acpihpet ,
and
.Nm acpitimer
drivers were written by
.An Thorsten Lockert Aq tholo@sigmasoft.com .
The
.Nm acpiac ,
.Nm acpibat ,
and
.Nm acpitz
drivers were written by
.An Marco Peereboom Aq marco@openbsd.org .
The
.Nm acpiec
driver was written by
.An Can Erkin Acar Aq canacar@openbsd.org .
.Sh BUGS
Some systems do not propagate battery insertion up to the driver.
.Pp
Smart Battery Specification-based batteries are not supported.
|