PDA

View Full Version : Fan control for Windows in Bootcamp?




cdavi060
Apr 29, 2008, 12:46 PM
Im running Vista in bootcamp on my MacBook Pro and the temp at idle is around 165 and if I do anything else on it like games or such its around 180+. The thing is I bearly hear the fans, unlike in OSX they kick on when needed. Can someone let me in on a program like fan control but for windows that will allow me to control my macbook fans while in vista? I dont like this temp issue!!!



clevin
Apr 29, 2008, 12:58 PM
its more or less hardware related, not that windows can 100% control. but you can always search google for "fan control windows".

The best thing can happen, is apple releasing better bootcamp drivers, apple pulled together the hardwares, and did the internal design, they are the best candidate to develop good drivers for windows.

Neil321
Apr 29, 2008, 01:34 PM
SpeedFan (http://www.almico.com/speedfan.php)

cdavi060
Apr 29, 2008, 01:40 PM
SpeedFan (http://www.almico.com/speedfan.php)

yeah i thought of that program, tried it, but doesnt know the apple hardware so only can monitor temp, no fan control.

cdavi060
Apr 29, 2008, 01:48 PM
well for all who are also interested I found something that works for all the macs


http://forum.insanelymac.com/index.php?showtopic=58373

can manually control the fans if things get a little too hott!!

Neil321
Apr 29, 2008, 01:50 PM
yeah i thought of that program, tried it, but doesnt know the apple hardware so only can monitor temp, no fan control.

That's odd as it recognizes mine

cdavi060
Apr 29, 2008, 02:09 PM
not too sure but it doesnt

i got the remapper to work so thats all i needed. wanted to keep the temps down on my macbook while playing games

Neil321
Apr 29, 2008, 02:14 PM
not too sure but it doesnt

i got the remapper to work so thats all i needed. wanted to keep the temps down on my macbook while playing games

Ah Ok but looking at that remapper,is there a way to just use it to just to control fan speed & not all the bumff that goes with it, ie disable the remapper??

cdavi060
Apr 29, 2008, 02:18 PM
Ah Ok but looking at that remapper,is there a way to just use it to just to control fan speed & not all the bumff that goes with it, ie disable the remapper??

yeah i think so im not sure. I didnt try because the things it remaps i dont really use anyway so guess it doesnt really bother me.

but yes i see you can enable and disable the remapper

Neil321
Apr 29, 2008, 02:21 PM
yeah i think so im not sure. I didnt try because the things it remaps i dont really use anyway so guess it doesnt really bother me.

but yes i see you can enable and disable the remapper

Ok cheers,i might try downloading it & give it a try out

chem
Jun 16, 2008, 03:59 PM
I want to do the same thing as the original poster, but I am using Windows XP (32-bit). My OS X is 10.5.3 and Boot Camp is 2.1, on a Santa Rosa MBP.

I have read many, many posts saying how Input Remapper (which has not been updated since Fall 2007) causes tons of problems with Boot Camp 2.1. I do not wish to use Input Remapper.

Has anyone found an alternative? Perhaps smcfancontrol via OS X? Does that work perfectly in 10.5.3? It hasn't been updated in forever.

aki
Jun 16, 2008, 06:22 PM
i use smbfancontrol and it works well until there is a windows app....basically i have a hifanspeed setting for windows and u can set the speeds then reboot - not shutdown and startup - and the same fan settings will last for the windows

for everyday apps its not important i think but for games my hd gets too hot after some playing so i think its good to use

chem
Jun 18, 2008, 11:14 AM
i use smbfancontrol and it works well until there is a windows app....basically i have a hifanspeed setting for windows and u can set the speeds then reboot - not shutdown and startup - and the same fan settings will last for the windows

for everyday apps its not important i think but for games my hd gets too hot after some playing so i think its good to use


I used smcfancontrol in Tiger, so I guess I will try in in Leopard.

Nobody has a report of a bad experience with it in Leopard, right?

aki
Jun 18, 2008, 06:11 PM
i havent read of any problem.....it works for me on 10.5.3

MagnusVonMagnum
Dec 31, 2008, 03:02 AM
I just tried Input Remapper on my September '08 era MBP (pre-current) runnnig XP Pro in Boot Camp and when I go to the Mac book settings page, it just starts going nuts (keyboard brightness settings start changing and when the fan speeds come up, the whole system locks for like 10 seconds and then continues but the fan speeds reported are totally erratic and then it locks up again and the whole thing repeats until I can hit "OK" and then everything seems OK except I have NO IDEA what the current fan speeds actually are or how to set them when the config screen is so messed up. When I tried to configure "presets", it did nothing. Basically, the program seems downright awful to me. There's got to be a better solution for fan control in XP. Having to boot up OS X just to set the fan is ludicrous. I don't know how some of you can call that a decent solution. It seems ridiculous that Apple couldn't provide some kind of fan control in Boot Camp. But then I've got SMCFan Control in OS X precisely because Apple's defaults are too low (I set it to 4000 RPM while docked and the temperature rarely goes above 110F and often hovers near 98. But I don't need the Nvidia chips to get screwed up because I'm playing a game in XP.

Update:

I installed Speed Fan, which can't control the MBP's fan speed, but it did tell me the GPU and two core CPU temperatures which were pretty hot compared to OS X. So I reinstalled input remapper and tried it again. The configuration screen is still acting up, but I was able to adjust the minimum fan speed to increase and while it was hard to read the intermittent displays to see what it was set to, I eventually found a 4500RPM, which keeps the cores during basic apps around 100F and the GPU around 120F. Once I hit OK, it Input Remapper seems to stabilize and the MBP's keyboard lighting buttons, volume settings, etc. all seem to function. It's just unstable in configure mode for some reason, although until I do more long term testing I won't know for certain in that regard, but at least it did bump up the fans without having to boot into OS X each time. If it can control the fans, I see no reason why someone couldn't make a fan + temperature monitor app combo without the key remapping aspects.

campliu
Apr 30, 2009, 03:59 AM
Hi, friends:

I got my own program which a dedicated fan controller. It been tested on my new Mac Mini early 2009 (Windows XP). And my source code is open. Everybody should use this to build up a nice GUI program.

NOTE: The program is only a proof of concept. So it only works but lack of functionalities.

1. The program need GIVEIO device driver support. You can get it by install speedfan. Or you can download the standalone package from anywhere.
2. It is a console command line program. Not easy to use, but easy for script. You can add temperature sensor detect function in it.
3. How to get the 'key' definitions of Apple SMC. Please install smcFanControl under OSX. There is a console program in /Application/smcFanControl.app/Contents/Resource/Source. It named 'smc'. Use the command line 'smc -l' to get all 'Key' definitions.
4. For the Apple SMC programming, please refer to Linux Kernel applesmc.c which a kernel extension. It is nice program to communicate with SMC under Linux. The code should help you and me.

BTW: Sorry for my poor English. I am from China. If you got better idea, please email me: iam.liuzhong@gmail.com


#include "stdlib.h"
#include "windows.h"
//Console inp and out functions
#include "conio.h"

#define APPLESMC_DATA_PORT 0x300
/* command/status port used by Apple SMC */
#define APPLESMC_CMD_PORT 0x304

#define APPLESMC_STATUS_MASK 0x0f
#define APPLESMC_READ_CMD 0x10
#define APPLESMC_WRITE_CMD 0x11
#define APPLESMC_GET_KEY_BY_INDEX_CMD 0x12
#define APPLESMC_GET_KEY_TYPE_CMD 0x13

SC_HANDLE hSCMan = NULL;
BOOL IsWinNT = FALSE;
BOOL IsDriverLoaded = FALSE;

// Return Value // Meaning
enum { DRIVER_ALREADY_INSTALLED=100, //100 Driver is already Installed
DRIVER_INSTALL_SUCCESS, //101
DRIVER_INSTALL_FAILURE, //102
DRIVER_ALREADY_UNINSTALLED, //103
DRIVER_UNINSTALL_SUCCESS, //104
DRIVER_UNINSTALL_FAILURE, //105
DRIVER_NOT_INSTALLED, //106
DRIVER_ALREADY_STARTED, //107
DRIVER_IN_USE
};

// SCM & GIVEIO control
BOOL InitSCM()
{
if ((hSCMan = OpenSCManager(NULL, NULL,SC_MANAGER_ALL_ACCESS)) == NULL)
{
printf("ERROR: Can't connect to Service Control Manager.\n");
return FALSE;
}
return TRUE;
}

BOOL ShutDownSCM(SC_HANDLE hSCMan)
{
return CloseServiceHandle(hSCMan);
}

DWORD DriverInstall(LPSTR lpPath, LPSTR lpDriver)
{
BOOL dwStatus = 0;
SC_HANDLE hService = NULL;

// add to service control manager's database
if ((hService = CreateService(hSCMan,
lpDriver,
lpDriver,
SERVICE_ALL_ACCESS,
SERVICE_KERNEL_DRIVER,
SERVICE_DEMAND_START,
SERVICE_ERROR_NORMAL,
lpPath, NULL, NULL, NULL, NULL, NULL)) == NULL)
dwStatus = GetLastError();
else
CloseServiceHandle(hService);

return dwStatus;
}

DWORD DriverRemove(LPSTR lpDriver)
{
BOOL dwStatus = 0;
SC_HANDLE hService = NULL;

// get a handle to the service
if ((hService = OpenService(hSCMan, lpDriver, SERVICE_ALL_ACCESS)) != NULL)
{
// remove the driver
if (!DeleteService(hService)) dwStatus = GetLastError();
}
else dwStatus = GetLastError();

if (hService != NULL) CloseServiceHandle(hService);

return dwStatus;
}

///////////////////////////////////////////////////////////////
// FUNC: GetDriverStatus
// DESC: Returns a Bool; 0 -> GiveIO Driver NOT loaded
// 1 -> GiveIO Driver LOADED
///////////////////////////////////////////////////////////////

int GetDriverStatus()
{
return IsDriverLoaded;
}

BOOL AttachDrv()
{
HANDLE h;

h = CreateFile("\\\\.\\giveio", GENERIC_READ, 0, NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL, NULL);
if(h == INVALID_HANDLE_VALUE)
{
printf("ERROR: Couldn't access giveio device.\n");
return FALSE;
}
CloseHandle(h);
return TRUE;
}

BOOL AttachDIO()
{
OSVERSIONINFO osvi;
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
GetVersionEx(&osvi);

IsWinNT = osvi.dwMajorVersion == 3 || osvi.dwMajorVersion == 4 || osvi.dwMajorVersion == 5 || osvi.dwMajorVersion == 6;

if(IsWinNT)
{
//Load the DirectIO Driver and attach it to this process

//try opening SCM ; if failed Bail out
if(!InitSCM()) return FALSE;

//Install the Driver
char szDrvPath[MAX_PATH];
GetSystemDirectory(szDrvPath,MAX_PATH);
lstrcat(szDrvPath,"\\Drivers\\GiveIO.sys");
DWORD dwRet = DriverInstall(szDrvPath,"giveio");

if(dwRet != 0 && dwRet != 0x00000431) //Success or already installed
{
printf("ERROR: Could not initialize GiveIO.sys Driver.\n");
return FALSE;
}

if(AttachDrv())
{
IsDriverLoaded = TRUE ;
return TRUE ; // Successful PROCESS_ATTACH
}
else
{
DriverRemove("giveio");
return FALSE;
}
}

return TRUE;
}

BOOL DetachDIO()
{
// Perform any necessary cleanup.

//if it is WinNT unload the giveIO driver
if(IsWinNT)
{
DriverRemove("giveio");
IsDriverLoaded = FALSE ;
return ShutDownSCM(hSCMan); //No Error Check :-P
}
return FALSE;
}

short OutPort( int PortAddress, int PortData )
{
short Dummy;

Dummy = (short)(_outp( PortAddress, PortData ));
return(Dummy);

}

short InPort( int PortAddress )
{
short PortData;

PortData = (short)(_inp( PortAddress ));
return( PortData );

}

int wait_status(short val)
{
unsigned int i;

val = val & APPLESMC_STATUS_MASK;

for (i = 0; i < 200; i++) {
if ((InPort(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) == val) return 0;
Sleep(10);
}

return -1;
}

static int applesmc_read_key(const char* key, short* buffer, short len)
{
int i;

OutPort(APPLESMC_CMD_PORT, APPLESMC_READ_CMD);
if (wait_status(0x0c)) return -1;

for (i = 0; i < 4; i++) {
OutPort(APPLESMC_DATA_PORT, key[i]);
if (wait_status(0x04)) return -1;
}

OutPort(APPLESMC_DATA_PORT, len);

for (i = 0; i < len; i++) {
if (wait_status(0x05)) return -1;
buffer[i] = InPort(APPLESMC_DATA_PORT);
}

return 0;
}

static int applesmc_write_key(const char* key, short* buffer, short len)
{
int i;

OutPort(APPLESMC_CMD_PORT, APPLESMC_WRITE_CMD);
if (wait_status(0x0c)) return -1;

for (i = 0; i < 4; i++) {
OutPort(APPLESMC_DATA_PORT, key[i]);
if (wait_status(0x04)) return -1;
}

OutPort(APPLESMC_DATA_PORT, len);

for (i = 0; i < len; i++) {
if (wait_status(0x04)) return -1;
OutPort(APPLESMC_DATA_PORT, buffer[i]);
}

return 0;
}



int main(int argc, char* argv[])
{
short speed[2];
char MINSPEED[5] = "F0Mn";
int st = 0;
AttachDIO();
st = GetDriverStatus();
printf("Driver Status: %d\n", st);
if (st != 1) return 1;

if (argc == 2) {
printf("Set the Minimal speed: %s\n", argv[1]);
st = atoi(argv[1]);
st = st * 4;
speed[0] = st >> 8;
speed[1] = st & 0x00FF;
for (int i = 0; i < 120; i++)
{
if (applesmc_write_key(MINSPEED, speed, 2) == 0) break;
Sleep(1000);
}
if (i == 120) {
printf("Failed, retry again!\n");
return 1;
}
printf("Update Successful\n");
}

for (int i = 0; i < 120; i++)
{
memset(speed, 0, sizeof(speed));
if (applesmc_read_key(MINSPEED, speed, 2) == 0) break;
Sleep(1000);
}
if (i == 120) {
printf("Failed, retry again!\n");
return 1;
}
st = (speed[0] * 0xFF + speed[1]) / 4;
printf("Current Minimal speed: %d\n", st);
printf("All OK!\n");
return 0;
}



Usage: smc [Target minimal fan speed you like]


Two more points:
1. Speedfan lack of support to Apple SMC device driver. Speedfan just only find the SMBus devices on Motherboard. For ex. my Mac Mini has a nvidia nForce motherboard. Speedfan find the I/O Port 2140 & 2100 which all are nvidia SMBus devices. And nvidia did not provide any control method from OS to control fan or something. At least the symptom apply for my Macmini.

2. InputRemapper. A greate tool, It can work well with Apple SMC interfaces. But the fan control did not work for some sort of Mac. And the code not updated for a long time. By my test, Inputremapper may add some retry mechanism. Because I try to update the SMC chip which failed time to time. So my program will retry 120 times untill success.

Robly
Apr 30, 2009, 04:46 PM
just to confirm, SMCfancontrol is a great alternative - when i'm running 3D rendering software I like to whack the fans up to 6200 (while in leopard), then reboot into windows without powering off, and the speed stays up - nice and cool! Mind, when I used vista on bootcamp it still overheated way too much for my tastes, even with fans blaring away.

aki
Apr 30, 2009, 05:53 PM
i also use smcfancontrol on 3.06 imac and it works great for windows use using the reboot trick

leekey
May 27, 2009, 07:46 AM
Thanks campliu,

This solution works great. A nice Fan only control for bootcamp running windows xp.

Only question I have is when I type "smc 3000" - does this set both fans to 3000 rpm?

Lk

lubbbo
Jun 15, 2009, 04:34 AM
Hi all,

I'm working on campliu project and I've modified his code, following his suggestions, to add some other features.
Actually I've also merged some code from the "Extended Fan Control" OSx program to implement these features:

1) Speed setting for 2 MBP unibody fans (CPU and GPU)
2) Speeds fans dinamically updated on the basis of the CPU and GPU temperatures independently.
3) Three working modality:
(a) Only system information retrieval (fans speeds and temperatures, nothing is set)
(b) Only minimum speeds fans settings (one shot)
(c) Fans speeds updated every 3,5 seconds on the basis of CPU and GPU temperature (linear calculation specifying min and max temp and min fan speed. Like Extended Fan Control program.)

The program is in a very draft state, it works (WinXP prof 32bit) but there are some problems with temperatures calculations (not aligned with SpeedFan results) and it haven't a GUI to control settings (but I'm working on).

