1.\" $OpenBSD: acpi.4,v 1.57 2019/04/23 20:23:36 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: April 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 bytgpio 4 94Intel Bay Trail GPIO controller 95.It Xr ccp 4 96AMD cryptographic co-processor 97.It Xr chvgpio 4 98Intel Cherry View GPIO controller 99.It Xr dwiic 4 100Synopsys DesignWare I2C controller 101.It Xr tpm 4 102Trusted Platform Module device 103.El 104.Sh FILES 105.Bl -tag -width "/dev/apmctlXXX" 106.It /dev/apm 107Power management data device. 108May only be opened read-only. 109May be opened by multiple concurrent users. 110.It /dev/apmctl 111Power management control device. 112May be opened read-write or write-only. 113May only be opened by one user at a time. 114An attempt to open the file when in use will fail, returning 115.Er EBUSY . 116.El 117.Sh SEE ALSO 118.Xr apm 4 , 119.Xr intro 4 120.Sh HISTORY 121The 122.Nm 123driver first appeared in 124.Ox 3.8 . 125.Sh AUTHORS 126.An -nosplit 127The 128.Nm 129driver was written by 130.An Thorsten Lockert Aq Mt tholo@sigmasoft.com 131and 132.An Jordan Hargrave Aq Mt jordan@openbsd.org . 133