2 .\" Copyright (c) 2010 Nathan Whitehorn <nwhitehorn@FreeBSD.org>
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16 .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17 .\" DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
18 .\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19 .\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20 .\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
22 .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
23 .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24 .\" POSSIBILITY OF SUCH DAMAGE.
33 .Nd Apple System Management Unit Driver
35 To compile this driver into the kernel,
36 place the following lines in your
37 kernel configuration file:
38 .Bd -ragged -offset indent
44 driver provides support for the System Management Unit (SMU) found in many
46 This includes most Power Macintosh G5 and all iMac G5 systems.
48 The Apple SMU controller provides software power management and thermal
49 control functionality, and is responsible for managing system cooling
52 Chips supported by the
58 Apple System Management Unit
60 .Sh THERMAL MANAGEMENT
63 driver provides basic automatic thermal management. Without a userspace
64 daemon providing more advanced control, the driver will attempt to maintain
65 system temperatures in a conservative range through coarse-grained control of
66 system cooling devices (see below). Automatic kernel-level thermal control
67 will take over if more than 3 seconds elapses between userspace cooling
72 driver provides power management services and thermal readout through a
74 The following sysctls can be used to control the
75 power management behavior and to examine current system power and
77 .Bl -tag -width indent
78 .It Va dev.smu.%d.server_mode
79 Restart after power failure behavior (1 causes system to reboot after power
80 cut, 0 causes system to remain off).
81 .It Va dev.smu.%d.target_temp
82 Target system temperature, in degrees Celsius. The
84 driver will attempt to adjust fans to maintain the temperature of the
85 warmest component in the system at or below this level.
86 .It Va dev.smu.%d.critical_temp
87 System critical temperature, in degrees Celsius. If any component in
88 the system exceeds this temperature, the machine will be shut down within
90 .It Va dev.smu.%d.fans.%s.minrpm
91 Minimum allowed speed for this fan.
92 .It Va dev.smu.%d.fans.%s.maxrpm
93 Maximum allowed speed for this fan.
94 .It Va dev.smu.%d.fans.%s.rpm
95 Current speed for this fan. The fan speed can be adjusted by changing this
96 sysctl. If more than 3 seconds elapses between fan speed adjustments, the
97 kernel will resume automatic control of the fan.
98 .It Va dev.smu.%d.sensors.%s
99 Current reading from this sensor. Four sensor types are supported. Temperature
100 sensors are in units of degrees Celsius, current sensors in milliamps, voltage
101 sensors in millivolts, and power sensors in milliwatts.
108 annunciator interface at
109 .Pa /dev/led/sleepled .
117 device driver appeared in
123 driver was written by
124 .An Nathan Whitehorn Aq Mt nwhitehorn@FreeBSD.org .