An automated fan control daemon for ThinkPads
thinkpad-fan
controls your ThinkPad's fan speed. It will set your fan to different levels depending on the temperature of your ThinkPad.
-
Download a .zip of thinkpad-fan from GitHub
-
Unzip it to any directory
-
For
thinkpad-fan
to work, you will need to create a file in/etc/modprobe.d/
namedthinkpad_acpi.conf
-
Add the following line to
thinkpad_acpi.conf
options thinkpad_acpi fan_control=1
-
Take a look at (and modify if needed) the file at
<your_unzipped_directory>/fand.conf
. After you installthinkpad-fan
, the config file will be located at/etc/fand.conf
. -
Run the
install.sh
script as root. For example:
cd <your_unzipped_directory>
sudo ./install.sh
-
Follow the instructions in the install script.
-
Reboot.
-
Install the program
-
Configure it as you desire. Configuration information in the
/etc/fand.conf
(after you have installed it), or in<your_unzipped_directory>/fand.conf
(if you have not installed it yet). Remember, once you install the program the config file WILL NOT be in<your_unzipped_directory>/fand.conf
. It will be in/etc/fand.conf
! -
Enjoy!
-
Permission Denied errors
- This may mean that either the
fand
process isn't running as root, or something else is wrong. Make sure that you are running the script as root.
- This may mean that either the
-
Cannot find file errors:
- This may mean that either your computer's fan control files or your computer's temperature files do not exist in the place
thinkpad-fan
is looking. Please locate the right file(s) and manually edit thefand
script. - Are you sure your computer is really a ThinkPad?
- This may mean that either your computer's fan control files or your computer's temperature files do not exist in the place
If you run into any issues with thinkpad-fan
, please let me know! GitHub issue reports and pull requests are greatly appreciated.
thinkpad-fan
is open source software. Please see the LICENSE file for more details.