xref: /netbsd/share/man/man4/pmu.4 (revision 6550d01e)
1.\" $NetBSD: pmu.4,v 1.3 2009/03/09 19:24:28 joerg Exp $
2.\"
3.\" Copyright (c) 2007
4.\" 	Michael Lorenz.  All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
27.Dd May 14, 2007
28.Dt PMU 4
29.Os
30.Sh NAME
31.Nm pmu
32.Nd support for Power Management Units found in all Apple laptops and some
33desktop Power Macintosh computers
34.Sh SYNOPSIS
35.Cd "pmu* at obio?"
36.Cd "nadb* at pmu?"
37.Cd "battery* at pmu?"
38.Cd "smartbat* at pmu?"
39.Sh DESCRIPTION
40The
41.Nm
42driver provides support for the Power Management Unit found in
43Apple laptops and some desktop Power Macintosh computers.
44Functions controlled by the PMU include the real time clock, ADB,
45power, batteries, on some laptops like the PowerBook 3400c and
46similar machines it also controls hotkeys and display brightness,
47on others it provides an
48.Xr iic 9
49bus and on some it controls CPU speed.
50On many older machines it also provides access to some non-volatile
51memory and thermal sensors.
52Not all those features are present on all machines, for instance
53Power Macintosh G4 and later machines don't have ADB, many more
54recent laptops have display brightness and backlight control built
55into the graphics controller instead of the PMU, only a few older
56PowerBooks use the PMU for CPU speed control and newer machines
57use a different way to access non-volatile memory.
58However, all known PMUs so far provide a real time clock and power
59control.
60.Ss Notes by model
61Real time clock and power control are present and supported on all
62machines that can run
63.Nx Ns Tn /macppc ,
64ADB is supported when present.
65.Bl -tag
66.It Dv PowerBook 2400, 3400c, and 3500
67Battery status and thermal sensors found on the mainboard and in
68the battery pack are supported by the
69.Xr battery 4
70driver, values can be read via
71.Xr envsys 4 .
72Hotkeys for brightness control are supported, CPU speed control
73and parameter RAM are present but unsupported.
74.It Dv Power Macintosh G4
75ADB is not present,
76.Xr iic 9
77is present but unsupported.
78.El
79.Sh SEE ALSO
80.Xr battery 4 ,
81.Xr cuda 4 ,
82.Xr nadb 4 ,
83.Xr nvram 4 ,
84.Xr obio 4 ,
85.Xr iic 9
86.\" .Xr smartbat 4
87.Sh BUGS
88Some features are currently unsupported, like the
89.Xr iic 9
90bus, access to parameter RAM and CPU speed control.
91