# breezed is a fan speed control daemon for Linux computers.
#
-# Copyright (c) 2008 Francois Fleuret
+# Copyright (c) 2008-2015 Francois Fleuret
# Written by Francois Fleuret <francois@fleuret.org>
#
# This file is part of breezed.
rm $(DESTDIR)/etc/init.d/breezed.sh
rm $(BINARY_PATH)/breezed
+install-systemd: breezed $(DESTDIR)/etc/breezed.conf
+ install -m 755 breezed $(BINARY_PATH)
+ install -m 644 breezed.1 $(MAN_PATH)
+ gzip $(MAN_PATH)/breezed.1
+ install -m 644 breezed.service /etc/systemd/system/
+ systemctl start breezed
+
+uninstall-systemd:
+ systemctl stop breezed
+ rm /etc/systemd/system/breezed.service
+ rm $(MAN_PATH)/breezed.1.gz
+ rm $(BINARY_PATH)/breezed
+
clean:
\rm -f breezed
Breezed is a small daemon to control the speed of the fan,
- depending on the current temperature of the computer. I have tested
- it only on a Thinkpad X61s and T420s.
+ depending on the current temperature of the computer.
+
+ DISCLAIMER: I have tested it only on my Thinkpads X61s, T420s, and
+ T450s with Debian stable.
* INSTALLATION
Before installing, you must have a configuration file in
/etc/breezed.conf.
- Two are currently provided in the archive, and they use the
- settings *I* picked for my Lenovo X61s and T420s. I have no idea if
- these settings are safe on these laptops (I guess so, since I have
- been using them for years on both), and I suspect they are not safe
- for another laptop. If you want to give it a try, just do
+ Three are provided in the archive, and they use the settings *I*
+ picked for my Lenovo Thinkpads. I have no idea if these settings
+ are safe on these laptops -- I guess so, since I have been using
+ them for years on both -- and I suspect they are not safe for
+ another laptop.
+
+ If you want to give it a try, just copy of the configuration file,
+ e.g.
cp breezed_Lenovo_X61s.conf /etc/breezed.conf
- Then, you can install the daemon simply with
+ Then install the daemon simply with
make install
make uninstall
+ Use respectively install-systemd and uninstall-systemd to install
+ it for systemd.
+
See the man page for details about the algorithm, arguments and
configuration file.
* NOTES
On Thinkpads you have to allow the module thinkpad_acpi to set the
- fan speed, which is not allowed by default in Debian. To do so, you
- have to have a file /etc/modprobe.d/thinkpad_acpi.modprobe
- containing
+ fan speed, which is not allowed by default in Debian. To do so, add
+ a file /etc/modprobe.d/thinkpad_acpi.conf containing
---------------------------- snip snip -------------------------------
options thinkpad_acpi fan_control=1
--
Francois Fleuret (francois@fleuret.org)
-April 2009 (minor updates Jan 2012, Jul 2013)
+Nov 2015