/PyTPFanControl

Temperature and fan controller for Thinkpads on Linux

Primary LanguagePython

This repository is no longer maintained.

If you have questions about this repository, open an issue at https://github.com/Arnavion/archived-repos-issues


PyTPFanControl is a Linux clone of troubadix's TPFanControl. It uses the sysfs interface exposed by the thinkpad-acpi kernel module to allow you to monitor and control the temperature and fan speeds of your Thinkpad.

Usage

/path/to/tpfc.py

This will run the script without superuser rights. The script cannot modify the fan speed without write access to the kernel interface, so the controls for modifying the fan speed will be locked.

gksu /path/to/tpfc.py    OR    kdesu /path/to/tpfc.py

This will run the script with superuser rights, so you can also set the fan speed.

Requirements

  • thinkpad-acpi in your kernel
  • fan_control=1 module parameter for thinkpad-acpi
  • PyQt4 compiled for Python3 and Qt5

Notes

  • The script currently has the names of sensors hard-coded to work for the T61.
  • SMART mode (custom fan speeds according to temperature) is incomplete. The current implementation changes fan speed based only on the current temperature, so the fan speed will fluctuate more.
  • You can change the script's parameters in settings.py