You are not logged in.

#1 2020-09-20 17:46:14

matthewfl
Member
Registered: 2012-03-11
Posts: 5

Thinkpad X1 extreme gen2, second fan constantly running

Hello,

I am having an issue where the second fan (on the right side of the laptop) is constantly running.  It seems that its speed never drops below 2000 RPM.
So far, I have only found speed controls that correspond with the first fan on the left side inside of the /sys directory.  I am not sure if there is some module or configureation change that I can make to gain some way to control the second fan.

Thanks,
Matthew

Laptop: Thinkpad X1 Extreme Gen2

# find /sys -name '*fan*'
/sys/kernel/slab/fanotify_path_event
/sys/kernel/slab/fanotify_fid_event
/sys/kernel/slab/fanotify_perm_event
/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/fan1_input
/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/fan2_input
/sys/bus/platform/drivers/thinkpad_hwmon/fan_watchdog
/sys/bus/platform/drivers/acpi-fan
/sys/module/thinkpad_acpi/parameters/fan_control
/sys/module/rcutree/parameters/rcu_fanout_leaf
/sys/module/rcutree/parameters/rcu_fanout_exact
# find /sys -name '*pwm*'
/sys/class/pwm
/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/pwm1_enable
/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/pwm1
/sys/bus/platform/drivers/crystal_cove_pwm
# sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +51.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +50.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:        +51.0°C  (high = +100.0°C, crit = +100.0°C)
Core 2:        +49.0°C  (high = +100.0°C, crit = +100.0°C)
Core 3:        +50.0°C  (high = +100.0°C, crit = +100.0°C)
Core 4:        +48.0°C  (high = +100.0°C, crit = +100.0°C)
Core 5:        +48.0°C  (high = +100.0°C, crit = +100.0°C)
Core 6:        +54.0°C  (high = +100.0°C, crit = +100.0°C)
Core 7:        +50.0°C  (high = +100.0°C, crit = +100.0°C)

ucsi_source_psy_USBC000:002-isa-0000
Adapter: ISA adapter
in0:           0.00 V  (min =  +0.00 V, max =  +0.00 V)
curr1:         0.00 A  (max =  +0.00 A)

BAT0-acpi-0
Adapter: ACPI interface
in0:          17.01 V  

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +53.0°C  (crit = +128.0°C)

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +39.0°C  

ucsi_source_psy_USBC000:001-isa-0000
Adapter: ISA adapter
in0:           5.00 V  (min =  +5.00 V, max =  +5.00 V)
curr1:         0.00 A  (max =  +3.00 A)

pch_cannonlake-virtual-0
Adapter: Virtual device
temp1:        +44.0°C  

thinkpad-isa-0000
Adapter: ISA adapter
fan1:           0 RPM
fan2:        2163 RPM
temp1:        +53.0°C  
temp2:        +49.0°C  
temp3:         +0.0°C  
temp4:         +0.0°C  
temp5:         +0.0°C  
temp6:         +0.0°C  
temp7:         +0.0°C  
temp8:            N/A  
temp9:         +0.0°C  
temp10:        +0.0°C  
temp11:        +1.0°C  
temp12:        +0.0°C  
temp13:       +13.0°C  
temp14:        +0.0°C  
temp15:        +0.0°C  
temp16:        +0.0°C  

nvme-pci-0200
Adapter: PCI adapter
Composite:    +42.9°C  (low  = -273.1°C, high = +83.8°C)
                       (crit = +84.8°C)
Sensor 1:     +42.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +41.9°C  (low  = -273.1°C, high = +65261.8°C)
# cat /proc/acpi/ibm/fan
status:		enabled
speed:		0
level:		auto

Offline

#2 2020-09-20 18:12:56

Tedster
Member
From: Edinburgh, UK
Registered: 2019-06-07
Posts: 15

Re: Thinkpad X1 extreme gen2, second fan constantly running

Interesting. What if you put yourself in a situation to forcibly write to /proc/acpi/ibm/fan? Does that give you the potential to make things worse, presumably in terms of the main fan?
I don't have any experience with ThinkPads newer than the X230, so I'm flying blind in trying to help you (:

Offline

#3 2020-09-20 20:09:58

zaxmyth
Member
From: Seattle / San Francisco
Registered: 2019-03-25
Posts: 25
Website

Re: Thinkpad X1 extreme gen2, second fan constantly running

What version of the BIOS are you running?

Offline

#4 2020-09-21 01:38:53

matthewfl
Member
Registered: 2012-03-11
Posts: 5

Re: Thinkpad X1 extreme gen2, second fan constantly running

It seems that by enabling thinkpad_acpi fan control, then I am able to control the fans through /proc/acpi/ibm/fan.

# cat /usr/lib/modprobe.d/thinkpad_acpi.conf
options thinkpad_acpi fan_control=1

# echo level 0 > /proc/acpi/ibm/fan                   # turns both fans off
# echo level auto > /proc/acpi/ibm/fan                # turns both fans on under automatic control, both with about the same speed

Currently, the fans seem to be controlled together like this.  This means that I can turn both fans off, but now both fans seem to come on together rather than just the right fan when the temperature is hovering 50-60 degree range.  Currently, I am trying to see if I can make thinkfan work with this setup.

zaxmyth wrote:

What version of the BIOS are you running?

I am currently running version 1.27.  Looking at the change log it seems that lenovo mentions that they have done something with the thermal configuration in their latest version, but I am not sure if upgrading would fix it (trying to figure that out first given that it seems it is impossible to downgrade the bios).

Offline

Board footer

Powered by FluxBB