site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com the system log states like this every time the system goes to sleep: thank you very much, Fabio Cionini On 26 lug 2006, at 12:24, Dan Bernstein wrote: On 7/25/06, Fabio Cionini <fabio.cionini@gmail.com> 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? _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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? 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 This email sent to site_archiver@lists.apple.com