Ubuntu – High fan speed after suspend

14.04fansonysuspend

It seems this is a common problem, but I still cannot find a good solution. After a cold boot, my laptop runs perfectly, but after resuming from suspend, the fan kicks in to 100% and blows out cold air, indicating that the fan isn't responding to the temperature of the laptop components. As proof, here's the output from sensors:

acpitz-virtual-0
Adapter: Virtual device
temp1:        +41.0°C  (crit = +101.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +43.0°C  (high = +87.0°C, crit = +105.0°C)
Core 0:         +43.0°C  (high = +87.0°C, crit = +105.0°C)
Core 1:         +39.0°C  (high = +87.0°C, crit = +105.0°C)

My laptop model is Sony SVE14A290X. I have tried adding a couple different 99fancontrol.d scripts, but none worked so far. pwmconfig also doesn't report a pwm-capable module in my laptop. Please help!

Best Answer

Unfortunately fancontrol doesn't restore the fan state after suspension. You can write a pm-action(8) resume hook that restarts the fancontrol service:

  1. Create a file /etc/pm/sleep.d/10_fancontrol (e. g. with gksudo gedit):

    #!/bin/sh
    case "$1" in
    resume)
        exec service fancontrol restart;;
    esac
    
  2. Mark it executable:

    sudo chmod +x /etc/pm/sleep.d/10_fancontrol
    
Related Question