mbpfan-josie

Document min_fan*_speed = 0 fan-off

bfe640de4f932d8986547c28f7dd138a5473bd43
cjosie <administrator@josie-c.com> · 2026-11-10T22:27 · browse files at this commit

parents: 0d24aad

diff --git a/mbpfan.8 b/mbpfan.8
index 90fb6bf..fdfb00a 100644
--- a/mbpfan.8
+++ b/mbpfan.8
@@ -20,7 +20,9 @@ Be (alot) verbose
 .SH FILES
 .I /etc/mbpfan.conf
 .RS
-The system wide configuration file.
+The system wide configuration file. Per-fan speed limits can be
+overridden with min_fanN_speed / max_fanN_speed; setting min_fanN_speed
+to 0 stops the fan while the temperature is at or below low_temp.
 .RE
 .SH AUTHOR
 Daniel Graziotin  <daniel@ineed.coffee>
diff --git a/mbpfan.conf b/mbpfan.conf
index df299d3..028232c 100644
--- a/mbpfan.conf
+++ b/mbpfan.conf
@@ -1,20 +1,23 @@
 [general]
 # See the comments below for guidance on choosing values.
-# 
-# mbpfan will load the max / min speed of from the files produced by the applesmc driver. If these files are not found it will set all fans to the default of min_speed = 2000 and max_speed = 6200
-# by setting the values for the speeds in this config it will override whatever it finds in:
-# /sys/devices/platform/applesmc.768/fan*_min
-# /sys/devices/platform/applesmc.768/fan*_max
-# or the defaults.
 #
-# multiple fans can be configured by using the config key of min_fan*_speed and max_fan*_speed
-# the number used will correlate to the file number of the fan in the applesmc driver that are used to control the fan speed.
+# mbpfan will load the min / max speed of each fan from the fan_min / fan_max
+# files exposed by the applesmc driver. If these are not found it will use the
+# defaults min_speed = 500 and max_speed = 6500. Setting the speed values in
+# this config overrides whatever it finds there.
 #
-#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"
+# multiple fans can be configured by using the config keys min_fan*_speed and
+# max_fan*_speed; the number correlates to the fan number in the applesmc driver.
+#
+# Setting min_fan*_speed to 0 stops that fan while the temperature is at or
+# below low_temp. The SMC ramps the fan back up smoothly when the temperature
+# rises again (verified: no snap to the SMC minimum, no surge).
+#
+#min_fan1_speed = 0	# 0 = stop fan below low_temp
+#max_fan1_speed = 6500	# highest value of the fan's fan_max sysfs file
 
 # temperature units in celcius
-low_temp = 63			# if temperature is below this, fans will run at minimum speed
+low_temp = 63			# if temperature is below this, fans will run at minimum speed (or stop, if min_fanN_speed = 0)
 high_temp = 66			# if temperature is above this, fan speed will gradually increase
 max_temp = 86			# if temperature is above this, fans will run at maximum speed
 polling_interval = 1	# default is 1 seconds