
CPU temp monitor for linuxPPC?
The temperature code in most PowerPC kernels is broken - somebody got
confused by Motorola's bit numbering.
The kernel patch which supports our TPE3 PowerPC card also adds a
working temperature measurement by
% cat /proc/cpuinfo
It also gives you some very experimental options to use the thermal
throttling of the PowerPC. Take a look at
/proc/sys/kernel/temperature-limit. You may need to calibrate your
thermal sensor, particularly if using a G4.
I don't have a Mac, so combining this patch with the patches necessary
to support the IO devices on your machine is left as an exercise for the
reader. Applying the patch to the most recent PowerPC 2.2 kernel may
work.
The kernel patch to support our G3/G4 boards can be downloaded from:
http://www.agelectronics.co.uk/download.html
The current version (against standard kernel 2.2.13) is
http://www.agelectronics.co.uk/linux/tpe3-24dec1999.gz
- Adrian Cox, AG Electronics