APM Driver

Japanese version


This driver enables APM in BeOS R4.5/R5 x86. You can use power management functions (power-off, power status acquisition etc.) in a notebook PC or an ATX PC.

If you simply want power-off, edit the kernel settings file according to BeOS Tip Server, or use PrimalToys to activate "Power-off on system shutdown" (and "Enable BIOS power management" if necessary) in "Kernel Settings". It allows most recent PCs to turn power off.


Use the latest BIOS whenever possible.

The author has tested under following environments:


Run install.sh for installation. It copies executable files and edits the kernel settings file if necessary. Reboot the system after installation.

Run uninstall.sh for uninstallation.


With this driver APM is enabled and the following functions are available:

The utility apmctl controls APM via the driver.

apmctl status
Prints current power status.
apmctl poweroff
Turns off the power in a few seconds. Confirmation required. Normal shutdown process does not take place. Do not use in usual situations.
apmctl bios AX BX CX DX SI DI
Calls APM BIOS. Takes up to 6 parameters in hexadecimal and stores them in AX, BX, CX, DX, SI and DI registers respectively and calls APM BIOS (AH is set to 53H). Upon return, prints error code and each register's value in hexadecimal. However, AX value is not printed because it is junk. Take great care as wrong parameters (or occasionally, even correct parameters) may cause the system to malfunction such as freeze.

Besides, you can use BatteryView and MetalBatteryChecker for battery status monitoring.


Many APM BIOS implementations have problems or do not conform to the specification. The author provides some workarounds for the problems encountered, but the driver may still malfunction on some systems.

As standby/suspend/hibernation do not work practically they are no longer supported. And therefore you don't need to run apmd. These functions are not removed and you could still use them as before, but it is discouraged.


The author does not claim any rights on this software. The author does not place any restrictions on use and distribution of this software. The author is not liable for the result of operating this software. The author is under no obligation to fix bugs.

The latest version is available in the author's web page.


Alpha1 (1999.3.10)
Alpha2 (1999.3.14)
Alpha3 (1999.8.3)
Alpha3.1 (2000.6.5)
1.00 (2000.11.25)