fan noise on imac g5 rev C

Pavel Zaitsev pavel-XHBUQMKE58M at public.gmane.org
Tue May 22 02:21:56 UTC 2007


Daniel Armstrong(dwarmstrong-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org)@Mon, May 21, 2007 at 07:20:36PM -0400:
> I guess what I am looking for is a script that will periodically read
> that cpu-temp file so that the fans stay off *unless* it reaches some
> maximum temp, upon which the fans will kick in until it reaches some
> minimum temp or duration of running time. Is this something that you
> would use cron to run?
 
No, you would run this script in daemon mode or in background, it loops forever.
There is a patch in the first node on the google thread you posted, I belive it is a pre-release patch from development tree to deal with these incompatible fans. reading from 2.6.17 sources:

/* We use the name & location here the same way we do for SMU sensors,
 * see the comment in windfarm_smu_sensors.c. The locations are a bit
 * less consistent here between the iMac and the desktop models, but
 * that is good enough for our needs for now at least.
 *
 * One problem though is that Apple seem to be inconsistent with case
 * and the kernel doesn't have strcasecmp =P
 */
So there. :) Probably you can patch the kernel, or try newer binary kernel versions from your distributions. However in general I would recommend that you'd learn to compile your own kernel. The shortcut here is you can find kernel .config file for the distribution configuration copy it in to source tree and run make oldconfig && make bzImage && make modules && make modules_install and then copy the kernel into the boot directory.
hth,
p.



-- 
Create like God. Command like a King. Work like a Slave.
http://arslogic.com  | http://arslogic.com/resume.pdf
direct: 416-564-5255 | fax: 416-596-0128
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list