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