The big problem is still present: it is incompatible with BootCamp driver, KbdMgr.exe process must be killed before running this program.
It seems that BootCamp driver polls temperatures and fans speeds causing something like hardware deadlocks that freeze the PC for 1 or 2 seconds.
The workaround is to kill the KbdMgr.exe setup minumum fan speed and restart KbdMgr.exe (the command from console to kill the process is "TASKKILL /F /IM Kbdmgr.exe").
But dinamically adjusted fans speeds requires the KbdMgr.exe not running at all: so no keyboard special keys mapping :-(
Unfortunately InputRemapper doesn't work on my MBP Unibody (April 2009) so I can't use it for keyboard special keys mapping.

My main objective is gaming ... so special keys are not necessary, but I desire the perfection ... ;-)

I need some help on this issues:

1) Correctly decode CPU and GPU temps
2) Adding keyboard special key mapping to cover BootCamp functionalities
3) GUI making
4) Hardware port timeout settings (probably could be a way to making BootCamp working at the same time)

Any suggestion will be very appreciated.

Thanks campliu!

Source code and executable in attachment.

USAGE:
FAN <MinTemp> <MaxTemp> <CPU_RPM> <GPU_RPM> <Debug=0/1/2>
or
FAN <CPU_RPM> <GPU_RPM>
or
FAN -i

