From: Matthew Schwartz <matthew.schwartz@linux.dev>
To: regressions@lists.linux.dev,
"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Cc: Linux PM <linux-pm@vger.kernel.org>,
linux-hwmon@vger.kernel.org, stable@vger.kernel.org
Subject: [REGRESSION] thermal: per-zone hwmon names break Steam Deck fan control
Date: Wed, 29 Jul 2026 13:49:43 -0700 [thread overview]
Message-ID: <cafd8af9-c6e9-4bf2-b496-23e796fbc9a6@linux.dev> (raw)
Hello,
After upgrading my Steam Deck OLED to a 7.2-rc kernel, the userspace fan control daemon that I use stopped working. I bisected the regression to d6323469bcfb ("thermal: hwmon: Register a hwmon device for each thermal zone").
Before this commit, the ACPI thermal-zone hwmon name was acpitz, while after the change it is now acpitz_0.
The device profiles for fan control rely on the exact `acpitz` hwmon naming like the below code snippet:
devices:
- hwmon_name: acpitz
nice_name: CPU
max_temp: 90
temp_hysteresis: 0
sensor_name: temp1
So now, the profile fails to load with:
fancontrol.py[40528]: Warning: hwmons not fully loaded, retrying...
fancontrol.py[40528]: Warning: hwmons not fully loaded, retrying...
fancontrol.py[40528]: Warning: hwmons not fully loaded, retrying...
fancontrol.py[40528]: Traceback (most recent call last):
fancontrol.py[40528]: File "/usr/share/jupiter-fan-control/fancontrol.py", line 606, in <module>
fancontrol.py[40528]: raise FileNotFoundError("Failed to load hwmons after 10 attempts.")
fancontrol.py[40528]: FileNotFoundError: Failed to load hwmons after 10 attempts.
Because initialization fails, the daemon never enters its fan-control loop or writes the requested fan target.
This change was also backported to Linux 7.1.5 as commit 996957016bc1, so the regression is present there as well and has led to a userspace ABI regression. I can look at accommodating the change on the userspace side, but it still seemed worth reporting as a kernel regression.
Thanks,
Matt
#regzbot introduced: d6323469bcfbda91f0aa89b7b39ad45fe822ca5d
reply other threads:[~2026-07-29 20:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cafd8af9-c6e9-4bf2-b496-23e796fbc9a6@linux.dev \
--to=matthew.schwartz@linux.dev \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
--cc=regressions@lists.linux.dev \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox