Commit graph

20 commits

Author SHA1 Message Date
mikaelbjoern
50f3a67ab4 Add support for many processors (not just cores)
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.
2019-01-18 11:26:11 -08:00
Ati Sharma
968133eb10 Add support for many processors (not just cores)
* Add support for many processors (not just cores)

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}

This solves issue #152 "Mac pro with two processors".
2018-09-20 01:53:21 +05:30
Andrew Gaul
810adc671b Detect minimum and maximum fan speeds
Default to previous values if detection fails.  Configuration can
still override these values.  Fixes #114.
2018-08-29 00:07:34 +05:30
Daniel Graziotin
1ee0e1f1fa [fix #92] support for CentOS w/ Linux 3.10.0 but new sensors path 2017-04-02 16:59:50 +00:00
Daniel Graziotin
adccefb1f7 polished authorship status at beginning of files 2016-08-29 10:29:11 +02:00
otilmans@gmail.com
8bb61f8633 Add function to give back fan control to applesmc 2014-07-21 23:44:13 +02:00
Daniel Graziotin
2b1606025e Fixed conflict 2014-06-22 17:13:10 +02:00
Daniel Graziotin
d14c7107e8 Almost done with #38. 2014-06-22 16:48:44 +02:00
Daniel Graziotin
6bfe9325c3 Support for kernel >= 3.15 2014-06-21 19:35:56 +02:00
Daniel Graziotin
a2dacfde05 Fixes #4. Adds some tests for #28 2012-11-18 22:16:49 +01:00
Daniel Graziotin
45755d6228 First attempt to fix #24 2012-10-24 11:13:25 +02:00
Daniel Graziotin
1f8131bd9d Fixes #18. Seems ready for v1.4.0 2012-08-23 22:32:49 +02:00
Daniel Graziotin
fcf18f52cf Cleanup, reformatting, better Makefile and better README 2012-08-22 15:05:52 +02:00
Daniel Graziotin
4672a0fbfe Fixes #12 2012-07-03 10:30:40 +02:00
Daniel Graziotin
202ebf2af5 Cleanup 2012-07-03 09:37:44 +02:00
Daniel Graziotin
1078814133 Fixes #10 2012-06-16 11:02:48 +02:00
Daniel Graziotin
7e65d1e658 Fixes #9 2012-06-15 21:07:11 +02:00
Daniel Graziotin
cd3c15ba9d Fixes #1 and #2 2012-06-11 21:43:53 +02:00
Daniel Graziotin
0428dafb3a Take manual control of the fans
Converted all unsigned short to int
Changed Polling Interval to 5
2012-06-09 19:07:25 +02:00
Daniel Graziotin
8d89d05cf2 Initial commit of enhanced version 2012-06-09 16:25:28 +02:00