Re: a Kernel hack for a Powerbook thermal sensor gone crazy?
Re: a Kernel hack for a Powerbook thermal sensor gone crazy?
- Subject: Re: a Kernel hack for a Powerbook thermal sensor gone crazy?
- From: Fabio Cionini <email@hidden>
- Date: Wed, 26 Jul 2006 13:00:26 +0200
the system log states like this every time the system goes to sleep:
Jul 12 11:35:41 phti kernel[0]: Power Management received emergency
overtemp signal. Going to sleep.
Jul 12 11:35:47 phti kernel[0]: System Sleep
I have to drain the backup battery only sometimes, and I believe it's
when the sensor keep on sending a high temperature value, so the
kernel (or the smu?) refuses to wake the system from sleep. Most of
the times I can wake from sleep by pressing a key, and that's when
the sensor does not send the same value as before (I verified this by
using the Temperature Monitor app).
And if it's like you say, where the highest temperature values are
stored? in the firmware?
Can I ask you some help on compiling the AppleMacRISC4PE project
correctly so I can try it by myself? I downloaded all the project
files and compiled from xcode but it fails, requiring IOKit/IOCPU.h :
where is it and how can I set up a complete compiling environment for
that project?
thank you very much,
Fabio Cionini
On 26 lug 2006, at 12:24, Dan Bernstein wrote:
On 7/25/06, Fabio Cionini <email@hidden> wrote:
Do you think it's possible to fake the kernel by modifying these
lines, to send a hardcoded value just to avoid system craziness, or
just comment the lines to avoid that specific sensor checking?
I believe that in some models, certain emergency shutdown
functionality is managed by the SMU firmware and does not depend on
the kernel. So you may end up patching the kernel only to find out
that the SMU shuts down the machine. This is also consistent with
your experience of having to drain the backup battery, which only
supports the SMU, in order to be able to power up again.
-- Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden