1.\" $OpenBSD: acpi.4,v 1.51 2016/08/23 18:58:53 jcs 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: August 23 2016 $ 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 acpials 4 44ACPI ambient light sensor 45.It Xr acpiasus 4 46ASUS ACPI hotkeys 47.It Xr acpibat 4 48ACPI control method battery 49.It Xr acpibtn 4 50ACPI button 51.It Xr acpicbkbd 4 52Chromebook keyboard backlight 53.It Xr acpicpu 4 54ACPI processor power and performance state 55.It Xr acpidock 4 56ACPI docking station 57.It Xr acpiec 4 58ACPI embedded controller 59.It Xr acpihpet 4 60ACPI high precision event timer 61.It Xr acpimadt 4 62ACPI APIC configuration 63.It Xr acpimcfg 4 64ACPI PCI Express configuration space 65.It Xr acpiprt 4 66ACPI PCI routing table configuration 67.It Xr acpipwrres 4 68ACPI power resources 69.It Xr acpisony 4 70Sony ACPI control 71.It Xr acpithinkpad 4 72IBM/Lenovo ThinkPad ACPI support 73.It Xr acpitimer 4 74ACPI power management timer 75.It Xr acpitoshiba 4 76Toshiba ACPI support 77.It Xr acpitz 4 78ACPI thermal zone 79.It Xr acpivideo 4 80ACPI video 81.It Xr acpivout 4 82ACPI video output 83.It Xr aibs 4 84ASUSTeK AI Booster ACPI ATK0110 temperature, voltage, and fan sensor 85.It Xr bytgpio 4 86Intel Bay Trail GPIO controller 87.It Xr chvgpio 4 88Intel Cherry View GPIO controller 89.It Xr dwiic 4 90Synopsys DesignWare I2C controller 91.It Xr tpm 4 92Trusted Platform Module device 93.El 94.Sh FILES 95.Bl -tag -width "/dev/apmctlXXX" 96.It /dev/apm 97Power management data device. 98May only be opened read-only. 99May be opened by multiple concurrent users. 100.It /dev/apmctl 101Power management control device. 102May be opened read-write or write-only. 103May only be opened by one user at a time. 104An attempt to open the file when in use will fail, returning 105.Er EBUSY . 106.El 107.Sh SEE ALSO 108.Xr apm 4 , 109.Xr intro 4 110.Sh HISTORY 111The 112.Nm 113driver first appeared in 114.Ox 3.8 . 115.Sh AUTHORS 116.An -nosplit 117The 118.Nm 119driver was written by 120.An Thorsten Lockert Aq Mt tholo@sigmasoft.com 121and 122.An Jordan Hargrave Aq Mt jordan@openbsd.org . 123