You are on page 1of 5

Mac/SMC Fan Control for Windows (+ Temp) aka MacFan Copyright (C) 2009 Robert Gilliam

This program is modify it under as published by of the License,

free software; you can redistribute it and/or the terms of the GNU General Public License the Free Software Foundation; either version 3 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 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 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. ***************** **RELEASE NOTES** *****************

USE OF THIS PROGRAM IS AT YOUR OWN RISK. I AM NOT RESPONSIBLE FOR ANY DAMAGE CAU SED TO YOUR COMPUTER THROUGH THE USE OF THIS TOOL. AS STATED ABOVE, THIS PROGRAM IS DISTRIBUTED WITHOUT ANY WARRANTY. ********** **

Usage:** **********

Start an administrator command prompt and navigate to the directory you extracte d 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 ah ead 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 suppl y fan. Passing anything except 0 as the speed for your 4th fan could result in damage t o your computer. Proper control of the power supply fan or removal of the 4th argument if it is n ot 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. In order to monitor temperatures, run MacFan with the /temperature or /temperatu res option. You can optionally specify a number after the temperature option ( e xample: MacFan /temperature 20 ) in order to refresh the display of temperatures every x seconds ( in this case, 20 seconds ). At the moment, temperatures take a long amount of time to read ( can be as much as 15 seconds on machines with many sensors ). I am focusing on speeding up this process for the next release. ********************** **Upcoming Features:** ********************** Working MacPro PSU fan control. I am also working on allowing the user to create rules that will govern automati c temperature control. *************** **Change Log:** *************** MacFan 0.1: Initial release. Supports all non-iMac Intel Macs for manual speed control of ea

ch 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 res ult 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.ex e on startup and restart them upon exit. MacFan 0.25: Fixes minor bug that displayed a BootCamp.exe stopped working dialog on Vista wh en 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 versi on. Adds 64 bit version to fix issue with closing 64 bit processes (KbdMgr.exe and B ootcamp.exe) on 64 bit systems. MacFan 0.4: Fixes issue on some machines that could cause DEP to close Bootcamp.exe when att empting to terminate it. Unfortunately, this workaround results in a duplicate bootcamp icon in your syst em 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 d atabase, minimum and maximum values would not be recorded to ini file and progra m would not be able to set fan speeds correctly. MacFan will now work as intended on machines not found in its database. MacFan 0.5: Fans are now identified by name as well as number. Basic version of temperature monitoring now implemented: Run MacFan with the /temperature or /temperatures option to display current temp

eratures of all active sensors. You can also run MacFan with a number after the /temperature option. This causes the temperature display to run indefinitely and refresh every x seconds. For example, MacFan /temperatures 20 causes temperatur es to be refreshed every 20 seconds. At the moment, temperatures take a long amo unt of time to read ( can be as much as 15 seconds on machines with many sensors ). I am focusing on speeding up this process for the next release. Unfortunately, applications closed by MacFan are not reopened upon exit when run ning MacFan in temperature monitoring mode with a refresh interval specified. Th is is also on track to be fixed in the next release. MacFan 0.55: Temperature monitoring can now be cleanly closed by hitting 'q' or paused by hit ting 'h'. Quitting MacFan by hitting 'q' works as it should and closes cleanly while reope ning terminated programs. Pausing MacFan before changing temperatures using MacFan running in another comm and prompt eliminates the need to quit the temperature monitor when changing fan speeds. Once fan speeds have been changed by another instance of MacFan, simply hit 'h' again to resume monitoring. The first refresh after resuming will be ou t of date and will only show a small amount of temperatures, but will correct it self on the second refresh. Adds progress indicator to first run temperature identification. MacFan 0.6: Fixes issue preventing MacFan from working on Windows XP. Fixes issue preventing pausing of temperature monitoring from working on 32 bit machines. Improves pausing of temperature monitoring. Corrupt data is no longer displayed after resuming temperature monitoring. MacFan 0.61: Fixes another issue preventing MacFan from working on Windows XP. MacFan 0.62: Fixes another issue preventing MacFan from working on Windows XP. Now correctly marks sensors constantly reporting their maximum value as not vali d and does not display them. /t and /temp now work in addition to /temperature for starting MacFan in tempera ture monitoring mode. MacFan 0.65: MacFan now longer uses an ini file. All data stored there is now stored in the r egistry. Temperature monitor now also monitors current fan speeds. Fixes issue where a message would not be display if refresh was delayed.

Fixes issue where the system could lock up for a few seconds after quitting temp erature monitoring and resuming an application that accesses the SMC. Now double checks temperature sensors that are displayed when keys are being rea d from the registry. If they are invalid ( return a negative value, a 0 value or a value above 129 degrees celsius ), marks them as invalid in the registry and rereads keys from registry. Temperature sensors are now refreshed as soon as the information is available. P reviously, the first value would not be displayed until after the last value was gathered, which could result in information as much as 15 seconds out of date o n a MacPro. The suspend feature of temperature monitoring has been temporarily disabled. It conflicted with the previous fix. You now have to type return after inputting a quit command during temperature mo nitoring. Instead of typing 'q' to quit, you now have to type 'q' and thne hit r eturn/enter. Version number, build number and build date are now displayed when the program s tarts after all other information.

You might also like