Re: Fan control script
Nevius, that command would only work assuming the module doesn't have the manual parameter set, and the kernel module haven't decided that a sensor is too hot. Oh, and if you add the missing quote. The min temperatures are just that to the kernel module - Minimum temperatures. While this is my normal approach to change fan speeds, it's not a direct control. It just sets what the fans are supposed to do when the kernel module thinks it's fair enough to idle. If the kernel module thinks the sensors are too hot, it will pick a speed between _min and _max, most likely just _max. To actually change the speeds, you need to enable manual mode. (Done with the manFanControl=true setting in my script.)
I never had any issues using the auto mode, though, but apparently some do. It may be due to one sensor being very hot in general, and the kernel module just gets confused. (Some of the sensors tend to report things like 70 degrees celsius when the laptop is idle and cold, which is why I added ways to select specific sensors to use in the script.)
The problem would then be that the AppleSMC kernel module is completely ignorant of how many sensors *I* use for my calculations, the module itself just looks at all the sensors accessible by the SMC, and if one is hot (GPU, for example), it will spin the fans up if it's not in manual mode. On my old MacBook Pro, I believe the GPU die sensor (sensor 7 I think) reported around 70 degrees celsius when the laptop was cold, and you may have a similar issue, seeing manual mode fixed it. However, watch out when you're only using the coretemp sensors - The fans will only spin up when your CPU gets hot. If you GPU gets toasty, it won't react till the GPU heats the CPU up enough for the fans to start spinning... Which is why I prefer using auto-mode, and as many sensors as possible.
I'm glad the people still find the script useful, even years after I touched it last time. I never expected anyone to use it! Also glad to see that some are picking it up and doing some cleaning (the github repo doesn't work, though)...
Last edited by Joushou; May 11th, 2011 at 03:30 PM.
Once upon a time, there was.
Then, there wasn't.
- A description of life, the universe, and everything.
Bookmarks