UPDATE 12/01/2012
- updated for orneric and kernel 3.x
- change
- appldkms its no more need
***TESTED IN A WHITE MACBOOK 4.1 cor2duo
after several reinstalls the system, drivers, scripts and other programs, I could control the fan in my macbook 4.1 in ubuntu natty 11.04
these were always running at full speed 6200 rpm, regardless of whether the temperature was high or low, 40 degrees or 70 degrees, as did the fans are not regulated!
still following the ubuntu help manual for my macbook and installing macfanctl, there was no way to control the fan ...
after doing a million tests and configurations, and listen to advice, I've found it!
the problem is not in control the minimum speed or maximum speed of the fans, what matters is the current speed of the fan and the output speed!.
macfanctld apparently has no option for this and is based solely on the minimum and maximum speed but not control the actual parameter that is running the fan and output speed.
The solution is easy, not as I did not think before!.
Instead of using macfanctl, install the script smcFanControl and set up to control the output speed of the input also! making the actual speed of the fan in my macbook change according to the temperature I want! Excellent!
But my white macbook 4.1, in osx at a temperature of 50-60 degrees the fan is at 1800 rpm, if it rises to 60 increases to 2500-3000 rpm, and reach 70 degrees Celsius or more the speed increases to 6200 rpm the temperature dropping rapidly, temperatures are high but if Apple allows these temperatures so high is because macs support them, and to blame for the high temperatures of the macbooks / pro is not the cpu or gpu is the airport card, being turned on this easily reaches temperatures of 70-80 degrees YES LOL!, but Apple says this is normal operating temperature, so even if the cpu is at 40 degrees and the bottom of the macbook feel this burn, but it is the airport, if airport off temperature drops to 50-60 degrees ..
ok go on with it! first thank the creator of smcFanControl, applesmc-dkms, lm-sensors, sensors-applet-sysmonitor indicator, and the large community of ubuntu, if you have problems with your macbook fans are always at 6200 rpm or want to control them as you like These are the steps to follow (it worked for me):
*** IF YOU HAVE INSTALLED: MACFANCTLD, APPLESMC-DKMS, Uninstall from Terminal:
sudo apt-get purge macfanctld
sudo apt-get purge applesmc-dkms
1. install lm-sensors: sudo apt-get install lm-sensors
2. configure the sensors and add to /etc/modules, in terminal run: sensors-detect, answer yes to all questions, once finished searching all the sensors are sensors cpu will come out and ask them if they want to add them to /etc/modules RESPOND YES
example:
#---- Cut here ----
CoreTemp
LM75 (lm75 can change in your macbook, so use the your its only example)
#---- Cut here ----
ask if you want to automatically add them to /etc/modules, respond YES
3.According To the sensors found, do a modprobe in the terminal. example:
sudo modprobe coretemp
sudo modprobe lm75 (lm75 can change in your macbook, so use the your its only example)
5.******** NO MORE NEEDED ON ORNERIC 11.10 ********* Download applesmc-dkms for natty 11.04 (attached to the post), original link http://ubuntuforums.org/showthread.p...2465&page=6#59
unzip the download, and install the .deb from terminal:
cd "folder of the .deb file"
sudo dpkg -i applesmc-dkms_0.17.4-natty-mactel1~test1_all.deb ******** NO MORE NEEDED ON ORNERIC 11.10 *********
6. Download smcFanControl for natty and smcfancontrol-orneric for new ubuntu 11.10 (attached to the post), original link: http://ubuntuforums.org/showthread.php?t=1102465#1
7. unzip the download and configure smcFanControl: OPEN THE FILE: smcFanControl with gedit and configure:
minTemp= # Lowest temperature ----> Minimum temperature, 55 degrees to my taste, BATTERY SAVING, AND SIMILAR TO PARAMETER USED BY APPLE
maxOnlineTemp= # Highest temperature when online ----> 65 DEGREES TO MY TASTE
maxOfflineTemp= # Highest temperature when offline --> ACCORDING TO YOUR TASTE, BUT APPLE RAISES THE SPEED 6200 RPM WHEN THE TEMPERATURE REACHED 70 DEGREES
fanMinSpeed=2000 # Lowest fan-speed --- ACCORDING TO YOUR TASTE
fanMaxSpeed=6200 # Highest fan-speed ----------> 6000 Change for 6200 most fans of core2duo macbooks, support a speed of 6200 rpm
tempCalc=highest # Temperature calculation ("highest" uses highest temperature, "average" takes the average, ----> PREFERABLY HIGH, BUT ACCORDING TO YOUR TASTE TEST AVERAGE
sensorsUsed=2 # How many sensors to use (first sensors are for coretemp, one for each CPU core ----> 2 works well
*** manFanControl=false # Set to true if you want to define direct output, instead of fan minimum speeds --> IMPORTANT CHANGE TO TRUE
IF NOT THE FAN NOT DROP TO 6200 RPM although the temperature is low
useCoretemp=true # Set to false if you don't want to use coretemp sensors --> no change it
checkInterval=10 # Interval to check whether fan speed needs an update (in seconds) --> according to your tastes, I prefer 1 or 3 seconds to more accurately but spends most battery
updateInterval=0.5 # works very well
save and exit
8. install smcfancontrol from terminal:
cd "smcfancontrol folder"
sudo ./install
9. completely shut down the macbook, turn it on ubuntu start and continue with step 10
10. optional indicator-sysmonitor install, to monitor the speed and temperature run in terminal:
sudo add-apt-repository ppa:alexeftimie/ppa
sudo apt-get update
sudo apt-get install indicator-sysmonitor
11.to open it: alt + f2 and run indicator-sysmonitor, and configure the sensors to display, should be:
CoreTemp-isa-0000
CoreTemp-isa-0001
Fan exhaust
(CoreTemp, are sensors of the processor, which is based the script for manipulating the fan)
12. enjoy a good control of the fan and temperature according to your taste!
*** SURELY WORKS FOR ALL MacBooks/PRO, TESTED IN A WHITE MACBOOK 4.1
ATTACH PICTURE OF OSX TEMP AND FAN IN LEOPARD 10.5.8 MACBOOK WHITE 4,1 CORE2DUO
GREETINGS ENJOY
Bookmarks