You are not logged in.

#1 2013-03-18 10:56:09

pirj
Member
From: Phuket, Thailand
Registered: 2011-11-24
Posts: 19

[Resolved] Fan control Lenovo X120e doesn't work on newer kernels

I'm on Lenovo X120e AMD Fusion E-350 laptop with latest 3.7.10-1-ARCH kernel.

On pre-3.5 kernels i was running

            echo level 7 > /proc/acpi/ibm/fan

            echo level auto > /proc/acpi/ibm/fan

to control fan speed manually. This doesn't work with newer kernel and that never bothered me since I'm rarely using my laptop on full CPU load. It's not the case last few days, and it turns out that my system gets powered off automatically when temperature (shown by sensosrs) passes 97'C threshold. Fan doesn't seem to change the speed automatically in any circumstances (AC on/off, no cpu load, 100% cpu load etc).

I followed https://wiki.archlinux.org/index.php/Fan_Speed_Control and somehow the suggested

    echo "255" > /sys/class/hwmon/hwmon1/device/pwm1

silently doesn't work. The other /sys/class/hwmon/hwmon# directories doesn't contain device subdirectory.

pwmconfig claims that:

hwmon1/device/pwm1_enable stuck to 2
Manual control mode not supported, skipping hwmon1/device/pwm1.
There are no usable PWM outputs.

I've tried to turn on PWM manually (under root user of course):
tp# echo 1 > /sys/class/hwmon/hwmon1/device/pwm1_enable
echo: write error: operation not permitted

So it seems that it stuck.
What else should I try?

Last edited by pirj (2013-03-18 12:58:34)

Offline

#2 2013-03-18 11:48:09

pirj
Member
From: Phuket, Thailand
Registered: 2011-11-24
Posts: 19

Re: [Resolved] Fan control Lenovo X120e doesn't work on newer kernels

Just updated to 3.8.3-2-ARCH, nothing changed.

Offline

#3 2013-03-18 13:01:28

pirj
Member
From: Phuket, Thailand
Registered: 2011-11-24
Posts: 19

Re: [Resolved] Fan control Lenovo X120e doesn't work on newer kernels

Figured it out:

https://wiki.archlinux.org/index.php/Le … an_Control

To enable manual fan control place the following into /etc/modprobe.d/modprobe.conf
options thinkpad_acpi fan_control=1

Add thinkpad_acpi module to a conf file in /etc/modules-load.d/

With that pwmconfig works (I've decided not to use it though) and
  echo level 7 > /proc/acpi/ibm/fan
  echo level auto > /proc/acpi/ibm/fan
work just fine.

Offline

Board footer

Powered by FluxBB