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
1716d9d877
Update unit tests for fan speed auto-detection
...
Fixes #164 . References #114 .
2018-09-13 10:29:48 -07:00
Andrew Gaul
b0cdfd4c27
Propagate exit code from unit tests
...
Also flag errors more clearly. References #164 .
2018-09-13 10:06:52 -07:00
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
Andrew Gaul
ce3218407f
Check root privileges before running tests
...
References #155 .
2018-08-21 03:35:27 +05:30
Daniel Graziotin
5f2da79651
[ Fix #117 ] eliminate redundant exec() in check_requirements
2017-06-21 11:39:16 +02:00
Daniel Graziotin
f20a2274e1
[ #117 ] call closedir(dir) when checking requirements
2017-06-21 11:32:55 +02:00
Robert Musial
e7dd42e125
changes to legacy kernel detection
2017-03-27 11:44:34 -04:00
Robert Musial
b454fcef60
Update main.c
2017-03-26 01:52:45 -04:00
Robert Musial
b149238c29
Update main.c
2017-03-24 18:02:43 -04:00
Robert Musial
13543b3b55
Update main.c
2017-03-22 00:32:04 -04:00
Robert Musial
b71375f6af
Update main.c
2017-03-20 14:16:21 -04:00
Robert Musial
a99aaad680
Changes to be committed:
...
modified: AUTHORS
Updated personal info.
modified: Makefile
Beginning work to clean up Makefile. The original makefile appeared
to be checking if the system was Windows NT. Since this is for GNU/
Linux, that was removed. Also all of the code is C, but the
Makefile was calling the C++ compiler to hide bool issues and
missing typedefs (which C++ is ok with but C is not).
modified: src/daemon.c
Added structs, added stdbool.h
modified: src/main.c
Added stdbool.h
modified: src/mbpfan.c
Added stdbool.h
modified: src/minunit.c
Added stdbool.h
2017-03-19 13:43:55 -04:00
Daniel Graziotin
adccefb1f7
polished authorship status at beginning of files
2016-08-29 10:29:11 +02:00
Daniel Graziotin
42be2d5c76
Correct syslog use for priority codes [ fixes #44 ]
2014-06-29 12:58:53 +02:00
Daniel Graziotin
473a12fd29
correct use of EXIT_SUCCESS and EXIT_FAILURE, fixes #43
2014-06-29 12:42:52 +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
John Ferlito
2636e193c8
pclose the popened processes
...
This prevents two defunct sub processes hanging around.
2014-05-24 19:51:01 +10: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
ac4178b36e
I must be drunk or something. Fixes #22
2012-10-19 20:37:08 +02:00
Daniel Graziotin
d9aee40c70
Fixes #22 . Also, really fixes #23 , sorry
2012-10-19 20:15:01 +02:00
Daniel Graziotin
4dbce6bcb3
Fixes #23
2012-10-19 18:25:10 +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
1078814133
Fixes #10
2012-06-16 11:02:48 +02:00
Daniel Graziotin
a6cc7a45b6
(sort of) fixes #8
2012-06-15 21:47:23 +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