1.\" $OpenBSD: acpi.4,v 1.33 2008/06/07 17:00:38 marco 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 7 2008 $ 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 acpithinkpad 4 62IBM/Lenovo ThinkPad ACPI support 63.It Xr acpitimer 4 64ACPI power management timer 65.It Xr acpitz 4 66ACPI thermal zone 67.El 68.Sh FILES 69.Bl -tag -width "/dev/apmctlXXX" 70.It /dev/apm 71Power management data device. 72May only be opened read-only. 73May be opened by multiple concurrent users. 74.It /dev/apmctl 75Power management control device. 76May be opened read-write or write-only. 77May only be opened by one user at a time. 78An attempt to open the file when in use will fail, returning 79.Er EBUSY . 80.El 81.Sh SEE ALSO 82.Xr apm 4 , 83.Xr intro 4 84.Sh HISTORY 85The 86.Nm 87driver first appeared in 88.Ox 3.8 . 89.Sh AUTHORS 90.An -nosplit 91The 92.Nm 93driver was written by 94.An Thorsten Lockert Aq tholo@sigmasoft.com 95and 96.An Jordan Hargrave Aq jordan@openbsd.org . 97