Persistent High-Fan Speed Ubuntu 14.04

183

Solution 1

Fan speed is normalized by editing the line

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

in the grub configuration file found at /etc/default/grub so that it reads

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=!Windows 2012"

Follow these steps to try this solution:

  1. Open a terminal, type sudo gedit /etc/default/grub, and press Enter
  2. Enter your login password and press Enter. The password will not be displayed as you type it.
  3. Edit the line

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    

    such that it reads

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=!Windows 2012"
    
  4. Click "Save", wait a few moments for the file to save, then close the text editor.

  5. In the terminal, type sudo update-grub and hit Enter

  6. Finally, shut down your computer. Shut it down completely: don't restart it.

Once you turn your computer back on and select the linux operating system whose grub file you edited earlier, your fans should be working normally. This solution has worked for me on Ubuntu, Linux Mint, Elementary OS, and LXLE on a Dell Inspiron 15R 5520 laptop.

Solution 2

I also have a Dell inspiron 15r se. Thanks to vitorafsr's post on launchpad, I could solve my problem.

Just install i8kutils by running

sudo apt-get install i8kutils

in the command line.

If that doesn't work have a look at the i8kutils project page.

Solution 3

I think i have just found an easier solution and it' working fine on my Dell Inspiron 3521 15R with i3 processor.

The solution is called TLP. I know that TLP is mainly used to save battery power but it's working even if i'm connected to AC and without limiting CPU resources.

First, check if you have installed on your system laptop-mode-tools and uninstall it:

sudo apt-get purge laptop-mode-tools

Then, install TLP:

sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp

Edit the file /etc/default/tlp:

sudo nano /etc/default/tlp

and look for #CPU_MAX_PERF_ON_AC=100. Uncomment the line and save the file pressing CTRL+O

Start TLP:

sudo tlp start

and if you are lucky enough your fan will calm down a lot.

NOTE: intel_pstate must be enabled on your system. It should be already enabled by default. You can check it digiting the following command in the terminal:

grep -i pstate /boot/config-$(uname -r)

The output should be:

CONFIG_X86_INTEL_PSTATE=y

Share:
183

Related videos on Youtube

Priyantha
Author by

Priyantha

Updated on September 18, 2022

Comments

  • Priyantha
    Priyantha over 1 year

    Response.java

    public class Response{
    
    private String mobileNo;
    private String contractId;
    private String sim;
    private String imei;
    
    public Response(String mobileNo, String contractId){
        this.mobileNo = mobileNo;
        this.contractId = contractId;
    
    }
    
    public Response(String mobileNo, String contractId, String sim,
            String imei, String identificationType) {
        this.mobileNo = mobileNo;
        this.contractId = contractId;
        this.sim = sim;
        this.imei = imei;
        this.identificationType = identificationType;
    }
    
    
    
    //Getter and Setter
    
    }
    

    MainEx.java

    public class MainEx{
    
       Response  response = null;  
    
       public Response response(){
    
         String mobileNo = null;
         String contractId = null;
         String sim = null;
         String imei = null;
    
         if(something){
            response= new IVRAccountDetailsRs("777","4545"); 
         }
         else{
            response= new IVRAccountDetailsRs("777","4545","sim","imei");
         }
        return response;
       }
    }
    

    When if statement call return response as

    { "mobileNo" = "777";
      "contractId" = "4545";
      "sim"= null;
      "imei" = null;
    }
    

    But I want to get the response as bellow,

    When calling if statement

    Need to remove other two values.

    { "mobileNo" = "777";
      "contractId" = "4545";
    }
    

    If contractId and mobileNo null then output should be

    { "mobileNo" = null;
      "contractId" = null;
    }
    

    When calling else statement

    { "mobileNo" = "777";
      "contractId" = "4545";
      "sim"= "sim";
      "imei" = "imei";
    }
    

    if all values null

     { "mobileNo" = null;
          "contractId" = null;
          "sim"= null;
          "imei" =null;
        }
    

    Used Jackson version is 2.4.1

    What can I do about this?

    • Dan Johansen
      Dan Johansen over 9 years
      If that laptop has AMD CPU or GPU, then I don't believe there is a fix for it yet. AMD CPU and GPU's get very hot. Is that also in your case?
    • user311982
      user311982 over 9 years
      Hello Dan, I determine the cause of the fan issue. I needed to edit the line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" in my grub configuration file found at /etc/default/grub so that it reads, GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=!Windows 2012" My fans are normal now; thank you for your response!
    • user1826905
      user1826905 over 9 years
      Can someone explain what is the connection between grub, which I guess is only a boot manager, and the fan speed?
    • Peter Samokhin
      Peter Samokhin almost 6 years
      You are using gson?
    • GolamMazid Sajib
      GolamMazid Sajib almost 6 years
      which libary you used to serialization
    • Seelenvirtuose
      Seelenvirtuose almost 6 years
      "But I want to get the response as bellow when calling if statement." => The real question is: Why?
  • Degru
    Degru over 8 years
    When I installed this it turned the fan completely off and it stayed off, even as temperatures climbed to 70C and higher. I tried regulating with i8kfan command, but it wouldn't turn the fan on for more than 2 seconds.
  • SiGe
    SiGe over 7 years
    In this case you should make the config files as you can find here. If the fans doesn't start, you should delet i8kutils, reboot and reinstall it, with the existing config files.
  • Sina
    Sina about 7 years
    There's more explanation about this solution here cyberciti.biz/faq/…
  • Destiny.Wang
    Destiny.Wang almost 6 years
    @Dev4World what r u using? Gson or Jackson
  • Frighi
    Frighi almost 6 years
    Check again my answer
  • Destiny.Wang
    Destiny.Wang almost 6 years
    @Dev4World you can use @JsonInclude(JsonInclude.Include.NON_NULL) on sim and imei, Not on the whole class
  • Frighi
    Frighi almost 6 years
    Maybe you have newer version of Jackson, put annotation above getter of filed that want ignore when is null
  • Priyantha
    Priyantha almost 6 years
    Jackson version is 2.4.1
  • Frighi
    Frighi almost 6 years
    Check this added answer part
  • Priyantha
    Priyantha almost 6 years
    I tried with your updated answer. Butt issue is same. I also updated my question.
  • Priyantha
    Priyantha almost 6 years
    When I use like this if some values null in the else statement those values remove from the response. But I need those null values with else statement response. Please check my updated question.
  • Frighi
    Frighi almost 6 years
    I wrote another answer, cause the subject it's changed
  • Frighi
    Frighi almost 6 years