acpi.4 revision 1.61
$OpenBSD: acpi.4,v 1.61 2020/04/14 21:46:24 jmc Exp $

Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>

Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

.Dd $Mdocdate: December 23 2019 $ .Dt ACPI 4 .Os .Sh NAME .Nm acpi .Nd Advanced Configuration and Power Interface .Sh SYNOPSIS .Cd "acpi0 at bios?" .Sh DESCRIPTION The .Nm driver provides basic support for ACPI including loading ACPI tables from the firmware, parsing and interpreting AML code, event handling, suspending and powering off, and attaching device drivers. Userland may access .Nm by using the .Xr apm 4 device.

p The following devices can attach to .Nm :

p l -tag -width "acpithinkpad(4)XXX" -offset indent -compact t Xr acpiac 4 ACPI AC adapter t Xr acpials 4 ACPI ambient light sensor t Xr acpiasus 4 ASUS ACPI hotkeys t Xr acpibat 4 ACPI control method battery t Xr acpibtn 4 ACPI button t Xr acpicbkbd 4 Chromebook keyboard backlight t Xr acpicpu 4 ACPI processor power and performance state t Xr acpidock 4 ACPI docking station t Xr acpiec 4 ACPI embedded controller t Xr acpihpet 4 ACPI high precision event timer t Xr acpihve 4 Hyper-V entropy t Xr acpimadt 4 ACPI APIC configuration t Xr acpimcfg 4 ACPI PCI Express configuration space t Xr acpipci 4 ACPI PCI host bridge t Xr acpiprt 4 ACPI PCI routing table configuration t Xr acpipwrres 4 ACPI power resources t Xr acpisbs 4 ACPI Smart Battery subsystem t Xr acpisony 4 Sony ACPI control t Xr acpisurface 4 Microsoft Surface Book ACPI support t Xr acpithinkpad 4 IBM/Lenovo ThinkPad ACPI support t Xr acpitimer 4 ACPI power management timer t Xr acpitoshiba 4 Toshiba ACPI support t Xr acpitz 4 ACPI thermal zone t Xr acpivideo 4 ACPI video t Xr acpivout 4 ACPI video output t Xr aibs 4 ASUSTeK AI Booster ACPI ATK0110 temperature, voltage, and fan sensor t Xr amdgpio 4 AMD GPIO controller t Xr aplgpio 4 Intel Apollo Lake GPIO controller t Xr bse 4 Broadcom GENET 10/100/Gigabit Ethernet device t Xr bytgpio 4 Intel Bay Trail GPIO controller t Xr ccp 4 AMD cryptographic co-processor t Xr chvgpio 4 Intel Cherry View GPIO controller t Xr dwiic 4 Synopsys DesignWare I2C controller t Xr glkgpio 4 Intel Gemini Lake GPIO controller t Xr tpm 4 Trusted Platform Module device .El .Sh FILES l -tag -width "/dev/apmctlXXX" t /dev/apm Power management data device. May only be opened read-only. May be opened by multiple concurrent users. t /dev/apmctl Power management control device. May be opened read-write or write-only. May only be opened by one user at a time. An attempt to open the file when in use will fail, returning .Er EBUSY . .El .Sh SEE ALSO .Xr apm 4 , .Xr intro 4 .Sh HISTORY The .Nm driver first appeared in .Ox 3.8 . .Sh AUTHORS .An -nosplit The .Nm driver was written by .An Thorsten Lockert Aq Mt tholo@sigmasoft.com and .An Jordan Hargrave Aq Mt jordan@openbsd.org .