powerbook doubles as a frying pan

Troy Benjegerdes hozer at drgw.net
Tue Jan 30 08:54:35 EST 2001


On Mon, Jan 29, 2001 at 12:01:26PM +0100, Benjamin Herrenschmidt wrote:
>
> >
> >is everyone *totally* sure that activating the fan is entirely handled in
> >hardware? is there no
> >register for controlling the threshold?
>
> I've seen nothing in Apple's own Darwin OS related to controlling the
> powerbook fan neither. However, they do have code that use the CPU's
> temperature sensors to control the ICTC (instruction cache throttling).
>
> Troy have some code that allow to read the temp from /proc. However, it
> looks like a lot of CPUs are so badly calibrated that the information
> returned is almost useless... Maybe that's not the case in CPUs used in
> portables, that's the case in some of the G4s used in dual G4s.

The IBM manufactured 750's are much better in calibration than the G4's.
Brad, recent 2.4 kernels should have my 'CONFIG_TAU' config option to turn on
the CPU temp monitoring. This code is interrupt driven, so someone could
easily ad code to tweak the ICTC when the temp exceeds certain thresholds.

--------------------------------------------------------------------------
Troy Benjegerdes                'da hozer'                hozer at drgw.net


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list