Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2011 21:23:48 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-ppc@freebsd.org
Subject:   Re: PowerMac G5 Quad - fan control?
Message-ID:  <20110313212348.a4fd91cb.torfinn.ingolfsen@broadpark.no>
In-Reply-To: <4D7BAA4E.4070908@freebsd.org>
References:  <20110312151608.b3240f3d.torfinn.ingolfsen@broadpark.no> <4D7BAA4E.4070908@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 12 Mar 2011 11:15:58 -0600
Nathan Whitehorn <nwhitehorn@freebsd.org> wrote:

> Different G5 models have different thermal regulation schemes. On the 
> PCI-Express-based systems (e.g. the Quad), CPU temperatures are read out 
> by the smusat driver, and fan control is done by the smu driver. I wrote 
> a small daemon to manage fans on my dual-core G5 that you may want to 
> adapt that can be found at 
> http://people.freebsd.org/~nwhitehorn/powermac112-fancontrol.c

Thanks!

I've adapted it, my version is here[1]. How did you figure out the target temperature?
I just run mine in a shell (it needs to be root to change those sysctls), is that the best way.

My machine just panic'ed (sleeping thread) but I don't know if that was related to this program.

References:
1) http://sites.google.com/site/tingox/powermac112-fancontrol-ti.c

-- 
Torfinn




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110313212348.a4fd91cb.torfinn.ingolfsen>