Robert Musial
13543b3b55
Update main.c
2017-03-22 00:32:04 -04:00
Robert Musial
8ed45aa5c2
Update daemon.c
2017-03-22 00:31:11 -04:00
Robert Musial
a7d3eb265d
Update mbpfan.c
2017-03-20 14:16:50 -04:00
Robert Musial
b71375f6af
Update main.c
2017-03-20 14:16:21 -04:00
Robert Musial
c52a624bac
Update daemon.c
2017-03-20 14:15:58 -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
Robert Musial
8582ed58ce
Delete .minunit.c.swp
...
created by vim
2016-11-18 14:25:30 -05:00
Robert Musial
6e010e4116
added return 0; to line 106 to prevent core dump when compiled with clang
2016-11-18 14:16:59 -05:00
Daniel Graziotin
adccefb1f7
polished authorship status at beginning of files
2016-08-29 10:29:11 +02:00
Daniel Graziotin
ffd07561b5
[ Fix #85 ] correct test cases for settings
2016-08-29 10:00:27 +02:00
Andrew Scott
2446a120ee
Use only 1 extra character for counter
2016-03-17 12:03:02 +00:00
Andrew Scott
150fcad084
Fix buffer overflow in sprintf
2016-03-14 01:07:20 +00:00
Thomas Burette
976aa809ab
Fix execution right mistakenly set on source file
2015-06-18 17:06:32 +02:00
Gianguido Sorà
2f8946d0ac
let the test pass on kernel >= 4
2015-05-05 16:54:41 +02:00
Nicholas Lydeen
e31b272d27
Altered kernel version check to allow 4.x.x kernels
2015-03-27 21:38:48 -05:00
Daniel Graziotin
81347162d6
Merge pull request #50 from oliviertilmans/cleanup_resources
...
Cleanup resources on exit
2015-01-29 11:33:15 +01:00
Marji Cermak
63c95fd17d
refs #52 : try to remove stale pid file instead of aborting.
2015-01-14 16:38:30 +11:00
Olivier Tilmans
93f2fd4410
cleaning up resources on exit
2014-07-27 20:02:39 +02:00
Daniel Graziotin
5e55ebfb99
Initial polling of 2 seconds to gather sufficient delta_temp and set the fans high in case
2014-07-27 17:44:00 +00:00
Daniel Graziotin
43acd4665f
Merge branch 'master' of git://github.com/ahyangyi/Fan-Control-Daemon into ahyangyi-master
2014-07-27 17:18:32 +00:00
otilmans@gmail.com
511d348adb
Handle back control to applesmc on exit
2014-07-21 23:45:08 +02:00
otilmans@gmail.com
8bb61f8633
Add function to give back fan control to applesmc
2014-07-21 23:44:13 +02:00
otilmans@gmail.com
44d2ad7b82
Expose fans and sensors globally
2014-07-21 23:43:39 +02:00
otilmans@gmail.com
f5f61ccf69
Fix unused variable
2014-07-21 23:43:02 +02:00
otilmans@gmail.com
fff4b50bb2
Remove redundant typedef's
2014-07-21 23:42:37 +02:00
Yi Yang @ Minthe
bb264080a5
Fix makefile: no redundant sudo; Fix mbpfan.c: no more sudden silence when starting.
2014-07-06 23:59:06 -07:00
Daniel Graziotin
42be2d5c76
Correct syslog use for priority codes [ fixes #44 ]
2014-06-29 12:58:53 +02:00
Daniel Graziotin
b037ec210f
Handle corner-case where no sensors and fans are detected [ fixes #42 ]
2014-06-29 12:52:55 +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
a034b3f03b
Fixes #28
2014-06-23 10:24:03 +02:00
Daniel Graziotin
8b63848531
Fixes #33
2014-06-22 18:35:14 +02:00
Daniel Graziotin
033c8b9de5
really fixed conflicts...
2014-06-22 17:14:52 +02:00
Daniel Graziotin
2b1606025e
Fixed conflict
2014-06-22 17:13:10 +02:00
Daniel Graziotin
0526fc5ff9
Fixes #38
2014-06-22 17:07:24 +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
3ff1aad95f
Taking into account the number of sensors in averaging temp #24
2012-10-24 14:18:11 +02:00
Daniel Graziotin
45755d6228
First attempt to fix #24
2012-10-24 11:13:25 +02:00
Daniel Graziotin
eda8443906
Fixes #26
2012-10-20 17:18:30 +02: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
03ac20500b
Added Gentoo support and enhanced README.md
2012-08-23 11:08:17 +02:00
Daniel Graziotin
37847f39d4
Fixes #15
2012-08-22 16:02:03 +02:00
Daniel Graziotin
8ed60e9024
Fixes #14 and enhances Readme.md
2012-08-22 15:53:07 +02:00
Daniel Graziotin
fcf18f52cf
Cleanup, reformatting, better Makefile and better README
2012-08-22 15:05:52 +02:00