Re: pmud monitoring temperature (Re: powerbook doubles)

2 messages, 2 authors, 2001-01-29 · open the first message on its own page

Re: pmud monitoring temperature (Re: powerbook doubles)

From: Brad Midgley <hidden>
Date: 2001-01-29 01:49:14

hi,
quoted
yes, it can.
Someone posted a patch some time last year to get the info into the /proc
entry.  If that no longer applies it shouldn't be too difficult to update
it.
i reworked this patch to work with the current bk tree (argh. i just complained to iain that diffs
against a moving target were gross)

http://redcloud.uccs.edu/~bcmidgle/linux/

btw, it looks like troy wants the _{gs}et_THRM{123} macros changed to use some different macros,
but i'm not familiar with that stuff so i just reenabled the old macros.
until we have proper heat control in the kernel, maybe pmud should monitor the temperature and
put
the machine to sleep if it runs too hot.
i'm looking into this part.

btw, what is a dangerous temperature? with the bays empty and a housefan running nearby (ie
relatively cool) it is reporting 42c.

--
Brad
brad@turbolinux.com      http://www.turbolinux.com/~brad/


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

Re: pmud monitoring temperature (Re: powerbook doubles)

From: Michael Schmitz <hidden>
Date: 2001-01-29 14:49:02

i reworked this patch to work with the current bk tree (argh. i just complained to iain that diffs
against a moving target were gross)

http://redcloud.uccs.edu/~bcmidgle/linux/

btw, it looks like troy wants the _{gs}et_THRM{123} macros changed to use some different macros,
but i'm not familiar with that stuff so i just reenabled the old macros.
I don't think what changes you propose there but from the comment on your
patch page ('cpu speed not included in calculations') it seems you picked
up the old version of the patch. I attach the version including
conversion time calculation from processor speed (for 2.4.0pre). The CPU
speed is  preset to 500 MHz in case it can't be determined from OF, this
gives too long conversion times for slower processors - does this hurt?
What is the maximum CPU speed for machines without clock_frequency
present in the device tree?

	Michael
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help