P.S. Damned Visual Studio Express 2008 (more than 1Gb to build a piece of code) ... use MingW gcc instead it works and it's very light (some changes to "conio.h" are required ... if someone needs help I'm here).

dragoljub
Jun 16, 2009, 04:40 PM
Just thought I would say thanks for the code. While it works it takes forever to change the fan speed, and gives an error message "Read RPM F1AC Error ...OK!" which seems weird.

Any way, a GUI would be very nice. I can diffidently say that this is important to those of us who want to work on windows for extended periods of time or just want to run a game or two.

What is the upper limit of the fans? I had them set to 8000 RPM and it was very very loud but kept the book cool, although I think that there is not much benefit to very fast RPM there must be a sweet spot.


EDIT!

OK for some reason the program stopped working altogether when I removed speedfan. I just get the Driver Status = 0! So I guss it cant find the driver to control the fan? What driver is speedfan using that we need for Fancontrol to work?

-Gagi

-tWv-
Jun 16, 2009, 10:03 PM
Im running Vista in bootcamp on my MacBook Pro and the temp at idle is around 165 and if I do anything else on it like games or such its around 180+. The thing is I bearly hear the fans, unlike in OSX they kick on when needed. Can someone let me in on a program like fan control but for windows that will allow me to control my macbook fans while in vista? I dont like this temp issue!!!

