FreeBSD manual

download PDF document: smu.4.pdf

SMU(4) FreeBSD Kernel Interfaces Manual SMU(4)
NAME smu - Apple System Management Unit Driver
SYNOPSIS To compile this driver into the kernel, place the following lines in your kernel configuration file:
device smu
DESCRIPTION The smu 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.
The Apple SMU controller provides software power management and thermal control functionality, and is responsible for managing system cooling devices.
HARDWARE Chips supported by the smu driver include:
o Apple System Management Unit
THERMAL MANAGEMENT The smu 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.
SYSCTL VARIABLES The smu 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.
dev.smu.%d.server_mode Restart after power failure behavior (1 causes system to reboot after power cut, 0 causes system to remain off).
dev.smu.%d.target_temp Target system temperature, in degrees Celsius. The smu driver will attempt to adjust fans to maintain the temperature of the warmest component in the system at or below this level.
dev.smu.%d.critical_temp System critical temperature, in degrees Celsius. If any component in the system exceeds this temperature, the machine will be shut down within 500 ms.
dev.smu.%d.fans.%s.minrpm Minimum allowed speed for this fan.
dev.smu.%d.fans.%s.maxrpm Maximum allowed speed for this fan.
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.
LED INTERFACE The smu driver provides an led(4) annunciator interface at /dev/led/sleepled.
SEE ALSO acpi(4), led(4), pmu(4)
HISTORY The smu device driver appeared in FreeBSD 8.0.
AUTHORS The smu driver was written by Nathan Whitehorn <nwhitehorn@FreeBSD.org>.
FreeBSD 14.0-RELEASE-p11 February 22, 2010 FreeBSD 14.0-RELEASE-p11