tail head cat sleep
QR code linking to this page

Manual Pages  — PMU

NAME

pmu – Apple PMU99 Power Management Driver

CONTENTS

SYNOPSIS

To compile this driver into the kernel, place the following lines in your kernel configuration file: device adb device pmu

DESCRIPTION

The pmu driver provides support for the Power Management Unit (PMU) found in Apple Core99 hardware. This includes late G3 laptops, all G4 machines, early G5 desktops and all G5 XServes.

The Apple PMU controller is a multi-purpose ASIC that provides power management and thermal control, as well as an ADB bus for the internal keyboard and mouse on laptops.

HARDWARE

Chips supported by the pmu driver include:

SYSCTL VARIABLES

The pmu driver provides power management services in addition to an adb(4) interface. The following sysctls can be used to control the power management behavior and to examine current system power and thermal conditions.
dev.pmu.%d.server_mode
  Restart after power failure behavior (1 causes system to reboot after power cut, 0 causes system to remain off).
dev.pmu.%d.batteries.%d.present
  Indicates whether the relevant battery is inserted.
dev.pmu.%d.batteries.%d.charging
  Indicates whether the battery is currently charging.
dev.pmu.%d.batteries.%d.charge
  The current battery charge, in milliamp hours.
dev.pmu.%d.batteries.%d.maxcharge
  The battery's self-reported maximum charge, in milliamp hours.
dev.pmu.%d.batteries.%d.rate
  The current into the battery, in milliamps. While the battery is discharging, this will be negative.
dev.pmu.%d.batteries.%d.voltage
  Battery voltage, in millivolts.
dev.pmu.%d.batteries.%d.time
  Estimated time until full battery charge (or discharge), in minutes.
dev.pmu.%d.batteries.%d.life
  Current fraction of the battery's maximum charge, in percent.

SEE ALSO

acpi(4), adb(4), led(4)

HISTORY

The pmu device driver appeared in NetBSD and then in FreeBSD 8.0 .

AUTHORS

The pmu driver was written by Michael Lorenz <Mt macallan@NetBSD.org> and ported to FreeBSD by Nathan Whitehorn <Mt nwhitehorn@FreeBSD.org>.

PMU (4) December 6, 2008

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

There are 10 types of people in the world: those who understand binary, and those who don't.