PDA

View Full Version : Fan control program for 2009 Mac Pro, need some help




Concorde Rules
Apr 5, 2009, 02:26 PM
Ok basically im trying to re-code a program that is free to edit (open source!).

Its the iMac version of the Fan Control program.

I've got it as far as getting one of the sensor codes into the program and setting the fan SMC codes so it controls it but i've come across a few issues including:

Minimum fan speeds arn't what are set by the SMC or by my values in the code. (Eg the minimum CPU fan speed is 800, yet the minimum value on the slider is 1200 and it actually runs at 1400 :confused:)

Along with things like some of the fan codes make other fans spin up too :confused:

Things like that.

My aim is to get from This (http://www.derman.com/Download/Special/iMacFanControl.html) to

CPU/PS/PCI fan controlled by their respective temperature sensors
Intake and exhaust fan controlled by the CPU core temperature (jointly adjusted seeing as they need to be in sync)

Can anyone help me on my way? Pointers and general help (not doing it for me!) would be great as I'd like to learn more than the basic C++ i've done so far.

Here is the code I'm up to so far:
http://www.thunder-keep.co.uk/site/macpro2009sourcecode.zip

Thanks :)



Concorde Rules
Apr 7, 2009, 05:51 PM
Anyone know how this SMC thing works?

Its not bring out ANY temperatures :( :confused::(

dmmcintyre3
Apr 8, 2009, 11:18 AM
Why do you need a fan control program for a desktop? I can only understand for laptops because of the heat on the bottom

Concorde Rules
Apr 8, 2009, 11:39 AM
Why do you need a fan control program for a desktop? I can only understand for laptops because of the heat on the bottom

95C load even tho within limits, is not what I want.

Plus the cooler it is, the faster it is (turbo boost!)

Concorde Rules
Apr 8, 2009, 12:34 PM
Anyone work out what the hell is going on with the minimum fan speeds?

The SMC sets the minimum as 600 and i've set the minimum as 500 but in the program the lowest I can set it is 1200 for the CPU and PCI and 1000 for the PS fan.

Any ideas on where the minimum fan speeds are coming from?

Thanks guys!

Source is here:

http://www.thunder-keep.co.uk/site/macpro2009sourcecode.zip