summaryrefslogtreecommitdiff
path: root/static/freebsd/man4/man4.powerpc/smu.4 3.html
blob: 09c9d88c07084416a4eb5bae5b7cc7d7781583f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<table class="head">
  <tr>
    <td class="head-ltitle">SMU(4)</td>
    <td class="head-vol">Device Drivers Manual (powerpc)</td>
    <td class="head-rtitle">SMU(4)</td>
  </tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">smu</code> &#x2014; <span class="Nd">Apple System
    Management Unit Driver</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<p class="Pp">To compile this driver into the kernel, place the following lines
    in your kernel configuration file:</p>
<div class="Bd Pp Bd-indent"><code class="Cd">device smu</code></div>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">The <code class="Nm">smu</code> driver provides support for the
    System Management Unit (SMU) found in many Apple G5 systems. This includes
    most Power Macintosh G5 and all iMac G5 systems.</p>
<p class="Pp">The Apple SMU controller provides software power management and
    thermal control functionality, and is responsible for managing system
    cooling devices.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="HARDWARE"><a class="permalink" href="#HARDWARE">HARDWARE</a></h1>
<p class="Pp">Chips supported by the <code class="Nm">smu</code> driver
  include:</p>
<p class="Pp"></p>
<ul class="Bl-bullet Bl-compact">
  <li>Apple System Management Unit</li>
</ul>
</section>
<section class="Sh">
<h1 class="Sh" id="THERMAL_MANAGEMENT"><a class="permalink" href="#THERMAL_MANAGEMENT">THERMAL
  MANAGEMENT</a></h1>
<p class="Pp">The <code class="Nm">smu</code> driver provides basic automatic
    thermal management. Without a userspace daemon providing more advanced
    control, the driver will attempt to maintain system temperatures in a
    conservative range through coarse-grained control of system cooling devices
    (see below). Automatic kernel-level thermal control will take over if more
    than 3 seconds elapses between userspace cooling setting adjustments.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYSCTL_VARIABLES"><a class="permalink" href="#SYSCTL_VARIABLES">SYSCTL
  VARIABLES</a></h1>
<p class="Pp">The <code class="Nm">smu</code> driver provides power management
    services and thermal readout through a sysctl interface. The following
    sysctls can be used to control the power management behavior and to examine
    current system power and thermal conditions.</p>
<dl class="Bl-tag">
  <dt id="dev.smu._d.server_mode"><var class="Va">dev.smu.%d.server_mode</var></dt>
  <dd>Restart after power failure behavior (1 causes system to reboot after
      power cut, 0 causes system to remain off).</dd>
  <dt id="dev.smu._d.target_temp"><var class="Va">dev.smu.%d.target_temp</var></dt>
  <dd>Target system temperature, in degrees Celsius. The
      <code class="Nm">smu</code> driver will attempt to adjust fans to maintain
      the temperature of the warmest component in the system at or below this
      level.</dd>
  <dt id="dev.smu._d.critical_temp"><var class="Va">dev.smu.%d.critical_temp</var></dt>
  <dd>System critical temperature, in degrees Celsius. If any component in the
      system exceeds this temperature, the machine will be shut down within 500
      ms.</dd>
  <dt id="dev.smu._d.fans._s.minrpm"><var class="Va">dev.smu.%d.fans.%s.minrpm</var></dt>
  <dd>Minimum allowed speed for this fan.</dd>
  <dt id="dev.smu._d.fans._s.maxrpm"><var class="Va">dev.smu.%d.fans.%s.maxrpm</var></dt>
  <dd>Maximum allowed speed for this fan.</dd>
  <dt id="dev.smu._d.fans._s.rpm"><var class="Va">dev.smu.%d.fans.%s.rpm</var></dt>
  <dd>Current speed for this fan. The fan speed can be adjusted by changing this
      sysctl. If more than 3 seconds elapses between fan speed adjustments, the
      kernel will resume automatic control of the fan.</dd>
  <dt id="dev.smu._d.sensors._s"><var class="Va">dev.smu.%d.sensors.%s</var></dt>
  <dd>Current reading from this sensor. Four sensor types are supported.
      Temperature sensors are in units of degrees Celsius, current sensors in
      milliamps, voltage sensors in millivolts, and power sensors in
    milliwatts.</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="LED_INTERFACE"><a class="permalink" href="#LED_INTERFACE">LED
  INTERFACE</a></h1>
<p class="Pp">The <code class="Nm">smu</code> driver provides an
    <a class="Xr">led(4)</a> annunciator interface at
    <span class="Pa">/dev/led/sleepled</span>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
  ALSO</a></h1>
<p class="Pp"><a class="Xr">acpi(4)</a>, <a class="Xr">led(4)</a>,
    <a class="Xr">pmu(4)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
<p class="Pp">The <code class="Nm">smu</code> device driver appeared in
    <span class="Ux">FreeBSD 8.0</span>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp">The <code class="Nm">smu</code> driver was written by
    <span class="An">Nathan Whitehorn</span>
    &lt;<a class="Mt" href="mailto:nwhitehorn@FreeBSD.org">nwhitehorn@FreeBSD.org</a>&gt;.</p>
</section>
</div>
<table class="foot">
  <tr>
    <td class="foot-date">February 22, 2010</td>
    <td class="foot-os">FreeBSD 15.0</td>
  </tr>
</table>