On 21 Sep 2026 at 11:05, François Patte wrote:
Date sent: Mon, 21 Sep 2026 11:05:16 +0200
To: Community support for Fedora users <[email protected]>
From: François Patte <[email protected]>
Subject: temperature problems with kernel 6.19.14-108.fc42.x86_64
Send reply to: Community support for Fedora users
<[email protected]>
>
> Bonjour,
> I try to upgrade a laptop (dell latitude e6540) from fc42 to fc44 usingdnf
> system-upgrade
> As recommanded, I firstly upgrade f42 (dnf upgrade --refresh) and this
> installed
> kernel 6.19.14-108.fc42.x86_64. Then I launched the upgrade downlad to f44
> and
> suddenly the computer stopped...
Had an issue heat issue on Dell Latitude 5580 (Note: 3 version
5580U 5580HQ without nvidia and 5580HQ with nvidia) I have one
of each, didn't know there were different models. The also have 3
different fans and heat syncs. Eventually, found the Fan in 5580 HQ
with nivida was going bad, and eventually replace it. But was a
major job to find correct fan. U has 4 thread cpu with small fan,
HQ have 8 thread with bigger fan on heat sink channel, and HQ
with nvidia has even bigger fan, and dual cannel heat sink.
There is also an I issue with the Dell Firmware fighting with kernel.
Was seeing a lot of 0 rpms running when temp was high. If temp
gets to 100C system shuts down.
This is what I had created to resolve issue for me. May or may not
apply to your setup. Created with help from google.com AI and
claude.ai
# cat /etc/systemd/system/maxfan.service
[Unit]
Description=Dell Custom Dynamic Fan Loop
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/local/bin/dell-fan-loop.sh
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target
start and enable.
# cat /usr/local/bin/dell-fan-loop.sh
#!/usr/bin/env bash
# Dell Latitude 5580 fan control
# Locks out BIOS fan handling and drives dell_smm_hwmon pwm1 directly.
set -u
# --- Resolve dell_smm_hwmon by name, not by number ---
# hwmonN numbering is assigned by module load order at boot and is NOT stable
# across reboots. Always resolve it fresh rather than hardcoding hwmon6.
find_dell_hwmon() {
for name_file in /sys/class/hwmon/hwmon*/name; do
if [ -r "$name_file" ] && [ "$(cat "$name_file" 2>/dev/null)" =
"dell_smm" ]; then
dirname "$name_file"
return 0
fi
done
return 1
}
lock_bios_fan_control() {
/usr/bin/dell-bios-fan-control 0
}
# Initial lockout
lock_bios_fan_control
HWMON_DIR="$(find_dell_hwmon)"
if [ -z "${HWMON_DIR:-}" ]; then
echo "ERROR: dell_smm_hwmon not found under /sys/class/hwmon" >&2
exit 1
fi
echo "Using hwmon path: ${HWMON_DIR} (resolved: $(readlink -f "$HWMON_DIR"))"
# --- PWM levels ---
# FULL_PWM ~4900 RPM at 255
# MED_PWM set to the value you actually tested for ~2500 RPM.
# 128 is a placeholder — confirm with a step test (see note below)
# since dell_smm_hwmon doesn't always respond linearly across 0-255.
FULL_PWM=255
MED_PWM=128
TEMP_THRESHOLD_C=65
POLL_INTERVAL=30 #3
# Re-check hwmon path periodically in case of resume/module reload churn
RECHECK_EVERY=20 # iterations (~60s at 3s poll)
iter=0
chmod 666 "${HWMON_DIR}/pwm1"
while true; do
iter=$((iter + 1))
#lock_bios_fan_control
# Periodically re-resolve hwmon dir and re-assert BIOS lockout.
# Covers suspend/resume, where the BIOS can silently reclaim fan control.
if [ "$((iter % RECHECK_EVERY))" -eq 0 ]; then
lock_bios_fan_control
NEW_DIR="$(find_dell_hwmon)"
if [ -n "$NEW_DIR" ] && [ "$NEW_DIR" != "$HWMON_DIR" ]; then
echo "hwmon path changed: ${HWMON_DIR} -> ${NEW_DIR}"
HWMON_DIR="$NEW_DIR"
fi
fi
if [ ! -r "${HWMON_DIR}/temp1_input" ]; then
echo "WARN: ${HWMON_DIR}/temp1_input missing, re-resolving hwmon path"
>&2
HWMON_DIR="$(find_dell_hwmon)"
[ -z "${HWMON_DIR:-}" ] && { echo "ERROR: dell_smm_hwmon vanished" >&2;
sleep "$POLL_INTERVAL"; continue; }
fi
TEMP_RAW=$(cat "${HWMON_DIR}/temp1_input")
TEMP_C=$((TEMP_RAW / 1000))
# Ensure manual control state stays activated
echo 1 > "${HWMON_DIR}/pwm1_enable"
ENABLE_STATE=$(cat "${HWMON_DIR}/pwm1_enable")
if [ "$TEMP_C" -ge "$TEMP_THRESHOLD_C" ]; then
TARGET_PWM=$FULL_PWM
LEVEL="FULL"
else
TARGET_PWM=$MED_PWM
LEVEL="MEDIUM"
fi
echo "$TARGET_PWM" > "${HWMON_DIR}/pwm1"
ACTUAL_PWM=$(cat "${HWMON_DIR}/pwm1")
RPM=$(cat "${HWMON_DIR}/fan1_input" 2>/dev/null || echo "n/a")
echo "[$(date '+%H:%M:%S')] temp=${TEMP_C}C level=${LEVEL}
pwm1_enable=${ENABLE_STATE} pwm1_set=${TARGET_PWM} pwm1_actual=${ACTUAL_PWM}
rpm=${RPM}"
sleep "$POLL_INTERVAL"
done
Use to have it run more often, and now have it run longer between
tests.
Some examples with what I see.
journalctl | grep -i fan | tail -n 10; journalctl | grep -i fan | grep
FULL | tail -n 10
Sep 21 20:08:07 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[20:08:07] temp=40C level=MEDIUM pwm1_enable=1
pwm1_set=128 pwm1_actual=128 rpm=2468
Sep 21 20:08:37 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[20:08:37] temp=40C level=MEDIUM pwm1_enable=1
pwm1_set=128 pwm1_actual=128 rpm=2473
Sep 21 20:09:07 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[20:09:07] temp=41C level=MEDIUM pwm1_enable=1
pwm1_set=128 pwm1_actual=128 rpm=2469
Sep 21 20:09:37 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[20:09:37] temp=41C level=MEDIUM pwm1_enable=1
pwm1_set=128 pwm1_actual=128 rpm=2465
Sep 21 20:10:07 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[20:10:07] temp=41C level=MEDIUM pwm1_enable=1
pwm1_set=128 pwm1_actual=128 rpm=2469
Sep 21 20:10:37 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[20:10:37] temp=43C level=MEDIUM pwm1_enable=1
pwm1_set=128 pwm1_actual=128 rpm=2469
Sep 21 20:11:07 setzcodell.dyndns.org dell-fan-loop.sh[652144]:
BIOS CONTROL DISABLED
Sep 21 20:11:07 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[20:11:07] temp=41C level=MEDIUM pwm1_enable=1
pwm1_set=128 pwm1_actual=128 rpm=2469
Sep 21 20:11:37 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[20:11:37] temp=43C level=MEDIUM pwm1_enable=1
pwm1_set=128 pwm1_actual=128 rpm=2469
Sep 21 20:12:07 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[20:12:07] temp=41C level=MEDIUM pwm1_enable=1
pwm1_set=128 pwm1_actual=128 rpm=2469
Sep 21 14:02:05 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[14:02:05] temp=71C level=FULL pwm1_enable=1 pwm1_set=255
pwm1_actual=255 rpm=4884
Sep 21 14:02:35 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[14:02:35] temp=70C level=FULL pwm1_enable=1 pwm1_set=255
pwm1_actual=255 rpm=4902
Sep 21 14:03:05 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[14:03:05] temp=68C level=FULL pwm1_enable=1 pwm1_set=255
pwm1_actual=255 rpm=4890
Sep 21 14:03:35 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[14:03:35] temp=68C level=FULL pwm1_enable=1 pwm1_set=255
pwm1_actual=255 rpm=4890
Sep 21 14:04:05 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[14:04:05] temp=67C level=FULL pwm1_enable=1 pwm1_set=255
pwm1_actual=255 rpm=4878
Sep 21 14:04:35 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[14:04:35] temp=68C level=FULL pwm1_enable=1 pwm1_set=255
pwm1_actual=255 rpm=4890
Sep 21 14:14:06 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[14:14:06] temp=71C level=FULL pwm1_enable=1 pwm1_set=255
pwm1_actual=128 rpm=2480
Sep 21 14:14:36 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[14:14:36] temp=72C level=FULL pwm1_enable=1 pwm1_set=255
pwm1_actual=255 rpm=4890
Sep 21 14:56:09 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[14:56:09] temp=67C level=FULL pwm1_enable=1 pwm1_set=255
pwm1_actual=128 rpm=2504
Sep 21 14:56:40 setzcodell.dyndns.org dell-fan-loop.sh[3523]:
[14:56:40] temp=65C level=FULL pwm1_enable=1 pwm1_set=255
pwm1_actual=255 rpm=4890
Again. May or may not be similar to your issue.
Summary from journalctl
journalctl | grep MEDIUM | wc -l ; journalctl | grep FULL | wc -l
46198
895
Good Luck.
> The problem is the temperature : when the computer is with a minimum charge
> (one
> user logged from another computer) the CPU temp is 75°c and the Processor Fan
> is
> 4818 RPM. As soon as the upgrade process to f44 is running the temperature
> raises
> and the processor stops the computer.
> I booted on the previous kernel (6.18.5-100.fc42.x86_64) and no temperature
> problem occurs (computer idle the CPU temp is 45°C and fan is not running).
> I tried to reinstall kernel6.19.14-108.fc42.x86_64 but no changes :
> sensors
> dell_smm-isa-0000
> Adapter: ISA adapter
> Processor Fan: 4818 RPM (min = 0 RPM, max = 4900 RPM)
> CPU: +81.0°C
> Ambient: +74.0°C
> SODIMM: +55.0°C
> GPU: +96.0°C
>
> What is this problem? And can I launch the upgrade process to fc44 with
> kernel6.18.5-100.fc42.x86_64 running?
> Thank you.
> --
> François Patte
> tél : +33 (0)6 7892 5822
> https://www.pingala.homelinux.org/~fp
+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:[email protected]
mailto:[email protected]
mailto:[email protected]
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://forge.fedoraproject.org/infra/tickets/issues/new