GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PMU(4) FreeBSD Kernel Interfaces Manual PMU(4)

pmuApple PMU99 Power Management Driver

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

device adb
device pmu

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.

Chips supported by the pmu driver include:

  • Apple KeyLargo PMU
  • Apple K2-KeyLargo PMU

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.

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

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

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

December 6, 2008 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 4 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.