High fan speed after suspend

5,936

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
    
Share:
5,936

Related videos on Youtube

Eric Taw
Author by

Eric Taw

Updated on September 18, 2022

Comments

  • Eric Taw
    Eric Taw over 1 year

    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!

  • Elder Geek
    Elder Geek about 9 years
  • David Foerster
    David Foerster about 9 years
    As you're a reputation 1 user: if this answers your question, don't forget to click the grey ☑ under the "0" at the left of this text to accept it, which means "yes, this answer is valid"!
  • jarno
    jarno over 8 years
    fancontrol is not even installed by default (at least in Xubuntu 15.10).
  • DanMan
    DanMan over 7 years
    I don't think it worked.
  • fisk
    fisk almost 7 years
    Worked for me. May need to mark it executable
  • Benjamin
    Benjamin over 6 years
    This was from another question, but it seems like there was some sort of bug that got fixed in kernel 4.12. If you follow this guide to manually installed the latest kernel (via .debs) this will fix the problem. tecmint.com/upgrade-kernel-in-ubuntu