Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Thinkpad e530c fan control
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kikko
Apprentice
Apprentice


Joined: 29 Apr 2014
Posts: 260
Location: Milan, IT

PostPosted: Wed Aug 17, 2016 7:36 pm    Post subject: Thinkpad e530c fan control Reply with quote

Hi everybody
I'm unable to make the fan control of my laptop to work... the fan runs at a constant speed careless of the temp and fan speed in /proc/acpi/ibm/fan is always "0"

Code:
~ # cat /proc/acpi/ibm/fan
status:         enabled
speed:          0
level:          disengaged
commands:       level <level> (<level> is 0-7, auto, disengaged, full-speed)
commands:       enable, disable
commands:       watchdog <timeout> (<timeout> is 0 (off), 1-120 (seconds))


I've loaded the kernel module with the fancontrol=1 option enabled; I've also noticed that I have no /proc/acpi/ibm/thermal in my system

Here is a grep of (acpi|thermal|think) in my current kernel config: http://dpaste.com/1106R1G

Thank you for any hint :wink:
_________________
Regards

root is the root of all evil
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1368
Location: Montréal

PostPosted: Wed Aug 17, 2016 10:19 pm    Post subject: Reply with quote

Hello,

first, you should ckeck if the fancontrol=1 parameter of the thinkpad_acpi module is in fact enabled
Code:
cat /sys/module/thinkpad_acpi/parameters/fan_control

An other mean to see the fan speed is from the lm_sensors package. You have to configure lm_sensors
Code:
sensors-detect

start the service with Openrc or Systemd
Code:
rc-service lm_sensors start
or
systemctl start lm_sensors

than check the output of
Code:
sensors

_________________
Paul
Back to top
View user's profile Send private message
kikko
Apprentice
Apprentice


Joined: 29 Apr 2014
Posts: 260
Location: Milan, IT

PostPosted: Wed Aug 17, 2016 10:32 pm    Post subject: Reply with quote

Thank you Logicien
fancontrol is effectively enabled:
Code:
~ $ cat /sys/module/thinkpad_acpi/parameters/fan_control
Y

The output of sensors confirms a speed of 0 rpm :x
Code:
 ~ # sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +29.8°C  (crit = +100.0°C)

thinkpad-isa-0000
Adapter: ISA adapter
fan1:           0 RPM

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +79.0°C  (high = +87.0°C, crit = +105.0°C)
Core 0:         +76.0°C  (high = +87.0°C, crit = +105.0°C)
Core 1:         +79.0°C  (high = +87.0°C, crit = +105.0°C)
Core 2:         +77.0°C  (high = +87.0°C, crit = +105.0°C)
Core 3:         +76.0°C  (high = +87.0°C, crit = +105.0°C)

_________________
Regards

root is the root of all evil
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1368
Location: Montréal

PostPosted: Wed Aug 17, 2016 11:50 pm    Post subject: Reply with quote

Code:
temp1:        +29.8°C  (crit = +100.0°C)

At this temperature, the fan is probably down. So your output is correct. Stress you Cpu to make it more hot, than the fan should start. I use the fancontrol service from lm_sensors to set when the fan should run at is highest, medium, lowest and down speeds. The problem is that the source information from Linux for the processor fan change from a boot to an other and fancontrol is never set permanently with is configuration tool pwmconfig .

I think it is not mandatory to change the default fan setup with any tool. If you want less noise, the processor will heat more. I have try thinkfan service too, but for the moment it do not start. I may have a problem with the configuration file /etc/thinkfan.conf. My Thinkpad is a T420.

The speed of the fan change according to the Cpu temperature. When I compile, it come close to it critical point, but never a preventive shutdown have been made.
_________________
Paul
Back to top
View user's profile Send private message
kikko
Apprentice
Apprentice


Joined: 29 Apr 2014
Posts: 260
Location: Milan, IT

PostPosted: Thu Aug 18, 2016 7:53 am    Post subject: Reply with quote

Hi Logicien,
it's strange, but even emerging chromium temp does not rise above 29.8°C (which is the room temp, more or less)

Code:
kikko@seireitei ~ $ uptime && sensors
 09:02:15 up 11:41,  4 users,  load average: 4,12, 3,18, 2,41
acpitz-virtual-0
Adapter: Virtual device
temp1:        +29.8°C  (crit = +100.0°C)

thinkpad-isa-0000
Adapter: ISA adapter
fan1:           0 RPM

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +85.0°C  (high = +87.0°C, crit = +105.0°C)
Core 0:         +83.0°C  (high = +87.0°C, crit = +105.0°C)
Core 1:         +84.0°C  (high = +87.0°C, crit = +105.0°C)
Core 2:         +86.0°C  (high = +87.0°C, crit = +105.0°C)
Core 3:         +82.0°C  (high = +87.0°C, crit = +105.0°C)


I guess I have some troubles with the temp sensor at this point... Anyway, you were right: fan rised it's speed automatically on temp rise
_________________
Regards

root is the root of all evil
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1368
Location: Montréal

PostPosted: Thu Aug 18, 2016 6:27 pm    Post subject: Reply with quote

Have-you check the Bios setup? It can change the behavior of the power management and a lot of other things.
_________________
Paul
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum