Commit graph

10 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
Andrew Gaul
e58a67f630 Avoid setting speed when already set to that speed 2018-08-21 04:08:47 +05:30
Andrew Gaul
399aad782a Do not repeatedly reopen fan and sensor devices
This avoids unnecessary system calls and saves battery.
2017-07-14 21:56:05 -07:00
otilmans@gmail.com
44d2ad7b82 Expose fans and sensors globally 2014-07-21 23:43:39 +02:00
Daniel Graziotin
a2dacfde05 Fixes #4. Adds some tests for #28 2012-11-18 22:16:49 +01:00
Daniel Graziotin
33a3710995 Fixes #27 2012-11-12 11:48:05 +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
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