Results 1 to 2 of 2

Thread: Thinkfan installation guide

  1. #1
    Join Date
    Oct 2014
    Location
    Switzerland
    Posts
    384

    Default Thinkfan installation guide

    Hello,
    I've recently had to install and use Thinkfan (https://software.opensuse.org/package/thinkfan) in a while on my Lenovo T480, and I just wanted to post the steps I took to set it up properly.

    I must give credit to:
    https://www.lxle.net/forums/discussi...inkpad-t430/p1
    and
    https://thinkwiki.de/Thinkfan
    I am just summarizing the steps with a few updates.

    1. First lm-sensors and thinkfan need to be installed.
    lm-sensors are already in the repository
    Code:
    sudo zypper in sensors
    and thinkfan needs to be downloaded from (https://software.opensuse.org/package/thinkfan)
    2. You need to setup sensors
    Code:
    sensors-detect
    Just go through and say yes to almost everything to probe.
    3. Find the sensor addresses
    Code:
    find /sys/devices -type f -name "temp*_input"
    This will return a bunch of sensors and some of them "virtual" we should ignore them. We can in fact do that by:
    Code:
    find /sys/devices -type f -name "temp*_input" |grep -vi virtual
    4. Refer to these addresses in
    Code:
    /etc/thinkfan.conf
    before the temperature settings in a matrix of numbers corresponding to level and temperature (1 ,40, 45)...
    you must probe these sensors in the configuration file using hwmon
    For example:
    Code:
    hwmon /sys/devices/virtual/hwmon/hwmon0/temp1_input
    hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp3_input
    hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
    hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input
    and then you may configure the level-temperature matrix as you wish. I make sure that the fan starts at 35 degrees celsius then max out at 60 degrees celsius and I do push my laptop to the limits most of the time.

    Finally, you can enable thinkfan
    Code:
    sudo systemctl enable thinkfan
    sudo systemctl start thinkfan
    reboot, test and it should be good to go.

    Some of the other steps mentioned in my references would work in general, but un-necessary in my case and un-necessary if we are using one of the packages in our repos.

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,816
    Blog Entries
    1

    Default Re: Thinkfan installation guide

    When you'd like to share a special procedure to do something,
    You're welcome to post in the following Forum

    https://forums.opensuse.org/forumdis...How-To-and-FAQ

    Generally speaking,
    Most posts in these regular Technical Help Forums are for asking questions.

    Thx for sharing,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •