Persistent High-Fan Speed Ubuntu 14.04
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:
- Open a terminal, type
sudo gedit /etc/default/grub
, and press Enter - Enter your login password and press Enter. The password will not be displayed as you type it.
-
Edit the line
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
such that it reads
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=!Windows 2012"
Click "Save", wait a few moments for the file to save, then close the text editor.
In the terminal, type
sudo update-grub
and hit EnterFinally, 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
Related videos on Youtube
Priyantha
Updated on September 18, 2022Comments
-
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 over 9 yearsIf 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 over 9 yearsHello 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 over 9 yearsCan someone explain what is the connection between grub, which I guess is only a boot manager, and the fan speed?
-
Peter Samokhin almost 6 yearsYou are using
gson
? -
GolamMazid Sajib almost 6 yearswhich libary you used to serialization
-
Seelenvirtuose almost 6 years"But I want to get the response as bellow when calling if statement." => The real question is: Why?
-
-
Degru over 8 yearsWhen 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 over 7 yearsIn 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 about 7 yearsThere's more explanation about this solution here cyberciti.biz/faq/…
-
Destiny.Wang almost 6 years@Dev4World what r u using?
Gson
orJackson
-
Frighi almost 6 yearsCheck again my answer
-
Destiny.Wang almost 6 years@Dev4World you can use
@JsonInclude(JsonInclude.Include.NON_NULL)
onsim
andimei
, Not on the whole class -
Frighi almost 6 yearsMaybe you have newer version of Jackson, put annotation above getter of filed that want ignore when is null
-
Priyantha almost 6 yearsJackson version is 2.4.1
-
Frighi almost 6 yearsCheck this added answer part
-
Priyantha almost 6 yearsI tried with your updated answer. Butt issue is same. I also updated my question.
-
Priyantha almost 6 yearsWhen 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 almost 6 yearsI wrote another answer, cause the subject it's changed
-
Frighi almost 6 yearsLet us continue this discussion in chat.