Install SMC fan control (http://www.eidac.de/?p=134) in osx. Then when you want to boot into windows, set the fan speed up higher. If you restart, not shutdown and reboot, the fan speed will stay the same and it will stay cooler in windows with the fans up higher.

dragoljub
Jun 16, 2009, 10:26 PM
While this works I would rather not have to boot into OSX to get into windows. I would like the fans to work just as well through windows as they do through OSX. Besides I use rEFit to boot OSX Ubuntu and Windows, it would be nice to have some code that can control fan speed across platform.

-Gagi

Install SMC fan control (http://www.eidac.de/?p=134) in osx. Then when you want to boot into windows, set the fan speed up higher. If you restart, not shutdown and reboot, the fan speed will stay the same and it will stay cooler in windows with the fans up higher.

-tWv-
Jun 16, 2009, 10:29 PM
While this works I would rather not have to boot into OSX to get into windows. I would like the fans to work just as well through windows as they do through OSX. Besides I use rEFit to boot OSX Ubuntu and Windows, it would be nice to have some code that can control fan speed across platform.

-Gagi

I also use refit to boot ubuntu, osx, and windows but i guess try to use the code that is posted in one of the above posts. I don't know of any easy way to do this besides using smc fan control.

MagnusVonMagnum
Jun 16, 2009, 11:40 PM
While this works I would rather not have to boot into OSX to get into windows. I would like the fans to work just as well through windows as they do through OSX. Besides I use rEFit to boot OSX Ubuntu and Windows, it would be nice to have some code that can control fan speed across platform.

-Gagi

Input Remapper works OK for me, albeit the issues mentioned earlier in the thread (i.e. the preference settings causes it to slow the computer and act weird, but once it's set it runs fine in the background). It starts with Windows. No OS X boot to engage the fan is needed. Really, I can't believe no one has made an SMC like program for Windows considering all the Macbook and Macbook Pro owners out there that would be interested in it. I'd even pay a few bucks for a good program that didn't act funny in Windows.

lubbbo
Jun 17, 2009, 02:39 AM
Hi,

actually Input Remapper could be the best solution, but it doesn't work on new MBP Unibody (with NVidia 9x).

As sad by campliu, my (ehm our) program works only with speedfan installed (or at least the GIVEIO.sys installed in the system).

I'm guessing in the apple forum what are the MBP fans specs to set the max fan speed to a safetly rpm, I've received no useful response, so for now I suggest to not set above 6000 rpm (actually in the automatic mode max rpm are 6000).

I haven't spent to much time on output logs :rolleyes: ...
but "Error...OK!" means that it failed the first attemp (Error), it re-tried for 3 times (...) and at the end it worked (OK!)

I'm improving the program day by day to add following features:

1) Reading the 9600M GT GPU temp, actually the SMC can read only 9400M temp. (using nvapi)
2) Adding hotkeys to manage keyboard special keys (brightness, volume, CD eject, etc)
3) GUI
4) More meaningful output logs

