This page is a step by step guide to get fan control working on t2 Macs.
In some Macs, the fan has been found to work out of the box. In such a case the driver is not required until you want to force a certain speed or do some other configuration which can be done by the help of this driver.
Clone the repository into a directory of your choice
git clone https://github.com/networkException/mbpfan
Compile the daemon using
Note: This will run a patch script that finds a fan device on your system. You can use its output for debug purposes
Run the tests to confirm that everything is working
sudo make tests
- If the tests ran successfully, install using
sudo make install
Now enable starting at boot
sudo cp mbpfan.service /etc/systemd/system/ sudo systemctl enable mbpfan.service sudo systemctl daemon-reload sudo systemctl start mbpfan.service
The daemons config file can be found at
/etc/mpbfan.conf. Uncommenting and setting
min_fan1_speed for example will let you
force a certain speed.