Open whxvd opened 10 months ago
I was confused, because the default mbpfan.conf
mentiones https://ineed.coffee/post/a-beginners-tutorial-for-mbpfan-under-ubuntu, which uses the names without numbers, and because the advice in the default mbpfan.conf
("put the ... value of "cat /sys/devices/platform/applesmc.768/fan*_...") makes most sense when all fan speeds would be set together.
Another problem is, that the daemon does not give an error message, when the configuration file uses an unsupported name. E.g., I can write a line troet = 23
in it, restart the service, and the logs says nothing. So that could not be used to disambiguate.
However, for now I assume it is as the other comments in the default configuration file say: Every fan is set individually, and there is no min/max setting for all fans at once (anymore). I now just use the defaults from the SMC, i.e., no explicit setting.
The default
mbpfan.conf
contains:#min_fan1_speed = 2000 # put the *lowest* value of "cat /sys/devices/platform/applesmc.768/fan*_min" #max_fan1_speed = 6200 # put the *highest* value of "cat /sys/devices/platform/applesmc.768/fan*_max"
Shouldn't it be
min_fan_speed
andmax_fan_speed
instead ofmin_fan1_speed
andmax_fan1_speed
?
That seems to be the case. My mbpfan service fails to run with the numbers in the variable names but works as expected without them.
The default
mbpfan.conf
contains:Shouldn't it be
min_fan_speed
andmax_fan_speed
instead ofmin_fan1_speed
andmax_fan1_speed
?