Robert Gilliam - 2009-09-26

MacFan 0.45 has been released. Release notes are reposted below as usual. Summary of changes:

**Fixes an issue where, if the computer MacFan is being run on could not be found in database, minimum and maximum values would not be recorded to ini file and program would not be able to set fan speeds correctly.**

**MacFan will now work as intended on machines not found in its database. Most notably, iMacs should now be properly controlled by MacFan. If they are not, let me know and I will find and fix any and all other bugs preventing proper operation of MacFan.**

I do want to say something else, though. This bug was quite serious and, to be honest, I cannot believe I allowed it into a release. I stumbled across it while working on MacFan 0.5 completely by accident. I was not in the slightest bit aware of this bug and believed that MacFan was working perfectly on machines not found in its database. To give you an idea of how serious this bug was, it seems like it would have completely prevented any and all users of iMacs from using MacFan. Of course, I cannot actually test proper operation on iMacs, which brings me to my next point.

I received no bug reports of any sort from any users, so hopefully nobody with an iMac tried to use my program. Part of me thinks that is highly unlikely though, so I do just want to state the obvious and if any part of MacFan is not working as you think it should, let me know. This bug would have literally taken me less than 5 minutes to fix had I known about it.

Again, **if any part of MacFan is not working as you think it should, please let me know!** My own testing can only cover so much, I need your help to make MacFan useful for all Macs.

Mac/SMC Fan Control for Windows (+ Temp)
aka MacFan

Copyright (C) 2009 Robert Gilliam

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 3
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.




Start an administrator command prompt and navigate to the directory you extracted MacFan.exe to. Run MacFan like this:

MacFan.exe <Desired RPM for Fan 1> <Desired RPM for Fan 2 (if applicable)>

<Desired RPM for Fan 3 (if applicable)> <Desired RPM for Fan 4 (if applicable)>

Run the program once with no arguments if you need to know how many fans are in your machine
and the minimum and maximum speeds those fans can be set to.

Of course, if you already know the acceptable ranges for your fans you can go ahead and run the
program right away with the speeds you desire. For example, to set both fans in a MacBook Pro
to 3000 rpm you would type:

MacFan.exe 3000 3000

For MacPro users, control of the Power Supply Fan is currently not working. Make sure you always
pass 0 as the fourth argument in order to not attempt to control the power supply fan.
Passing anything except 0 as the speed for your 4th fan could result in damage to your computer.
Proper control of the power supply fan or removal of the 4th argument if it is not possible
will be included in the next release. Example of running MacFan on a MacPro:

MacFan.exe 1500 900 2000 0

MacFan does not override Apple's built in temperature controls but simply raises the minimum speeds your fans can spin at.

If your machine gets hot enough that Apple's built in temperature controls want to raise your fan speeds, they should still raise them
to the same speed they would be at otherwise.

**Upcoming Features:**


Working MacPro PSU fan control.

I am also working on allowing the user to create rules that will govern automatic temperature control.

**Change Log:**

MacFan 0.1:

Initial release. Supports all non-iMac Intel Macs for manual speed control of each individual fan through command prompt.

MacFan 0.2:

Supports every Intel Mac. MacFan reads fan information directly from the SMC for any computer not found in its internal database. Full functionality
is provided and to guard against incorrect SMC minimum fan speed values as a result of using SMC Fan Control in Mac OS X and rebooting, not shutting down before booting Windows, a warning is displayed if the values seem too high for your computer.

MacFan will now automatically terminate BootCamp.exe, KbdMgr.exe, and everest.exe on startup and restart them upon exit.

MacFan 0.25:

Fixes minor bug that displayed a BootCamp.exe stopped working dialog on Vista when BootCamp 3.0 drivers were installed.

Shortens folder name to make it less of a hassle to run.

MacFan 0.3:

Fixes issue on MacBook Air and regular MacBook that could warn you that the SMC minimum values seem too high for your computer when they are default.

Fixes internal database issue preventing detection of MacPro.

Cleans up code for easier transition from ini file to registry in a future version.

Adds 64 bit version to fix issue with closing 64 bit processes (KbdMgr.exe and Bootcamp.exe) on 64 bit systems.

MacFan 0.4:

Fixes issue on some machines that could cause DEP to close Bootcamp.exe when attempting to terminate it.
Unfortunately, this workaround results in a duplicate bootcamp icon in your system tray until you mouse over it. Once you do so, it disappears.

Fixes issue causing BootCamp.exe to not be properly reopened after MacFan closed it.

MacFan 0.45:

Fixes an issue where, if computer MacFan is being run on could not be found in database, minimum and maximum values would not be recorded to ini file and program would not be able to set fan speeds correctly.

MacFan will now work as intended on machines not found in its database.