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