Commit graph

104 commits

Author SHA1 Message Date
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
CeRiAl
6ea021ad78 Added support for configfile /etc/mbpfan.conf 2012-07-05 01:22:48 +02:00
CeRiAl
9dfe447e6d Compilation fixes 2012-07-04 23:34:24 +02:00
Per Ola Kristensson
cd1a34c253 Added Per Ola Kristensson's ANSI C application settings management
More information here:
http://pokristensson.com/settings.html
2012-07-04 23:28:54 +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
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
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
ed4f186803 Added .gitignore 2012-06-09 16:27:45 +02:00
Daniel Graziotin
8d89d05cf2 Initial commit of enhanced version 2012-06-09 16:25:28 +02:00