PMU(4)
π PMU(4) π
okay so welcome to the powerpc Kernel Interfaces Manual entry for PMU(4) β itβs giving iconic Apple power-brain energy, no cap β¨
πΈ NAME πΈ
pmu β the Apple PMU99 Power Management Driver, bestie π
π οΈ 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. Literally the whole era, bestie π
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. Itβs giving βone chip, many jobsβ main character energy π₯
π HARDWARE π
Chips supported by the pmu driver include:
- Apple KeyLargo PMU
- Apple K2-KeyLargo PMU
β‘ 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. Peek at the vibes, bestie π«Ά
dev.pmu.%d.server_modeβ Restart after power failure behavior (1causes system to reboot after power cut,0causes 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) β go read the bestie cross-refs, iykyk π
π HISTORY π
The pmu device driver appeared in NetBSD 4.0, and then in FreeBSD 8.0. Slay, generational crossover β¨
π AUTHORS π
The pmu driver was written by Michael Lorenz <macallan@NetBSD.org> and ported to FreeBSD by Nathan Whitehorn <nwhitehorn@FreeBSD.org>. Iconic collab, fr fr π
this cutie came from Debian, dated December 6, 2008, and itβs PMU(4) β mwah π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2008 Nathan Whitehorn <nwhitehorn@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms