Commit graph

72 commits

Author SHA1 Message Date
Nathan Fritch
79813060f4 Create dinit service definition, update readme to include dinit instructions 2022-04-03 21:33:21 +09:00
localscope
52d897374d
Moved tests to separate binary (mbpfan-tests)
Removed instructions for using -t flag
Moved check_requirements function from main to mbpfan
Moved daemonize and verbose globals from main to daemon
Moved strings for program information from main to global.h
Moved strings for coretemp and applesmc paths from main to mbpfan.c
Updated Makefile
Turned on verboseness for testing
2020-05-19 23:06:27 +09:00
Andrew Gaul
bc71232af2 Add AskUbuntu reference
Also use consistent heading.
2020-04-24 23:35:03 +09:00
Lyes Saadi
dd4ed658da Offcial Fedora Package #181 2020-01-12 21:20:12 +09:00
Andrew Gaul
b21aaa832c Reparent links into credits section 2019-11-01 12:23:34 -07:00
Andrew Gaul
29eeec18f5 Prefer HTTPS where possible
Also remove broken link.
2019-11-01 12:21:59 -07:00
Andrew Gaul
0219257eff Move supported models to wiki 2019-10-28 23:41:46 -07:00
Andrew Gaul
6452c64d7a Do not recommend running tests
References #190.
2019-10-07 20:04:22 -07:00
Andrew Gaul
272ef08924 Add missing distro to table of contents 2019-10-04 15:14:14 -07:00
Lyes Saadi
9f55c0c2f0 Adding Fedora installation instructions. 2019-10-04 15:10:53 -07:00
David Dreggors
99ab1d0d99 Adding another 'tested with' line to README 2019-08-16 12:42:54 -07:00
jolupa
50834997b7 CRUX Linux package 2019-07-09 04:50:42 -07:00
Krutonium
d63fa7c7bf Add install instructions for Solus
As the title says, this adds the command line for Solus, since this is in the repos.
2019-05-14 14:53:39 +07:00
Andrew Gaul
f87082261f Recommend using Debian and Ubuntu packages 2019-05-02 14:19:47 +09:00
Krutonium
5df44bd5c2 Add MacBook Pro 3,1
Works Perfectly, as far as I can tell. The cooling on this computer isn't great so it rarely spins down.
2019-05-02 14:15:15 +09:00
Ati
53e1c35221 Add testing of Mac Pro models to README. Ref Issue #140 and (incidentally) #167 2019-01-22 18:26:29 -08:00
Daniel Graziotin
e0b2de34eb
Added travis badge [refs 173] 2019-01-21 14:20:00 +01:00
Andrew Gaul
084b5c3cfa Improve capitalization, spelling, and whitespace 2018-08-20 22:18:55 -07:00
Andrew Gaul
885a084f5c Correctly test sensor path for Linux prior to 3.15
Previously the fopen write mode caused the call to spuriously report
newer sensors.  Now we check the newer sensors path explicitly.  Also
plug file descriptor leak and more carefully check return values.
2018-08-21 03:41:42 +05:30
Peter Evjan
33e936300f Removed redundant systemd instructions
There were 3 sections giving advice on how to set up systemd. Removed
2 of them.

The first one under the Ubuntu header was incomplete, it didn't start
the service immediately. The 3rd one was already mentioned in the 2nd
section.
2018-08-21 02:04:29 +05:30
sasan
e45a1d7bf0 add credits where due.
added credit for using Kristensson's settings managment library.
2017-08-14 18:02:12 +04:30
Doug Beney
7297a18e1a TOC, coretemp/applesmc directions, Macbook support, Solus
I added a table of contents for easy navigation, added the directions you provided me on figuring out if my system has applesmc/coretemp installed, I added my Macbook to tested devices, and I added Solus to supported operating systems.
2017-08-10 15:46:56 -04:00
Andrew Gaul
35f85c73c0 Fix README nits 2017-07-12 18:15:38 -07:00
Daniel Graziotin
ba97ea50b2 Merge pull request #109 from gktrk/readme-fix
Update the install instructions for Gentoo Linux
2017-04-03 09:08:49 +02:00
Göktürk Yüksek
7384b3ad9f
Update the install instructions for Gentoo Linux 2017-04-02 16:16:32 -04:00
Alex Kir
7590a5ae3f Update README.md 2017-04-03 03:45:36 +08:00
Robert Musial
32256bc3a2 Updated README to reflect new testing with LLVM toolchain 2017-03-27 13:03:02 -04:00
Robert Musial
e7dd42e125 changes to legacy kernel detection 2017-03-27 11:44:34 -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
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
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
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
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
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
64571601d5 Added my iMac to compatible models and clarified README.md 2016-08-31 09:45:05 +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
Daniel Graziotin
31ef985874 [Fix #77] added Upstart instructions in README 2016-05-02 11:26:29 +02:00
Pavel Kozlov
0e3437b6a5 Update Gentoo instructions, resolve #75 2016-03-31 19:12:35 +03:00
Daniel Graziotin
9306d98ef4 [Fix #65] Correct instructions for systemd 2016-03-17 11:15:16 +01:00
Daniel Graziotin
584b137b2e [Fix #68] run tests within source directory 2016-03-17 11:11:23 +01:00
Daniel Graziotin
10b9621299 [Fixes #73] - Added MacBook 1,1 tu README 2016-02-25 11:37:08 +01:00
Daniel Graziotin
6270d07ff3 Update README.md 2016-01-30 17:36:45 +01:00
小煞-Xs
2f876b6c85 Update README.md 2015-12-20 23:22:52 +08:00
Jens Timmerman
e59254c4cb Update README.md 2015-10-22 14:33:30 +02:00
Viktor Ahlström
c7936d125e Update README.md 2015-08-30 22:04:01 -04:00