For next versions probably I'll make a website ... I'll let you known.
I'm nice to know that this program it's useful for someone.
Don't hesitate to contact me directly for any reason about it, any suggestion and help will be very appreciated. (lubboster@gmail.com)

See you soon

nickmar
Jun 17, 2009, 08:45 PM
Not sure if this is relevant or not but I noticed that my overheating problems went away once I installed the latest nVidia Windows 7 drivers from www.nvidia.com.

lubbbo
Jun 21, 2009, 08:11 AM
Hi all

Look here to program updates: https://sites.google.com/site/lubbbo/

Anuba
Jun 21, 2009, 02:19 PM
I'm using Win7 x64 on a new MBP 17" 2.8 GHz I got 3 days ago, and I have to say it's nowhere near as bad as some reports would have it.

The GPU diode temp typically stays between 60-70C (140-158F) during normal use, which is pretty much the same as under OS X where I'm currently at 66C doing nothing but typing in Safari.

HW Monitor reports 2000 RPM for both fans, but that number is bullcrap -- fan control is dynamic and I can hear the fans revving up when the load gets heavier. Battery life isn't bad either, it reports around 4:30-5:00 left when I'm using the Balanced scheme and up to 7:00 when I'm using the Energy Saver scheme.

Sure, the fans could be working a little harder in both OS X and Windows, but Apple have clearly tuned the uMBP's to be quiet, not cold. This is an unbelievably quiet laptop; the hard disk makes more noise than the fans.

lubbbo
Jun 21, 2009, 04:20 PM
I'm using Win7 x64 on a new MBP 17" 2.8 GHz I got 3 days ago, and I have to say it's nowhere near as bad as some reports would have it.

The GPU diode temp typically stays between 60-70C (140-158F) during normal use, which is pretty much the same as under OS X where I'm currently at 66C doing nothing but typing in Safari.

HW Monitor reports 2000 RPM for both fans, but that number is bullcrap -- fan control is dynamic and I can hear the fans revving up when the load gets heavier. Battery life isn't bad either, it reports around 4:30-5:00 left when I'm using the Balanced scheme and up to 7:00 when I'm using the Energy Saver scheme.

Sure, the fans could be working a little harder in both OS X and Windows, but Apple have clearly tuned the uMBP's to be quiet, not cold. This is an unbelievably quiet laptop; the hard disk makes more noise than the fans.


I haven't tried Windows 7 on BootCamp (is not supported and it's beta I wait for a supported and stable release) but probably Apple have fixed some fans control problem with new MBP series (3 days ago means that you have buy the latest MBP? Do you have an SD slot instead of Express Card?).
I've tryed Vista 64 and my fans don't speed up (90 C and above when I run games, the same as XP 32), but I've bought my MBP on April 2009....

Anuba
Jun 23, 2009, 06:02 PM
I haven't tried Windows 7 on BootCamp (is not supported and it's beta I wait for a supported and stable release) but probably Apple have fixed some fans control problem with new MBP series (3 days ago means that you have buy the latest MBP? Do you have an SD slot instead of Express Card?).
No, I have the 17" model so the ExpressCard slot is still there.

I've tryed Vista 64 and my fans don't speed up (90 C and above when I run games, the same as XP 32), but I've bought my MBP on April 2009....
OK. Well, like I said the HW Monitor app reports 2000 RPM on both fans no matter if they speed up or not. I did something... I think it was the Windows Experience Index test or whatever, the machine got rather hot on a couple of spots and I heard the fans speed up for half a minute or so, then slow down again, but the HW monitor showed 2000 RPM the whole time.

2000 RPM is the same default speed they run at in OS X. The iStat widget reports something like 1998 RPM on fan 1 and 2003 on fan 2. When I was encoding in iTunes I heard them spin up a little. I haven't tried any games in Windows yet, but I'm sure MBP will get smoking hot. But that's the nature of laptop gaming, it would get just as hot in OS X if the same games existed for that platform. It's a task that maxes out CPU and GPU usage non-stop. The MBP really doesn't have the thermal space to handle that kind of load... that's why gaming laptops like Alienware and Dell XPS are frickin' huge. Alienware's latest m17x is twice as thick as a MBP 17" and nearly twice as heavy.

lubbbo
Jun 24, 2009, 06:51 AM
OK. Well, like I said the HW Monitor app reports 2000 RPM on both fans no matter if they speed up or not. I did something... I think it was the Windows Experience Index test or whatever, the machine got rather hot on a couple of spots and I heard the fans speed up for half a minute or so, then slow down again, but the HW monitor showed 2000 RPM the whole time.

2000 RPM is the same default speed they run at in OS X. The iStat widget reports something like 1998 RPM on fan 1 and 2003 on fan 2. When I was encoding in iTunes I heard them spin up a little.

