linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: pmud monitoring temperature (Re: powerbook doubles)
@ 2001-01-29 15:19 Iain Sandoe
  2001-01-29 16:18 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 7+ messages in thread
From: Iain Sandoe @ 2001-01-29 15:19 UTC (permalink / raw)
  To: Michael Schmitz, Brad Midgley; +Cc: linuxppc-dev, djosg


> What is the maximum CPU speed for machines without clock_frequency
> present in the device tree?

wouldn't you have to go back quite a long way to find one?
My 9600 has it - and that's nearly prehistoric ;-)

Iain

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: pmud monitoring temperature (Re: powerbook doubles)
@ 2001-01-29 15:58 Brad Midgley
  0 siblings, 0 replies; 7+ messages in thread
From: Brad Midgley @ 2001-01-29 15:58 UTC (permalink / raw)
  To: Michael Schmitz, Brad Midgley; +Cc: linuxppc-dev, djosg


Michael

> gives too long conversion times for slower processors - does this hurt?

the motorola docs suggest waiting too long is fine. (they talk about how the only problem is the
temp may be changing -- but that the temperature only changes at a max 1C/sec)

i think assuming 500mhz is fine.

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


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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: pmud monitoring temperature (Re: powerbook doubles)
@ 2001-01-29  1:49 Brad Midgley
  2001-01-29 14:49 ` Michael Schmitz
  0 siblings, 1 reply; 7+ messages in thread
From: Brad Midgley @ 2001-01-29  1:49 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: djosg


hi,

> > 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* pmud monitoring temperature (Re: powerbook doubles)
@ 2001-01-28 20:25 Brad Midgley
  0 siblings, 0 replies; 7+ messages in thread
From: Brad Midgley @ 2001-01-28 20:25 UTC (permalink / raw)
  To: Iain Sandoe, brad, linuxppc-dev; +Cc: djosg


Iain,

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.

> > /proc/cpuinfo does not report the temperature (i'm not sure the hardware
> > can report it).
>
> 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 found it and i'll try to apply it today:

http://lists.linuxppc.org/listarcs/linuxppc-dev/200009/msg00365.html

thanks
brad

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


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-01-29 22:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-29 15:19 pmud monitoring temperature (Re: powerbook doubles) Iain Sandoe
2001-01-29 16:18 ` Benjamin Herrenschmidt
  -- strict thread matches above, loose matches on Subject: below --
2001-01-29 15:58 Brad Midgley
2001-01-29  1:49 Brad Midgley
2001-01-29 14:49 ` Michael Schmitz
2001-01-29 22:24   ` Troy Benjegerdes
2001-01-28 20:25 Brad Midgley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).