APM BIOS Driver for Linux by Stephen Rothwell Stephen.Rothwell@pd.necisa.oz.au This driver interfaces to an Advanced Power Management (APM) BIOS on a system (usually a laptop) to allow the control of power management and the reporting of power management events under Linux. Currently the driver works with Linux versions 1.2.0, but it should be possible to get it to work with newer versions of the kernel. INSTALLATION: There are a set of kernel patches to be applied called kernel.patch. Use patch -p0 0 to create the device. This device may be read to get notification of APM events. Each event is returned as an unsigned short (currently in Intel order - least significant byte first). Select and O_NONBLOCK also both work. There are currently only two ioctls. These allow a user process to put the machine into suspend or standby mode. Many processes can have the device open, but only root can successfully use the ioctl's. There is now a /proc/apm file. This currently returns the status of the Power Management (including the battery status).