I think HW monitor shows only the minimum fan speed set.
Actually there are 5 values for fan speed: Actual, Minimum, Maximum, Target and Safe. Actual is the value read by iStat widget (I read it in my program) and Minimum is the low RPM the fans can run (The only value we can change to increase/decrease fans speeds, used in my program).


I haven't tried any games in Windows yet, but I'm sure MBP will get smoking hot. But that's the nature of laptop gaming, it would get just as hot in OS X if the same games existed for that platform. It's a task that maxes out CPU and GPU usage non-stop. The MBP really doesn't have the thermal space to handle that kind of load... that's why gaming laptops like Alienware and Dell XPS are frickin' huge. Alienware's latest m17x is twice as thick as a MBP 17" and nearly twice as heavy.

Using my program with this settings:

Lower Temp 55
Upper Temp 78
Minimum Fans Speeds (Left/Right) 2000/2100

In idle:
59 C GPU (9600)
56 C CPU
Fans 2300 RPM c.a. (it's quiet)

Playing Crysis at High detail 1440x900:
CPU and GPU temps are near 80 C
Fans 6000 RPM

This temp is acceptable, the MBP is not too hot.
Note that I put 2 rubbers under the MBP to let the air flows better.

We cannot ask to a laptop to work as a server 24/7 but if it's created with a great CPU and GPU it must be able use they at full of capabilities, nothing more.
I've bought a Mac not a AnonimPlasticCheaperLaptop, I want to use it.

tgt114
Jul 5, 2009, 02:38 PM
http://sourceforge.net/projects/lubbofancontrol/

Works like a charm
:)

nullx86
Jul 5, 2009, 08:20 PM
tl;dr

SMC Fan Control for Mac
SpeedFan & ik8fanGUI (might need some custom scripting) for Windows

dr. shdw
Jul 24, 2009, 06:19 PM
http://sourceforge.net/projects/lubbofancontrol/

Works like a charm
:)

wtf is wrong with SourceForge? I keep getting this..for multiple files

The "/Lubbo_s Fan Control/0.1.0/LubbosFanControl_0_1_0.zip" file could not be found or is not available. Please select another file.

NovemberWhiskey
Jul 24, 2009, 06:24 PM
Im running Vista in bootcamp on my MacBook Pro and the temp at idle is around 165 and if I do anything else on it like games or such its around 180+. The thing is I bearly hear the fans, unlike in OSX they kick on when needed. Can someone let me in on a program like fan control but for windows that will allow me to control my macbook fans while in vista? I dont like this temp issue!!!

I've found that if you set SMC fan control while you are in leopard, and restart the machine to your bootcamp partition, the fans keep running at the previously set speed.

You can't change the speed while in bootcamp, but at least it is a temporary solution if it gets too hot in bootcamp.

My 7200 rpm MBP got burning hot in bootcamp, but my 5400 rpm unit is cool--surprisingly, sometimes cooler than in leopard.

