You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an outer loop in mbpfan.c:retrieve_sensors to loop over all coretemp
directories. Also increase hard-coded limits from 10 to 12 or 16 since
the temp endpoints are sometimes indexed that high.
For example, this is required for supporting a Mac Pro with two processors
of 16 cores, requiring
/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp{1..12}
/sys/devices/platform/coretemp.1/hwmon/hwmon1/temp{1..12}
Fixes#152.
Copy file name to clipboardExpand all lines: mbpfan.conf
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,17 @@
1
1
[general]
2
2
# see https://ineed.coffee/3838/a-beginners-tutorial-for-mbpfan-under-ubuntu for the values
3
-
#min_fan_speed = 2000 # put the *lowest* value of "cat /sys/devices/platform/applesmc.768/fan*_min"
4
-
#max_fan_speed = 6200 # put the *highest* value of "cat /sys/devices/platform/applesmc.768/fan*_max"
3
+
#
4
+
# 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
5
+
# by setting the values for the speeds in this config it will override whatever it finds in:
6
+
# /sys/devices/platform/applesmc.768/fan*_min
7
+
# /sys/devices/platform/applesmc.768/fan*_max
8
+
# or the defaults.
9
+
#
10
+
# multiple fans can be configured by using the config key of min_fan*_speed and max_fan*_speed
11
+
# the number used will correlate to the file number of the fan in the applesmc driver that are used to control the fan speed.
12
+
#
13
+
#min_fan1_speed = 2000 # put the *lowest* value of "cat /sys/devices/platform/applesmc.768/fan*_min"
14
+
#max_fan1_speed = 6200 # put the *highest* value of "cat /sys/devices/platform/applesmc.768/fan*_max"
5
15
low_temp = 63 # try ranges 55-63, default is 63
6
16
high_temp = 66 # try ranges 58-66, default is 66
7
17
max_temp = 86 # take highest number returned by "cat /sys/devices/platform/coretemp.*/hwmon/hwmon*/temp*_max", divide by 1000
0 commit comments