-
Notifications
You must be signed in to change notification settings - Fork 140
Description
Hello,
My setup: MBP9.1 -- Linux oli-laptop 3.15.1-1-ARCH #1 SMP PREEMPT Tue Jun 17 09:32:20 CEST 2014 x86_64 GNU/Linux
There are no tempX_* files under /sys/devices/platform/coretemp.0/ ; which results in:
$ sudo mbpfan -f -v
Writing a new .pid file with value 7738 at: /var/run/mbpfan.pid
mbpfan[7738]: Writing a new .pid file with value 7738 at: /var/run/mbpfan.pid
Successfully written a new .pid file with value 7738 at: /var/run/mbpfan.pid
mbpfan[7738]: Successfully written a new .pid file with value 7738 at: /var/run/mbpfan.pid
Couldn't open configfile, using defaults
Found 0 sensors
Found 2 fans
Sleeping for 7 seconds
Old Temp 0: New Temp: 0, Fan Speed: 2000
Sleeping for 7 seconds
Old Temp 0: New Temp: 0, Fan Speed: 2000
[...]
Instead they are under /sys/devices/platform/coretemp.0/hwmon/hwmon1/ (and I guess more generally they would be in hwmonX if I had multiple CPU's)
I patched for my case, but have no idea if that applies for other distrib/laptop
Which results in
sudo ./bin/mbpfan -f -v
Writing a new .pid file with value 7740 at: /var/run/mbpfan.pid
mbpfan[7740]: Writing a new .pid file with value 7740 at: /var/run/mbpfan.pid
Successfully written a new .pid file with value 7740 at: /var/run/mbpfan.pid
mbpfan[7740]: Successfully written a new .pid file with value 7740 at: /var/run/mbpfan.pid
Couldn't open configfile, using defaults
Found 5 sensors
Found 2 fans
Sleeping for 7 seconds
Old Temp 69: New Temp: 68, Fan Speed: 2000
Sleeping for 7 seconds