Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

KikyTokamuro/tf

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tf

Tiny program for fan control Thinkpad notebooks.

Tested on L420. Be carefull. Absolutly no warrantly!

Requirements:

Add "options thinkpad_acpi fan_control=1" on "/etc/modprobe.d/thinkpad_acpi.conf".

Install "libconfig":

sudo pacman -S libconfig

Build and Install:

$ make
$ make install

Uninstall:

$ make uninstall

Usage:

$ sudo systemctl enable tf
$ sudo systemctl start tf

Configuration:

Edit "/etc/tf.cfg" and restart tf service.

temperature = "/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon1/temp1_input";

fan = "/proc/acpi/ibm/fan";

sleep = 6;

levels = {
  level0 = { 
    min =  0; 
    max = 55; 
  };

  level1 = {
    min = 48; 
    max = 60; 
  };

  level2 = { 
    min = 50; 
    max = 61; 
  };

  level3 = { 
    min = 52; 
    max = 63; 
  };
  
  level4 = { 
    min = 56; 
    max = 65; 
  };
  
  level5 = { 
    min = 59; 
    max = 66; 
  };
  
  level6 = { 
    min = 62; 
    max = 68; 
  };
  
  level7 = { 
    min = 65; 
    max = 74; 
  };
};

About

Tiny program for fan control Thinkpad notebooks

Topics

Resources

License

Stars

Watchers

Forks

Morty Proxy This is a proxified and sanitized view of the page, visit original site.