ACPI(4) - Device Drivers Manual # ACPI(4) - Device Drivers Manual
NAME # acpi - Advanced Configuration and Power Interface
SYNOPSIS # acpi0 at bios?
DESCRIPTION # The acpi 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 acpi by using the apm(4) device.
The following devices can attach to acpi:
...
APM(4) - Device Drivers Manual (amd64) # APM(4) - Device Drivers Manual (amd64)
NAME # apm - power management interface
SYNOPSIS # acpi0 at mainbus?
DESCRIPTION # The apm driver provides a user interface to the acpi(4) driver.
The apm driver implements the following ioctl(2) calls. They are defined in <machine/apmvar.h>.
APM_IOC_REJECT
Not implemented. DO NOT USE.
APM_IOC_STANDBY
(no parameters) Request “standby” mode.
APM_IOC_SUSPEND
(no parameters) Request “suspend” mode.
...
APM(4) - Device Drivers Manual (arm64) # APM(4) - Device Drivers Manual (arm64)
NAME # apm - power management interface
SYNOPSIS # apm0 at mainbus?
DESCRIPTION # The apm driver provides an interface which simulates the Advanced Power Management (APM) BIOS functions.
Suspend/resume and other power events are NOT YET SUPPORTED.
The apm driver implements the following ioctl(2) calls. They are defined in <machine/apmvar.h>.
APM_IOC_REJECT
Not implemented. DO NOT USE.
...
APM(4) - Device Drivers Manual (i386) # APM(4) - Device Drivers Manual (i386)
NAME # apm - advanced power management device interface
SYNOPSIS # apm0 at bios0 flags 0x0000
DESCRIPTION # The apm driver provides an interface to the Advanced Power Management (APM) BIOS functions. The driver supports versions 1.0, 1.1, and 1.2 interface specifications.
This driver also provides an interface to acpi(4) on some machines.
The low two bytes of the flags specify the version of the specification driver should conform to in binary decimal notation.
...
APM(4) - Device Drivers Manual (loongson) # APM(4) - Device Drivers Manual (loongson)
NAME # apm - advanced power management device interface
SYNOPSIS # apm0 at mainbus0
DESCRIPTION # The apm driver provides generic power and battery control, relying on device specific drivers to provide the actual information.
The apm driver provides an interface which simulates the Advanced Power Management (APM) BIOS functions encountered on some x86 hardware. The BIOS functions are translated into the appropriate microcontroller requests by the hardware specific drivers, like ykbec(4).
...
APM(4) - Device Drivers Manual (macppc) # APM(4) - Device Drivers Manual (macppc)
NAME # apm - advanced power management device interface
SYNOPSIS # apm0 at adb?
DESCRIPTION # The apm driver provides an interface which simulates the Advanced Power Management (APM) BIOS functions. The BIOS functions are translated into the appropriate PowerManager requests. Currently only battery level, AC connection, and charging status is available from the apm device.
...
APM(8) - System Manager’s Manual # APM(8) - System Manager’s Manual
NAME # apm, zzz, ZZZ - Advanced Power Management control program
SYNOPSIS # apm [-AabHLlmPSvZz] [-f sockname]
zzz [-SZz] [-f sockname]
ZZZ [-SZz] [-f sockname]
DESCRIPTION # apm communicates with the Advanced Power Management daemon, apmd(8), making requests of it for current power status or to place the system into a suspend or stand-by state. With no flags, apm displays the current power management state in verbose form.
...
APMD(8) - System Manager’s Manual # APMD(8) - System Manager’s Manual
NAME # apmd - Advanced Power Management daemon
SYNOPSIS # apmd [-AadHLs] [-f devname] [-S sockname] [-t seconds] [-Z percent] [-z percent]
DESCRIPTION # apmd monitors the advanced power management device, apm(4), acting on signaled events and upon user requests as sent by the apm(8) program.
For suspend and standby request events delivered by the BIOS, or via apm(8), apmd runs the appropriate configuration program (if one exists), syncs the buffer cache to disk and initiates the requested state.
...
BIOS(4) - Device Drivers Manual (i386) # BIOS(4) - Device Drivers Manual (i386)
NAME # bios - a driver for PC Firmware, aka BIOS
SYNOPSIS # bios0 at mainbus0 flags 0x0000 apm0 at bios0 flags 0x0000 pcibios0 at bios0 flags 0x0000
DESCRIPTION # OpenBSD provides support for PC firmware, aka BIOS and some of its functions, currently: APM subsystem, BIOS32 extensions, PCI BIOS subsystem.
The bios driver also identifies BIOS type (such as “AT/286+”, which is almost always used in modern machines) and BIOS image date stamp, which is, presumably, the day the BIOS image was compiled by vendor and could be used as a crude BIOS version identification.
...
PIJUICE(4) - Device Drivers Manual # PIJUICE(4) - Device Drivers Manual
NAME # pijuice - PiJuice HAT UPS
SYNOPSIS # pijuice* at iic?
DESCRIPTION # The pijuice driver provides support for the PiJuice HAT, an uninterruptible power supply for the Raspberry Pi. The integrated STM32F030CCT6 micro controller provides access through the I2C bus to several battery status values.
SEE ALSO # iic(4), intro(4), maxrtc(4), apm(8), sysctl(8)
HISTORY # The pijuice driver first appeared in OpenBSD 7.
...