I am trying to control the fan speed manually using the i8kctl package for dell laptops.
System - Ubuntu 16.04, 4.17.19-041719-generic Dell 7567 Inspiron
I followed the instructions in https://askubuntu.com/a/398635 answer, succesfully disabling the BIOS fan control.
However, when I do
ik8ctl fan 2 2
The output is
-1 -1
I think this means that the fan speed setting was not successful.
ik8ctl fan
returns 0 0
indicating that no fans are on, as the BIOS fan control has been disabled.
I have no issues turning BIOS control on, but I need the fan speed at max at times, which the BIOS is not doing due to some weird reasons.
Why is am8ctl not able to set the fan speeds?
UPDATE: Running as root
sudo ik8ctl fan 2 2
returns 0 0, rather than the earlier -1 -1. Still doesn't quite work as expected.
UPDATE2 Looking at this bug report solution (https://bugs.launchpad.net/i8kutils/+bug/1620580), I force loaded the modules
sudo rmmod dell-smm-hwmon
$ sudo modprobe dell-smm-hwmon restricted=0
The fan control works now for a limited time (1 second). Looks like the bias still takes control after for some reason.
BTW: I verified that I actually CAN control the fan by using
– Marc Dix Apr 22 '20 at 18:50while true; do sudo ./i8kctl fan 0 1; done;
- BIOS just grabs control every second