waffle911
Aug 19, 2009, 04:39 PM
OK, so I'm using the GUI version of Lubbo's fan control (Early '09 MBP 17") in Windows 7 RC (in which everything from Vista works exactly the same, only better; RC is Release Candidate and is about as good as the final product will be), and aside from the issue of it using the same IO resources as Keyboard Manager (kbdmgr) thus requiring it to be shut down, I'm having another problem. If I set the minimum fan speed for both fans to 6000RPM, the left fan only sets the target speed to 2600RPM--and the fan itself doesn't budge from 2000RPM. The right fan does as its told; it's a good little fan and makes its way all the way up to 6000RPM, albeit slowly (in both speeding up and slowing down). Though, this might be by design to avoid temperature-shocking the electronics. If it is, that's a great feature. Good thinking!

BTW, in the unibody MacBook Pros, the CPU and both GPU's all share a single dual-heatpipe heatsink which splits to each of the two fans, so I don't see any benefit to having the fans set at different speeds according to different temperature sensors.

I had a thought though:
Would it be at all possible to take the programming from kbdmgr and then add to it the code for Lubbo's fan control, and just have it all in one? More so that it can be an integrated, automatic process that functions like stock rather than an add-on application.

EDIT: Both fans are working fine now. Not sure why the left fan wasn't stepping up before.

race2
Sep 19, 2009, 02:13 PM
Apologies for the bump.

Lubbo's Mac Book Pro Fan Control (https://sourceforge.net/projects/lubbofancontrol/) is an excellent program and works great. I encourage anyone who desires improved fan control for their MacBook Pro to give it a try.

However, MacBook Pros are not the only machines that can benefit from extra fan control. I have both a first gen Mac Pro and a unibody MacBook Pro. Unfortunately, the MacBook Pros fans work, in my opinion, acceptably in Windows yet my MacPro's do not. They don't even change speed at all while playing Crysis.

I sought Lubbo's help in modifying the command line version of his program to work on my MacPro and I did so, but decided I wanted to improve further on it and make a much more flexible program that can be much more easily modified to work with future releases and with every Intel Mac. The result of these improvements is MacFan, a command line utility. ( https://sourceforge.net/projects/macfan/ ).

MacFan works on all Intel based Macs except for iMacs at the moment. If you have an iMac, please send me a message on sourceforge or post in the Open Discussion there - all I need is about 5 minutes of your time and I can add support for your computer very quickly and easily.

MacFan allows control of each individual fan in your computer. Usage is simple. Simply run the program like so, from an administrator command prompt:

MacFan.exe RPM RPM RPM RPM

Of course, pass only as many RPM arguments as there are fans.

In the future, I am going to be adding an auto temperature function to MacFan as well, but will make it very flexible and allow the user to create rules that specify what fan should change to what RPM when what temperature sensor hits a certain threshold. You'll also be able to use MacFan to set the speed of your fans and then run it in temperature monitoring mode to see how well that speed is working for you. I might even have to add a logging feature to this. Until I add temperature monitoring capability, I would suggest you use Everest (www.lavalys.com) to monitor your temps. It also confirms that your fan speeds are really being adjusted. Just make sure Everest, and KbdMgr.exe (for BootCamp versions previous to 3.0) or BootCamp.exe (for BootCamp 3.0) are not running when you attempt to change your fans.

Also, in case someone with a MacPro is so excited to use this and fails to read the release notes, let me warn you - control of the Power Supply Fan does not work at the moment, so make sure you always pass 0 as the fourth argument and number to set your fourth fan to. This will tell MacFan to not attempt to control the PSU fan. Failure to do so could cause damage to your computer, you have been warned. This will, of course, be fixed in the next release. But I felt it was important to get the program out there ASAP.

I hope some of you find this program useful.

race2
Oct 6, 2009, 08:57 PM
Again, sorry for the bump but this page is still high up on Google and the information in the previous post is quite out of date.

MacFan supports all Intel Macs, including iMacs for fan control as well as temperature monitoring.

Temperature monitoring is used with the /temperature option. You can also specify a number ( for example, MacFan /temperature 20 ) in order to have MacFan monitor temperature sensors in the background.

I'm still working on the MacPro power supply fan control, as well as automatic fan control based on user defined rules. In the meantime, one handy tip: keep MacFan monitoring temperatures in the background and simply push the 'h' key to pause it when you want to change temperatures, which you can do in a separate command prompt. Then push the 'h' key to resume.

Also, there is no longer any need to manually close everest, bootcamp or kbdmgr before running MacFan. It automatically closes them and reopens them after it is done running.

Rotator
Oct 7, 2009, 03:08 PM
When you say ALL macs would that include me Unibody Macbook early 2009? (Not a pro)

spinedoc77
Oct 8, 2009, 07:46 AM
Will this work on a macbook air? I could never get Lubbos program to work on my air.

waffle911
Oct 11, 2009, 12:38 PM
I cannot get it to work. I'm using Windows 7 64-bit on an early-09 MBP 17" (OS X 10.6 installed). When running MacFanx64.exe, it gets as far as closing BootCamp, then prints "PROBLEM LOADING IO DRIVERS. EXECUTION STOPPED."
I tried running it with pre-defined arguments as well (MacFanx64.exe 6000 6000, which I know are the max speeds for the two fans in the MBP), which came up with (after the disclaimer text):
Checking running processes for conflicting programs...
PROBLEM LOADING IO DRIVERS. EXECUTION STOPPED.

Number of fans in the system: -1

Reading fan data...


Machine not found in database. MacFan should still work normally.
Recording fan speeds to file...

All values successfully recorded. Please copy and paste the above
minimum and maximum values and post them in the Open Discussion forum
at sourceforge.net/MacFan along with your computer model (you can get
this in the System Profiler in Mac OS X) so I can add your computer to
the MacFan database. Thanks in advance.

Unexpected error. Make sure number of arguments passed matches number of fans
in your computer.
It then does not restart BootCamp, but that's understandable as it halted before it ever got that far.

Edit: The same error occurs in Lubbo's Fan Control. Anyone have any ideas as to why the IO driver is inaccessible?

dudeitsjay
Oct 17, 2009, 01:33 AM
getting error for trying to run lubbo's fan control
"This application has failed tos tart because the application configuration is incorrect. Reinstalling the application may fix this problem.

Kaz Pinkerton
Oct 20, 2009, 06:21 PM
I cannot get it to work. I'm using Windows 7 64-bit on an early-09 MBP 17" (OS X 10.6 installed). When running MacFanx64.exe, it gets as far as closing BootCamp, then prints "PROBLEM LOADING IO DRIVERS. EXECUTION STOPPED."
I tried running it with pre-defined arguments as well (MacFanx64.exe 6000 6000, which I know are the max speeds for the two fans in the MBP), which came up with (after the disclaimer text):

It then does not restart BootCamp, but that's understandable as it halted before it ever got that far.

Edit: The same error occurs in Lubbo's Fan Control. Anyone have any ideas as to why the IO driver is inaccessible?

getting error for trying to run lubbo's fan control
"This application has failed tos tart because the application configuration is incorrect. Reinstalling the application may fix this problem.

Bumpity bump here, but I felt pretty much obliged to register and respond to let you know that you need to right click those apps and select "Run as administrator". Solved that problem for me completely, and I don't see why it wouldn't for you.

Vucovix
Nov 8, 2009, 12:16 PM
Im running Vista in bootcamp on my MacBook Pro and the temp at idle is around 165 and if I do anything else on it like games or such its around 180+. The thing is I bearly hear the fans, unlike in OSX they kick on when needed. Can someone let me in on a program like fan control but for windows that will allow me to control my macbook fans while in vista? I dont like this temp issue!!!

Running Win7 64, the ONLY program that works for me: MacFan.

It's a DOS Based n in my MBP Unibody works perfectly.

Using Lubbos, my MAC turned into a turtle and almost crashed. The other programs didn`t work either.

http://sourceforge.net/projects/macfan/

aznguyen316
Aug 7, 2010, 10:15 AM
Lubbos fan works perfect in my 2010 MBP 13" glad there's a solution. I forget to set my fan sometimes in OSX via SMC fan.

jonathon01
Jan 2, 2011, 11:18 PM
i use smbfancontrol and it works well until there is a windows app....basically i have a hifanspeed setting for windows and u can set the speeds then reboot - not shutdown and startup - and the same fan settings will last for the windows

for everyday apps its not important i think but for games my hd gets too hot after some playing so i think its good to use

Hi,

I have a 2010, 21.5 inch iMac, core i3 processor and I have Windows XP with boot camp so I can play games.

Sometimes when I am playing games, the top of the computer gets hot and sometimes cause the game to crash. I have smc fan control and I set it to about 4000 rpm when using OS X but when I restart the computer and hold the option key to boot into windows, it just boots straight into Mac OS X again.

Please someone help!

Thanks Jonathon

joaquinw
Feb 14, 2011, 10:58 PM
Hello all, I had the same problem using my MacBook so I created an Aplication to regulate the temperature based on all the important sensors for Macbook and MacbookPro.
So if you want to test it here is the link.

Alpha version 1.0
http://sourceforge.net/projects/ifanautocontrol/

Regards :cool:

Smalss
Feb 24, 2011, 02:09 PM
Can anyone comment on the ifanautocontrol app that joaquinw has made?

Dr McKay
Feb 25, 2011, 12:49 PM
I'm not entirely sure how Bootcamp works, but if you are able to enter the system BIOS if Bootcamp simulates that.

Most BIOS's will have an option for 'Allow fans on' which will make them spin constantly and not just when Windows detects a rise in temp.

Samiri
Apr 26, 2011, 02:54 AM
Hi Everyone.

i have read thrug all the post but now i am pretty much confused.
What program is the best program for Windows 7 - Mac?

markko88
Jul 15, 2011, 07:35 PM
I have an iMac 2009 with a SSD; I solved the problem of fans running fast under Mac Os X, but I still have the problem on Bootcamp; is there a way to turn off the HDD fan?

HashMash
Aug 10, 2012, 04:39 AM
I have also the same problem but for Mac I use smc fan control and its alot better because it doesnt get that hot, but its a little bit louder.
Anyway what should I use for my windows 7 ultimate x64?

My Mac specs: i7 quad-core, 4gb ram, at radeon 6630m 256mb.

MagnusVonMagnum
Aug 13, 2012, 03:50 PM
iFanAutoControl has been working really well for me in Windows on my Macbook Pro. Unfortunately, you cannot control the fan manually in any way, but I've found it does a great job of keeping the temperature in a "safe" range. In fact, I find it BETTER in "livability" to SMC Fan Control in OSX in the sense that it slowly ramps up the speed to keep a given temperature range whereas SMC is pretty much an override "minimum" to OSX's own temperature control (i.e. if I want to be safe with a game, I have to set it to maximum fan speed since I cannot monitor the temperature while in most games, but the Windows iFanAutoControl does that for me and just ramps the fans up as it gets hotter, and lower when it cools down).

Lubbos didn't work with my Macbook Pro and InputKeyRemapper is out of date and prone to bizarre behavior with many of its settings (at least on my MBP). iFanAutoControl is the ONLY good solution I've found thus far in Windows on a Mac. Frankly, it has done a great job thus far (and I have a NVidia 8600M GT in my Macbook Pro, so to be on the safe side, I have to keep it cool to be on the safe side with the well known chip failures that seem to occur when that chip gets too hot).

mmughal
Sep 23, 2012, 12:48 AM
Hi guys,
Anyone tried anything on MacPro 4.1, my GPU seems to me heating up to 80C when running Maya 2013 I have a Quadro 4000 Mac.

i shall try few suggestion mentioned here like Mac64 if anyone has tested please mentioned

makaveli559m
Sep 24, 2012, 02:34 PM
I have a big theory why Macs are hotter other than bad driver management, even when Windows doesnt read the 2nd graphics card, the 2nd graphics card is still active. I have software that monitors temps and also on Everest it reports that the Intel HD card is active and not disabled. If Apple were to give control on the 2nd graphics card than the MacBook Pro would run as cool as on the OSx side.

cpguru21
Sep 26, 2012, 09:01 AM
http://sourceforge.net/projects/macfan/?source=directory

I found it easy to use. I set a batch file to load at log in so I would not need to remember to launch. My Macbook Pro runs to hot (video it seems) and this helps keep the entire system cool. This is used from within windows.

The only downfall I found is if the laptop goes in to sleep mode, the fans do not fire back up again, and have to manually start the program.

I am using with Windows 7 64bit.

PaulRulesTheWld
Jun 29, 2013, 02:24 AM
It's called Lubbo's MscBook Pro Fan Control (http://sourceforge.net/projects/lubbofancontrol/?source=dlp) I hope this helps

truelies
Nov 7, 2013, 01:17 PM
It's called Lubbo's MscBook Pro Fan Control (http://sourceforge.net/projects/lubbofancontrol/?source=dlp) I hope this helps

This one doesn't work good for my mid 2012 macbook pro

1. Can't quit unless shut down, the fan keep running at 6000rpm
2. cpu, gpu always 90 degree, not change, this cause fan always run at 600rpm

Mac32
Nov 7, 2013, 05:20 PM
Lubbo doesn't work in Windows 8, and the interface is kinda crappy. I found another program that's much better IMO.
Try this one: http://www.crystalidea.com/macs-fan-control