Open FPSUsername opened 3 years ago
Workaround using a systemd service:
/etc/systemd/system/restart_i8k.service
[Unit]
Description=Restart i8kmon after resuming from sleep
After=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target
[Service]
ExecStart=/home/USERNAME/.restart_i8k.sh
[Install]
WantedBy=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target
~/.restart_i8k.sh
#!/bin/sh
sudo systemctl restart i8kmon
echo "Restarted fan control"
Specs
Laptop: Dell XPS 15 9560 Distro: Arch Linux Kernel: linux-xanmod-edge (5.13.10-1) DE: KDE Plasma 5.22.4 (with SDDM)
Additions
dell-bios-fan-control is installed and bios fan control is turned off.
Issue
Whenever I resume the laptop from sleep, the fans kick on and about 1/5 times they stop spinning immediately after it (since temperatures aren't high, so no need to enable the fans). Otherwise the fans stay at full speed.
Note
This issue also happens on the official Arch kernel and on earlier releases of the 5.13 and 5.12 kernel as far as I can remember. The status of
i8kmon.service
is active (running) after resuming from sleep, no error messages.Workarounds
i8kmon
:$ sudo systemctl restart i8kmon
i8kmon
in a terminal (fan speed is immediately updated) and terminate withctrl + c
(or close the terminal)