Switch branches/tags
Nothing to show
Clone or download
Redsandro and efluffy Use highest temperature core to determine fan speed (#6)
* Update gpdfand.pl

Fork from cf0344e
Fix indent

* Update gpdfand.pl

Cleanup verbose code.
I needed to add a version number so I can monitor the logs.

* Fixed max fan speed at 45 degrees bug

Updated `while ($keep_going)` loop.
Latest commit a477ac0 Aug 23, 2017


Fan control daemon for GPD Pocket


Using a primitive shell installation script

$ sudo sh install.sh

...or do it manually like a B055!

Files go to:

gpdfand.service => /etc/systemd/system/gpdfand.service
gpdfand => /lib/systemd/system-sleep/gpdfand
gpdfand.pl => /usr/local/bin/gpdfand

Change executables permissions:

chmod +x /lib/systemd/system-sleep/gpdfand /usr/local/bin/gpdfand

Install dependencies:

apt-get -y install libproc-daemon-perl libproc-pid-file-perl liblog-dispatch-perl

Install Service:

systemctl daemon-reload
systemctl enable gpdfand.service
systemctl start gpdfand.service

No warranty blah blah do whatever with it...