If any fan noise on your brand new Dell Precision 5520 with Ubuntu annoys you, or your fan constantly switches on and off - here is how to disable it permanently. This may also work on some other Dell laptops (i.e. Precision 5510).
It basically makes your 15 inch laptop fanless and totally quiet, for usage like web browsing, email, office productivity, watching videos, listening to the music etc.
Note: this may damage your computer.
Step 1: install i8kutils
This will install a tool which lets you control the fans. Unfortunately, it's pretty much useless, because BIOS also controls fan speed. This means - right after i8kmon disables the fan - BIOS would immediately reenable it, causing the fan to go on, and off, and then on, and off again.
Step 2: compile smm tool to disable BIOS fan control
smm is available in i8kutils source package, but not compiled as a binary.
You need apt install libc6-dev-i386 package installed to be able to compile smm (even if you have a 64 bit operating system).
Step 3: smm tool usage
- disable BIOS fan control
- enable BIOS fan control
Step 4: manually controlling fan speed
To disable fans, run:
It should print "0 0" in the output. Note: this will only work if you've disabled BIOS fan control (see Step 3).
Step 5: automatically control fan speed
Make sure i8kmon is running (it should start automatically if you installed i8kutils package).
Step 6: checking fan speed and temperature
You can use "sensors" from lm-sensors package to check fan speed and temperature: