A simple daemon to control fan speed on all MacBook/MacBook Pros (probably all Apple computers) for Linux Kernel 3 and newer
src | ||
.gitignore | ||
Makefile | ||
mbpfan.init | ||
mbpfan.rc-not-maintained | ||
PKGBUILD-not-maintained | ||
README.md |
Fan-Control-Daemon
Introduction
This is an enhanced version of rvega's Fan-Control-Daemon, which itself is an enhanced version of Allan McRae mbpfan
Fan-Control-Daemon is a daemon that uses input from coretemp module and sets the fan speed using the applesmc module. This enhanced version assumes any number of processors and fans (max. 10).
- It only uses the temperatures from the processors as input.
- It requires coretemp and applesmc kernel modules to be loaded.
- It requires root use
Compile Instructions
Compile with make
Manually compile with gcc -o bin/mbpfan src/mbpfan.c -lm
Install Instructions
Install with make install
It actually copies mbpfan to /usr/sbin,
Run Instructions
Run with sudo bin/mbpfan
License
GNU General Public License version 3