]> err.no Git - linux-2.6/commit
hwmon: (applesmc) Add support for Mac Pro 2 x Quad-Core
authorRené Rebe <rene@exactcode.de>
Tue, 16 Oct 2007 21:19:20 +0000 (14:19 -0700)
committerMark M. Hoffman <mhoffman@lightlink.com>
Thu, 8 Nov 2007 13:42:46 +0000 (08:42 -0500)
commit8de577095d65e8a51135793bf48c7be6c6c5bc77
tree4b6295457a7a50c73af31ff10ad43cc358a4da04
parentff8966acb9d6bacdbb8971762bbd3ba6480f6077
hwmon: (applesmc) Add support for Mac Pro 2 x Quad-Core

At least the 2x Quad-Core Apple Mac Pro appears to have some over-heat
protection which suddenly powers off the whole box under load.  This adds
support for the fans and temerature sensors in the Mac Pro - later some
"windwarm" a-like code should probably monitor the values.  For now
manually tweaking the fans prevents the sudden shutdown for me.

cd /sys/devices/platform/applesmc.768
for x in fan{1,2,3,4}; do
echo 1 > ${x}_manual
echo 1285 > ${x}_output
done

Two sensors are 0, while four are 129 °C, those might be removed again,
later.

Signed-off-by: René Rebe <rene@exactcode.de>
Cc: Nicolas Boichat <nicolas@boichat.ch>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/applesmc.c