forked from rvega/Fan-Control-Daemon
-
Notifications
You must be signed in to change notification settings - Fork 140
Closed
Description
Thanks for working on this application.
It looks like CentOS 7.3 uses the new sensor path so I made a custom build to skip the is_legacy_kernel()
function and just hard code the new sensor path. mbpfan worked fine for me on CentOS 7.2 so I'm pretty sure this is something updated in the kernel. Would it be possible to do feature detection (i.e. look for the new path, then the old path, then fail) instead of using the kernel versions to set the path?
# uname -a
Linux amsinckia 3.10.0-514.2.2.el7.centos.plus.x86_64 #1 SMP Wed Dec 7 19:10:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
# lsmod | grep applesmc
applesmc 19308 0
input_polldev 13896 1 applesmc
# lsmod | grep coretemp
coretemp 13444 0
Unmodified version (using the old sensor path):
# mbpfan -f -t
Starting the tests..
It is normal for them to take a bit to finish.
mbpfan could not detect any temp sensor. Please contact the developer.
My custom build (using the new sensor path):
# mbpfan -f -t
Starting the tests..
It is normal for them to take a bit to finish.
min_fan_speed value is not 6200
Tests run: 6
Metadata
Metadata
Assignees
Labels
No labels