Fan control on Macbook
One thing that is not working very well on Macbooks is the fan control. On top of the machine running warmer than under OS-X, the fans don’t kick in until it’s very hot.
To remedy this, you can write a program to do this. I got a source code of existing package called cmp-daemon (http://aur.archlinux.org/packages.php?ID=21391) and tailored it to my machine (The fan RPM is a linear function of CPU temperature, but you might want to change it to step function, for example).
The set-up is pretty simple. There is the source code cmp-daemon.c, and a bash script to start|stop|restart the daemon: cmp-daemon.sh (see attachments). Just follow these steps:
- Edit cmp-daemon.c to your liking
- Compile:
$ gcc -Wall cmp-daemon.c -o cmp-daemon
- Copy the compiled program:
# cp cmp-daemon /usr/sbin/
- Copy the daemon script (make sure it is executable):
# cp cmp-daemon.sh /etc/rc.d/cmp-daemon
- Start daemon:
# /etc/rc.d/cmp-daemon start
or edit /etc/rc.conf:
DAEMONS=(.. cmp-daemon ..)
Attachments:
cmp-daemon.c (Download):
cmp-daemon.sh (Download):

There is another program called mbpfan. It is written for Macbook Pros, but it works for Macbooks too. I find this coded a little more elegantly and uses more sophisticated step function. See (& Download):
http://allanmcrae.com/2010/05/simple-macbook-pro-fan-daemon/
thanks for sharing the info! How is it working with Arch on Macbook so far? Any other issues than the fan control?
This post something sure worth understanding. There are tons of posts that simply make no sense. Do keep up the great posting and many more visitors will keep coming back.
How-do-you-do mate – genuinely treasure you making the time to post this – its perpetually greater to see someone really do it instead than just studying it!