You are not logged in.

#1 2023-09-15 03:51:10

PurpleWazard
Member
Registered: 2023-09-15
Posts: 7

lm_sensors / pwmconfig being weird on thinkpad t480 [CLOSED]

hello!, this is my first post. so here is the arch wiki on what im trying to do https://wiki.archlinux.org/title/Fan_sp … m-sensors)
i have a thinkpad t480 with one fan


so i run
su -
# sensors-detect
i press enter on all options to choose the default
then


# sensors
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +28.0°C 

pch_skylake-virtual-0
Adapter: Virtual device
temp1:        +31.5°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)

nvme-pci-3d00
Adapter: PCI adapter
Composite:    +25.9°C  (low  =  -0.1°C, high = +74.8°C)
                       (crit = +79.8°C)

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

ucsi_source_psy_USBC000:001-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)

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +35.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +33.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:        +34.0°C  (high = +100.0°C, crit = +100.0°C)
Core 2:        +35.0°C  (high = +100.0°C, crit = +100.0°C)
Core 3:        +34.0°C  (high = +100.0°C, crit = +100.0°C)

thinkpad-isa-0000
Adapter: ISA adapter
fan1:           0 RPM                              <<<<---------------------------------------------------------------------------------------------   here is says the fan rpm is zero and i can verfiy it is
CPU:          +35.0°C 
GPU:              N/A 
temp3:         +0.0°C 
temp4:         +0.0°C 
temp5:         +0.0°C 
temp6:         +0.0°C 
temp7:         +0.0°C 
temp8:         +0.0°C 

BAT1-acpi-0
Adapter: ACPI interface
in0:          11.69 V 

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






then i run
# pwmconfig

# pwmconfig version 3.6.0+git
This program will search your sensors for pulse width modulation (pwm)
controls, and test each one to see if it controls a fan on
your motherboard. Note that many motherboards do not have pwm
circuitry installed, even if your sensor chip supports pwm.

We will attempt to briefly stop each fan using the pwm controls.
The program will attempt to restore each fan to full speed
after testing. However, it is ** very important ** that you
physically verify that the fans have been to full speed
after the program has completed.

Found the following devices:
   hwmon0 is AC
   hwmon1 is acpitz
   hwmon10 is ucsi_source_psy_USBC000:002
   hwmon2 is BAT0
   hwmon3 is BAT1
   hwmon4 is nvme
   hwmon5 is thinkpad
   hwmon6 is pch_skylake
   hwmon7 is coretemp
   hwmon8 is iwlwifi_1
   hwmon9 is ucsi_source_psy_USBC000:001

Found the following PWM controls:
   hwmon5/pwm1           current value: 255                                                <<<<<<<<<<<------------------------------------------     notice it says rpm value is 255 and again it is not the fan is not spinning at all
hwmon5/pwm1 is currently setup for automatic speed control.
In general, automatic mode is preferred over manual mode, as
it is more efficient and it reacts faster. Are you sure that
you want to setup this output for manual control? (n) y
hwmon5/pwm1_enable stuck to 2
Manual control mode not supported, skipping hwmon5/pwm1.
There are no usable PWM outputs.



it tells me i cant control the fan which makes me sad ;(
there arnt great alts to fancontrol on thinkpads
any help is appreciated thank you so much for your time

Last edited by PurpleWazard (2023-09-19 21:48:11)

Offline

#2 2023-09-19 18:02:27

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,489

Re: lm_sensors / pwmconfig being weird on thinkpad t480 [CLOSED]

Hi, welcome to the forum.
Please wrap the terminal output with

 code tags

to make it readable. You can leave your comments in.

To your problem: my first advise is to not fiddle with it for a notebook. Most have their own fan-control and intervening misconfiguration can be fatal for the machine.
For example, thinkpads have a dedicated kernel module to control hardware. Have a look at

modinfo thinkpad_acpi

and you will see parameters for fans.
If you look at the wiki for Lenovo, you will notice powermanagement is "untested" for your model. This does not mean you can't configure the fans, but you should definetely seek  Thinkpad specific methods not try the regular lm_sensors instructions which are aimed at general purpose PC hardware.

Offline

#3 2023-09-19 21:47:02

PurpleWazard
Member
Registered: 2023-09-15
Posts: 7

Re: lm_sensors / pwmconfig being weird on thinkpad t480 [CLOSED]

hello, sorry about not using the code tags i will next time i couldn't find how to do it. ill look into the thinkpad_acpi kernel module it must be something with the kernel module that is interfering with lm_sensors
thanks for replaying have a great day!

Offline

Board footer

Powered by FluxBB