xref: /freebsd/share/man/man4/man4.powerpc/pmu.4 (revision c812acce0772183b9b8dbc6c5262ecc735733fbc)
1c812acceSNathan Whitehorn.\"-
2c812acceSNathan Whitehorn.\" Copyright (c) 2008 Nathan Whitehorn <nwhitehorn@FreeBSD.org>
3c812acceSNathan Whitehorn.\" All rights reserved.
4c812acceSNathan Whitehorn.\"
5c812acceSNathan Whitehorn.\" Redistribution and use in source and binary forms, with or without
6c812acceSNathan Whitehorn.\" modification, are permitted provided that the following conditions
7c812acceSNathan Whitehorn.\" are met:
8c812acceSNathan Whitehorn.\" 1. Redistributions of source code must retain the above copyright
9c812acceSNathan Whitehorn.\"    notice, this list of conditions and the following disclaimer.
10c812acceSNathan Whitehorn.\" 2. Redistributions in binary form must reproduce the above copyright
11c812acceSNathan Whitehorn.\"    notice, this list of conditions and the following disclaimer in the
12c812acceSNathan Whitehorn.\"    documentation and/or other materials provided with the distribution.
13c812acceSNathan Whitehorn.\"
14c812acceSNathan Whitehorn.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15c812acceSNathan Whitehorn.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16c812acceSNathan Whitehorn.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17c812acceSNathan Whitehorn.\" DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
18c812acceSNathan Whitehorn.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19c812acceSNathan Whitehorn.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20c812acceSNathan Whitehorn.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21c812acceSNathan Whitehorn.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
22c812acceSNathan Whitehorn.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
23c812acceSNathan Whitehorn.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24c812acceSNathan Whitehorn.\" POSSIBILITY OF SUCH DAMAGE.
25c812acceSNathan Whitehorn.\"
26c812acceSNathan Whitehorn.\" $FreeBSD$
27c812acceSNathan Whitehorn.\"
28c812acceSNathan Whitehorn.Dd December 6, 2008
29c812acceSNathan Whitehorn.Dt PMU 4
30c812acceSNathan Whitehorn.Os
31c812acceSNathan Whitehorn.Sh NAME
32c812acceSNathan Whitehorn.Nm pmu
33c812acceSNathan Whitehorn.Nd Apple PMU99 Power Management Driver
34c812acceSNathan Whitehorn.Sh SYNOPSIS
35c812acceSNathan WhitehornTo compile this driver into the kernel,
36c812acceSNathan Whitehornplace the following lines in your
37c812acceSNathan Whitehornkernel configuration file:
38c812acceSNathan Whitehorn.Bd -ragged -offset indent
39c812acceSNathan Whitehorn.Cd "device adb"
40c812acceSNathan Whitehorn.Cd "device pmu"
41c812acceSNathan Whitehorn.Ed
42c812acceSNathan Whitehorn.Sh DESCRIPTION
43c812acceSNathan WhitehornThe
44c812acceSNathan Whitehorn.Nm
45c812acceSNathan Whitehorndriver provides support for the Power Management Unit (PMU) find in Apple
46c812acceSNathan WhitehornCore99 hardware. This includes late G3 laptops, all G4 machines, early G5
47c812acceSNathan Whitehorndesktops and all G5 XServes.
48c812acceSNathan Whitehorn.Ed
49c812acceSNathan Whitehorn.Pp
50c812acceSNathan WhitehornThe Apple PMU controller is a multi-purpose ASIC that provides power
51c812acceSNathan Whitehornmanagement and thermal control, as well as an ADB bus for the internal
52c812acceSNathan Whitehornkeyboard and mouse on laptops.
53c812acceSNathan Whitehorn.Sh HARDWARE
54c812acceSNathan Whitehorn.Pp
55c812acceSNathan WhitehornChips supported by the
56c812acceSNathan Whitehorn.Nm
57c812acceSNathan Whitehorndriver include:
58c812acceSNathan Whitehorn.Pp
59c812acceSNathan Whitehorn.Bl -bullet -compact
60c812acceSNathan Whitehorn.It
61c812acceSNathan WhitehornApple KeyLargo PMU
62c812acceSNathan Whitehorn.It
63c812acceSNathan WhitehornApple K2-KeyLargo PMU
64c812acceSNathan Whitehorn.El
65c812acceSNathan Whitehorn.Pp
66c812acceSNathan Whitehorn.Sh SYSCTL VARIABLES
67c812acceSNathan WhitehornThe
68c812acceSNathan Whitehorn.Nm
69c812acceSNathan Whitehorndriver provides power management services in addition to an
70c812acceSNathan Whitehorn.Xr adb 4
71c812acceSNathan Whitehorninterface. The following sysctls can be used to control the
72c812acceSNathan Whitehornpower management behavior.
73c812acceSNathan Whitehorn.Bl -tag -width indent
74c812acceSNathan Whitehorn.It Va dev.pmu.%d.server_mode
75c812acceSNathan WhitehornRestart after power failure behavior (1 causes system to reboot after power
76c812acceSNathan Whitehorncut, 0 causes system to remain off)
77c812acceSNathan Whitehorn.Sh SEE ALSO
78c812acceSNathan Whitehorn.Xr adb 4
79c812acceSNathan Whitehorn.Sh HISTORY
80c812acceSNathan WhitehornThe
81c812acceSNathan Whitehorn.Nm
82c812acceSNathan Whitehorndevice driver appeared in
83c812acceSNathan Whitehorn.Nx 4.0 ,
84c812acceSNathan Whitehornand then in
85c812acceSNathan Whitehorn.Fx 8.0 .
86c812acceSNathan Whitehorn.Sh AUTHORS
87c812acceSNathan Whitehorn.An -nosplit
88c812acceSNathan WhitehornThe
89c812acceSNathan Whitehorn.Nm
90c812acceSNathan Whitehorndriver was written by
91c812acceSNathan Whitehorn.An Michael Lorenz
92c812acceSNathan Whitehorn.Aq macallan@NetBSD.org
93c812acceSNathan Whitehornand ported to FreeBSD by
94c812acceSNathan Whitehorn.An Nathan Whitehorn
95c812acceSNathan Whitehorn.Aq nwhitehorn@freebsd.org .
96