You are not logged in.

#1 2020-06-24 15:55:48

860lacov
Member
Registered: 2020-05-02
Posts: 452

Need a little help with thinkfan configuration

I think that my cpu fan in my lenovo t410 is quite loud.
After some research I've found this:
ThinkPad laptops
and
Lenovo ThinkPad T420

After installation and configuration like in Thinkpad Laptops when I did
thinkfan -n
there was an error:

WARNING: Using default fan control in /proc/acpi/ibm/fan.
ERROR: Module thinkpad_acpi doesn't seem to support fan_control

I decided to go with T420 instructions.
There is:

Aftwards replace the default hwmon in the settings file /etc/thinkfan.conf with the following:
/etc/thinkfan.conf
hwmon /sys/devices/virtual/thermal/thermal_zone0/temp

In my thinkfan.conf there was no hwmon line so I added it before fan levels.
Currently, it looks like this:

######################################################################
# thinkfan 0.7 example config file
# ================================
#
# ATTENTION: There is only very basic sanity checking on the configuration.
# That means you can set your temperature limits as insane as you like. You
# can do anything stupid, e.g. turn off your fan when your CPU reaches 70°C.
#
# That's why this program is called THINKfan: You gotta think for yourself.
#
######################################################################
#
# IBM/Lenovo Thinkpads (thinkpad_acpi, /proc/acpi/ibm)
# ====================================================
#
# IMPORTANT:
#
# To keep your HD from overheating, you have to specify a correction value for
# the sensor that has the HD's temperature. You need to do this because
# thinkfan uses only the highest temperature it can find in the system, and
# that'll most likely never be your HD, as most HDs are already out of spec
# when they reach 55 °C.
# Correction values are applied from left to right in the same order as the
# temperatures are read from the file.
#
# For example:
# tp_thermal /proc/acpi/ibm/thermal (0, 0, 10)
# will add a fixed value of 10 °C the 3rd value read from that file. Check out
# http://www.thinkwiki.org/wiki/Thermal_Sensors to find out how much you may
# want to add to certain temperatures.

#  Syntax:
#  (LEVEL, LOW, HIGH)
#  LEVEL is the fan level to use (0-7 with thinkpad_acpi)
#  LOW is the temperature at which to step down to the previous level
#  HIGH is the temperature at which to step up to the next level
#  All numbers are integers.
#

# I use this on my T61p:
#tp_fan /proc/acpi/ibm/fan
#tp_thermal /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)

hwmon /sys/devices/virtual/thermal/thermal_zone0/temp

(0,	0,	42)
(1,	40,	47)
(2,	45,	52)
(3,	50,	57)
(4,	55,	62)
(5,	60,	67)
(6,	65,	72)
(7,	70,	77)
(127,	75,	32767)

I'm aware that there is a lot of # lines but I didn't want to ignore something important.

Now when I do:
cat /proc/acpi/ibm/fan
There is:

status:		enabled
speed:		3591
level:		2
commands:	level <level> (<level> is 0-7, auto, disengaged, full-speed)
commands:	enable, disable
commands:	watchdog <timeout> (<timeout> is 0 (off), 1-120 (seconds))

Level is changing accordingly to
Before changes there was:

status:		enabled
speed:		3591
level:		auto

Is there everything ok?

Offline

#2 2020-10-30 23:11:01

860lacov
Member
Registered: 2020-05-02
Posts: 452

Re: Need a little help with thinkfan configuration

After creating this topic a tried to configure my fan settings but at the end I couldn't make it work.

Today I wanted to try all over ant it seems that wiki is out of date
in wiki:
Thinkfan Arch wiki

Ant there is no

/usr/share/doc/thinkfan/examples/thinkfan.conf.simple

In that directory there is thinkfan.yaml file

I tried to config my thinkpad fans with this file but when I run thinkfsn -n I get:

ERROR: Error scanning /sys/devices/pci0000:00/0000:00:03.1/0000:27:00.0/hwmon: No such file or directory

Offline

Board footer

Powered by FluxBB