1.\" $OpenBSD: acpi.4,v 1.60 2019/12/23 08:05:42 kettenis 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: December 23 2019 $ 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 acpihve 4 62Hyper-V entropy 63.It Xr acpimadt 4 64ACPI APIC configuration 65.It Xr acpimcfg 4 66ACPI PCI Express configuration space 67.It Xr acpipci 4 68ACPI PCI host bridge 69.It Xr acpiprt 4 70ACPI PCI routing table configuration 71.It Xr acpipwrres 4 72ACPI power resources 73.It Xr acpisbs 4 74ACPI Smart Battery subsystem 75.It Xr acpisony 4 76Sony ACPI control 77.It Xr acpisurface 4 78Microsoft Surface Book ACPI support 79.It Xr acpithinkpad 4 80IBM/Lenovo ThinkPad ACPI support 81.It Xr acpitimer 4 82ACPI power management timer 83.It Xr acpitoshiba 4 84Toshiba ACPI support 85.It Xr acpitz 4 86ACPI thermal zone 87.It Xr acpivideo 4 88ACPI video 89.It Xr acpivout 4 90ACPI video output 91.It Xr aibs 4 92ASUSTeK AI Booster ACPI ATK0110 temperature, voltage, and fan sensor 93.It Xr amdgpio 4 94AMD GPIO controller 95.It Xr aplgpio 4 96Intel Apollo Lake GPIO controller 97.It Xr bytgpio 4 98Intel Bay Trail GPIO controller 99.It Xr ccp 4 100AMD cryptographic co-processor 101.It Xr chvgpio 4 102Intel Cherry View GPIO controller 103.It Xr dwiic 4 104Synopsys DesignWare I2C controller 105.It Xr glkgpio 4 106Intel Gemini Lake GPIO controller 107.It Xr tpm 4 108Trusted Platform Module device 109.El 110.Sh FILES 111.Bl -tag -width "/dev/apmctlXXX" 112.It /dev/apm 113Power management data device. 114May only be opened read-only. 115May be opened by multiple concurrent users. 116.It /dev/apmctl 117Power management control device. 118May be opened read-write or write-only. 119May only be opened by one user at a time. 120An attempt to open the file when in use will fail, returning 121.Er EBUSY . 122.El 123.Sh SEE ALSO 124.Xr apm 4 , 125.Xr intro 4 126.Sh HISTORY 127The 128.Nm 129driver first appeared in 130.Ox 3.8 . 131.Sh AUTHORS 132.An -nosplit 133The 134.Nm 135driver was written by 136.An Thorsten Lockert Aq Mt tholo@sigmasoft.com 137and 138.An Jordan Hargrave Aq Mt jordan@openbsd.org . 139