1.\" $OpenBSD: acpi.4,v 1.43 2014/02/02 12:34:28 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: February 2 2014 $ 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 acpimcfg 4 50ACPI PCI Express configuration space 51.It Xr acpicpu 4 52ACPI processor power and performance state 53.It Xr acpidock 4 54ACPI docking station 55.It Xr acpiec 4 56ACPI embedded controller 57.It Xr acpihpet 4 58ACPI high precision event timer 59.It Xr acpimadt 4 60ACPI APIC configuration 61.It Xr acpiprt 4 62ACPI PCI routing table configuration 63.It Xr acpipwrres 4 64ACPI power resources 65.It Xr acpisony 4 66Sony ACPI control 67.It Xr acpithinkpad 4 68IBM/Lenovo ThinkPad ACPI support 69.It Xr acpitimer 4 70ACPI power management timer 71.It Xr acpitoshiba 4 72Toshiba ACPI support 73.It Xr acpitz 4 74ACPI thermal zone 75.It Xr acpivideo 4 76ACPI video 77.It Xr acpivout 4 78ACPI video output 79.It Xr aibs 4 80ASUSTeK AI Booster ACPI ATK0110 temperature, voltage, and fan sensor 81.El 82.Sh FILES 83.Bl -tag -width "/dev/apmctlXXX" 84.It /dev/apm 85Power management data device. 86May only be opened read-only. 87May be opened by multiple concurrent users. 88.It /dev/apmctl 89Power management control device. 90May be opened read-write or write-only. 91May only be opened by one user at a time. 92An attempt to open the file when in use will fail, returning 93.Er EBUSY . 94.El 95.Sh SEE ALSO 96.Xr apm 4 , 97.Xr intro 4 98.Sh HISTORY 99The 100.Nm 101driver first appeared in 102.Ox 3.8 . 103.Sh AUTHORS 104.An -nosplit 105The 106.Nm 107driver was written by 108.An Thorsten Lockert Aq Mt tholo@sigmasoft.com 109and 110.An Jordan Hargrave Aq Mt jordan@openbsd.org . 111