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: Michael Smith <email@hidden>
- Date: Tue, 25 Jul 2006 09:56:52 -0700
On Jul 25, 2006, at 9:39 AM, Fabio Cionini wrote:
The reason why I'm writing all this to a kernel developing mailing
list is that I thought about the issue and maybe there could be a
way to fix it without replacing any hardware. I'm kinda newbie in
that, but I browsed the darwin sources using this darwingrok site
http://darwingrok.physics.ox.ac.uk:8080/source/xref/ and found that
this file http://darwingrok.physics.ox.ac.uk:8080/source/xref/
AppleMacRISC4PE/IOPlatformPlugins/PBG4_PlatformPlugin/CtrlLoops/
PBG4_DPSCtrlLoop.cpp (lines 97 and 483), among with others in the
PBG4_PlatformPlugin of the AppleMacRISC4PE project, there are
references to that specific thermal sensor, as long as methods to
get the sensor value.
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? The
other three sensors are working ok so I don't think this hack would
lead to any danger.
There's no code in the kernel per se that does anything specific with
that sensor, so there's nothing you would be able to change about it.
I tried to compile the AppleMacRISC4PE project but I failed (I
think I'm too newbie) even without modifying anything, so I'm
asking help to you with this issue. Maybe it's just a small
modification.
In your shoes, I would be looking for a second-hand top case, after
talking to AppleCare to see what they had to say.
= Mike
_______________________________________________
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