lavoiesl / osx-cpu-temp

Outputs current CPU temperature for OSX
GNU General Public License v2.0
924 stars 156 forks source link

"Fan 0 - Exhaust at 0 RPM (0%)" on Mac mini (Mid 2011), High Sierra #19

Open bskendig opened 5 years ago

bskendig commented 5 years ago

Built/ran the current code on a Mac mini (Mid 2011) running macOS 10.13.6 with Xcode 10.1. It doesn't seem to be able to read the fan speed.

osx-cpu-temp $ ./osx-cpu-temp -F
128.5°F
osx-cpu-temp $ ./osx-cpu-temp -f
Num fans: 1
Fan 0 - Exhaust   at 0 RPM (0%)

The fan is working, and the app "Macs Fan Control" shows that the current RPM is right around 1800 (the fan's minimum speed). I also tried smcFanControl and that shows a correct-looking RPM value, too.

bskendig commented 5 years ago

I'll amend this - when I put the CPU under load, I sometimes get small values for the RPM.

osx-cpu-temp $ osx-cpu-temp -f
Num fans: 1
Fan 0 - Exhaust   at 4 RPM (0%)
osx-cpu-temp $ osx-cpu-temp -f
Num fans: 1
Fan 0 - Exhaust   at 0 RPM (0%)
osx-cpu-temp $ osx-cpu-temp -f
Num fans: 1
Fan 0 - Exhaust   at 2 RPM (0%)