GithubHelp home page GithubHelp logo

thinkfan's Introduction

Thinkfan installation (P14s)

Note: The number and names of the sensors may differ between Lenovo notebook models. They must be adapted for the respective notebook model. The present configuration is for a Lenovo P14s notebook.

Arch Linux

  1. Install thinkfan (AUR) and lm_sensors. Note that the thinkfan package installs /usr/lib/modprobe.d/thinkpad_acpi.conf, which contains

    options thinkpad_acpi fan_control=1
    

    So fan control is enabled by default.

  2. Now, load the module by typing:

    modprobe thinkpad_acpi
    cat /proc/acpi/ibm/fan
  3. Check, if the hwmon exists used in the thinkfan.conf exists. /sys/class/hwmon may have [email protected] monitor directories. To check if the hwmon exists cat /hwmon@x/name. The number of indices is can be read by checkin how many tempx*_input* and tempx*_label* file exists.

  4. Change the hwmon settings in the thinkfan.conf if necessary. Afterwards copy the thinkfan.conf to /etc/thinkfan.conf

    sudo cp thinkfan.conf /etc/thinkfan.conf
  5. Configure thinkfan to use the newly created file

    echo 'THINKFAN_ARGS="-c /etc/thinkfan.conf"' | sudo tee -a /etc/default/thinkfan
  6. Finally, enable the thinkfan.service by typing

    sudo systemctl enable thinkfan.service
    sudo systemctl start thinkfan.service
  7. Check, if the service is running, by typing

        systemctl status thinkfan.service

    It should respond: active (running)

Ubuntu

  1. Enable fan control

    echo 'options thinkpad_acpi fan_control=1' | sudo tee /lib/modprobe.d/thinkpad_acpi.conf
  2. Install thinkfan package

    sudo apt install thinkfan
  3. do steps 3-7 from Arch Linux. Keep in mind, that the hwmon settings may differ between Arch Linux and Ubuntu.

thinkfan's People

Contributors

dst80 avatar

Watchers

 avatar MichNL avatar

Forkers

michnlgithub

thinkfan's Issues

Sensors fix T430

Thinkpad T430 workaround:

This .conf file will work:

sensors:

hwmon: /sys/class/hwmon
name: thinkpad
indices: [1]

hwmon: /sys/class/hwmon
name: coretemp
indices: [1]

fans:

tpacpi: /proc/acpi/ibm/fan
levels:

[0, 0, 40]
[1, 38, 45]
[2, 42, 50]
[3, 47, 55]
[4, 52, 60]
[5, 57, 65]
[6, 60, 72]
[7, 70, 82]
["level full-speed", 77, 32767]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.