Commit graph

309 commits

Author SHA1 Message Date
Robert Musial
34cf49932d Update AUTHORS 2017-03-24 18:01:01 -04:00
Robert Musial
eda7485de9 Update AUTHORS 2017-03-22 00:35:46 -04:00
Robert Musial
75002c0702 Update mbpfan.c 2017-03-22 00:33:58 -04:00
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
c72090d2bb Update AUTHORS 2017-03-20 14:15:11 -04:00
Robert Musial
e339f811fc Changes to be committed:
modified:   README.md
Changed instructions for how to use Clang. It is much easier
since the Makefile now just uses the system's compiler, and
correctly uses C instead of C++
2017-03-19 13:54:29 -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
f9f39cf53c Merge pull request #100 from wezm/add-macmini53
Add Macmini5,3 to supported list
2017-01-16 11:06:56 +01:00
Wesley Moore
17708813dd Add Macmini5,3 to supported list
sudo dmidecode -s system-product-name
Macmini5,3

uname -a
Linux elementaty-mini 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

sudo make tests
make install
make[1]: Entering directory '/home/wmoore/Source/mbpfan'
make
make[2]: Entering directory '/home/wmoore/Source/mbpfan'
Linking...
g++  -g -lm  src/settings.o src/daemon.o src/mbpfan.o src/main.o src/minunit.o src/strmap.o -lm -o bin/mbpfan
make[2]: Leaving directory '/home/wmoore/Source/mbpfan'
install -d /usr/sbin
install -d /etc
install -d /lib/systemd/system
install -d /usr/share/doc/mbpfan
install bin/mbpfan /usr/sbin
install -m644 mbpfan.conf /etc
install -m644 README.md /usr/share/doc/mbpfan
install -d /usr/share/man/man8
install -m644 mbpfan.8.gz /usr/share/man/man8

******************
INSTALL COMPLETED
******************

A configuration file has been copied (might overwrite existing file) to /etc/mbpfan.conf.
See README.md file to have mbpfan automatically started at system boot.

Please run the tests now with the command
sudo make tests

