I dual boot Ubuntu 14.04 LTS on my work MacBook Pro (2015?). The SSD makes it a pretty quick dev machine but out of the box temperature control doesn’t seem to work. There are lots of outdated old forum posts about manually setting the fan speed. In 2018 all you need to do get fan control working is install macfanctld!
$ sudo apt install lm-sensors $ sensors BAT0-virtual-0 Adapter: Virtual device temp1: +35.3°C coretemp-isa-0000 Adapter: ISA adapter Physical id 0: +73.0°C (high = +84.0°C, crit = +100.0°C) Core 0: +73.0°C (high = +84.0°C, crit = +100.0°C) Core 1: +69.0°C (high = +84.0°C, crit = +100.0°C) Core 2: +71.0°C (high = +84.0°C, crit = +100.0°C) Core 3: +68.0°C (high = +84.0°C, crit = +100.0°C) ...
Install fan control daemon:
sudo apt install macfanctld
Instantly the fans spin up and the temperature quickly drops down to normal:
$ sensors BAT0-virtual-0 Adapter: Virtual device temp1: +33.9°C coretemp-isa-0000 Adapter: ISA adapter Physical id 0: +54.0°C (high = +84.0°C, crit = +100.0°C) Core 0: +54.0°C (high = +84.0°C, crit = +100.0°C) Core 1: +50.0°C (high = +84.0°C, crit = +100.0°C) Core 2: +50.0°C (high = +84.0°C, crit = +100.0°C) Core 3: +50.0°C (high = +84.0°C, crit = +100.0°C) ...