make[1]: Leaving directory '/home/wmoore/Source/mbpfan'
/usr/sbin/mbpfan -f -v -t
Starting the tests..
It is normal for them to take a bit to finish.
Detected kernel version: 4
Detected kernel minor revision: 4
Detected kernel version: 4
Detected kernel minor revision: 4
Using new sensor path for kernel >= 3.0.15
Found hwmon path at /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp
Found 5 sensors
Found 1 fans
Detected kernel version: 4
Detected kernel minor revision: 4
Using new sensor path for kernel >= 3.0.15
Found hwmon path at /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp
Found 5 sensors
Testing the _supplied_ mbpfan.conf (not the one you are using)..
ALL TESTS PASSED
Tests run: 8
2017-01-16 11:46:47 +11:00
Daniel Graziotin
a8e5a4cc30 [Fix #98] runscript-> openrc-run gentoo init 2016-12-29 19:03:10 +01:00
Aaron Riekenberg
11ec211b89 Flush standard out before sleeping in verbose mode. 2016-12-28 16:00:32 -06:00
Daniel Graziotin
edf722c33c Merge branch 'rmusial-master' 2016-12-28 16:40:50 +00:00
Daniel Graziotin
754caf6e56 [Fix #96] Clang initial support, thanks @rmusial 2016-12-28 16:40:21 +00:00
Daniel Graziotin
16d2ae0c6d Merge branch 'master' of git://github.com/rmusial/mbpfan into rmusial-master 2016-12-28 16:31:35 +00:00
Robert Musial
38eb9e0f91 Update AUTHORS 2016-12-28 11:13:02 -05:00
Robert Musial
cbafd1cb3b Update README.md
Added simple instructions on how to compile with Clang
2016-12-28 11:12:25 -05:00
Robert Musial
b897f515f4 Update README.md 2016-12-28 11:11:19 -05:00
Daniel Graziotin
8ef4013c62 Merge branch 'rmusial-master' 2016-12-28 15:24:56 +00:00
Daniel Graziotin
00ac565f37 Merge branch 'master' of git://github.com/rmusial/mbpfan into rmusial-master 2016-12-28 15:22:17 +00:00
Daniel Graziotin
e5088efe28 Merge pull request #94 from tarkant/master
Tested on MacBook Air 1,1
2016-12-28 14:24:35 +01:00
Tarek Jellali
e3e5e48ea9 Tested on MacBook Air 1,1
Tested successfully on MacBook Air 1,1 on Ubuntu 16.04 and Ubuntu 16.10,.
2016-12-27 23:20:08 +01: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
3677caa5a8 Merge pull request #89 from Larutan/patch-1
Tested my macbook Air (5.2) and added to the compatible list.
2016-10-11 13:50:22 +02:00
Larutan
e32e5eb3c8 Update README.md
Tested on Macbook Air 5,2. 
Added processor and linux version details.
2016-10-11 13:43:20 +02:00
Daniel Graziotin
0efcf930c5 [Fix #87] Tested on Mac Mini 6,1 2016-09-13 10:03:12 +02:00
Daniel Graziotin
d925f50816 Merge pull request #86 from JR1994/patch-1
Update AUTHORS
2016-09-02 10:07:06 +02:00
Daniel Graziotin
72087236ae [fix 80] New man page and Makefile from 'JR1994-master' 2016-09-02 10:03:26 +02:00
JR1994
ce0afe2b24 Update AUTHORS 2016-09-01 11:49:50 -07:00
Daniel Graziotin
64571601d5 Added my iMac to compatible models and clarified README.md 2016-08-31 09:45:05 +02:00
Daniel Graziotin
b46a2f0b20 [80] little changes to man page 2016-08-31 09:39:53 +02:00
Daniel Graziotin
72e902f772 [#80] New Makefile without systemd part 2016-08-31 09:28:13 +02:00
Daniel Graziotin
ecb9d8dbb6 Merge branch 'master' of git://github.com/JR1994/mbpfan into JR1994-master 2016-08-31 09:10:15 +02: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
Daniel Graziotin
1a63a6d6dd Merge pull request #82 from aviallon/patch-1
[Really Fixes #81] Corrected some strings in the README.md
2016-07-21 14:03:11 +02:00
Antoine Viallon
c2e302d663 Corrected some strings in the README.md
Changed the iMac to the iMac/Mac-mini and I also corrected the info I gave to dgraziotin by correcting i5 to i7. That's all.
2016-07-21 14:01:47 +02:00
Daniel Graziotin
d3c086b501 [Fixes #81] added imac 12,1 to list of tested devices 2016-07-21 13:37:52 +02:00
Daniel Graziotin
6eb4bf350c Added Mac Mini to list of tested devices 2016-07-12 10:50:11 +02:00
Herminio Hernandez Jr
8e68a2b87b Update Makefile to use install instad of cp. The manpage, systemd .service file, and README will also be installed. This change will allow the building of .deb packages. 2016-07-03 19:12:15 -07:00
Herminio Hernandez Jr
5db89e467f created manpage for the binary 2016-07-03 18:53:51 -07:00
Daniel Graziotin
393504e9ab [Fixes #79] mbpfan.conf self-explains itself 2016-06-05 09:55:17 +02:00
Daniel Graziotin
31ef985874 [Fix #77] added Upstart instructions in README 2016-05-02 11:26:29 +02:00
Daniel Graziotin
68a6f26d69 Merge pull request #76 from p-kozlov/patch-1
Update Gentoo instructions, resolve #75
2016-04-02 12:24:43 +02:00
Pavel Kozlov
0e3437b6a5 Update Gentoo instructions, resolve #75 2016-03-31 19:12:35 +03:00
Daniel Graziotin
f2736c8ab9 Merge pull request #74 from andjscott/master
Fix buffer overflow in sprintf
2016-03-17 13:43:49 +01:00