From: Julien ROBIN <julien.robin28@free.fr>
To: hdegoede@redhat.com, ilpo.jarvinen@linux.intel.com
Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Bug report: HP: WMI: Fan speed reading and PWM control fails + dmesg related errors
Date: Thu, 12 Dec 2024 15:45:19 +0100 [thread overview]
Message-ID: <6e56ec6c-60ad-48ea-b185-19d7064a53f2@free.fr> (raw)
Hello there,
Using intended WMI drivers and associated sysfs through `pwm1_enable`
and `pwm1` virtual files generally allows manual setting of fan speed on
laptops, which can be useful to set maximum speed when running rude CPU
and GPU tasks for example (to avoid reaching crazy temperatures).
I have a new machine (HP 16-s1034nf) on which (even with latest mainline
kernel 6.13-rc2) this pwm fan control sysfs interface is failing, and
fan speed reported values are stuck to zero (even when they are
blowing), through hp-wpi driver.
Just to be sure, I checked using "HP Omen Gaming Hub" application in
Windows that the hardware is actually capable of fan speed reading and
setting (the answer is yes).
In details:
- `/sys/devices/platform/hp-wmi/hwmon/hwmon6/pwm1_enable` writing
isn't applied (when writing "0", value is kept to "2" and writing "1"
says write error: Invalid argument)
- `/sys/devices/platform/hp-wmi/hwmon/hwmon6/pwm1` is missing
- `/sys/devices/platform/hp-wmi/hwmon/hwmon6/fan1_input` is always
stuck to 0 (even when fans are running)
- `/sys/devices/platform/hp-wmi/hwmon/hwmon6/fan2_input` is always
stuck to 0 too (this computer actually has 2 fans)
The interesting part of the dmesg output is the following:
[...]
input: HP WMI hotkeys as /devices/virtual/input/input15
ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PEP.DETY],
AE_NOT_FOUND (20240322/psargs-332)
ACPI Error: Aborting method \_SB.WMID.GTPS due to previous error
(AE_NOT_FOUND) (20240322/psparse-529)
ACPI Error: Aborting method \_SB.WMID.RDCF due to previous error
(AE_NOT_FOUND) (20240322/psparse-529)
ACPI Error: Aborting method \_SB.WMID.WHCM due to previous error
(AE_NOT_FOUND) (20240322/psparse-529)
ACPI Error: Aborting method \_SB.WMID.WMAA due to previous error
(AE_NOT_FOUND) (20240322/psparse-529)
[...]
All of the previous dmesg messages are disappearing when booting with
`module_blacklist=hp_wmi` into the Kernel command line. In place of
them, we got a single line:
[..]
Module hp_wmi is blacklisted
[..]
So I understand these errors mentioning ACPI are caused by what the
hp_wmi driver is doing (or trying to).
In order to be sure this isn't an ACPI Firmware bug from the laptop's
ACPI tables, I used Firmware Test Suite on "DSDT" as explained into
https://wiki.ubuntu.com/Kernel/Reference/WMI
It turns out imperfections found by FWTS aren't related to the HP WMI
interfaces GUID. Anyway I'm still providing all of the related files and
results in case someone needs them.
Unfortunately, going further alone is a little bit outside of my skills,
but I keep available for any questions and tests.
As it's my first bug report into this mailing list, I hope I didn't make
too much mistakes! Sincerely sorry in advance if I did.
Best regards,
Julien ROBIN
Notes:
- Using Debian 13/Trixie (testing)
- Problem still exists on latest 6.13-rc2 "pure" kernel with no DKMS
loaded driver
I placed all of the required files (dmidecode, dmesg, kernel config, and
ACPI tables related stuff) into the following link:
-
https://pix-server-sorel.luoss.fr/Manual/Linux/HP-WMI/Bug-Report-2024-12-12/
next reply other threads:[~2024-12-12 14:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-12 14:45 Julien ROBIN [this message]
2024-12-17 13:18 ` Julien ROBIN
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=6e56ec6c-60ad-48ea-b185-19d7064a53f2@free.fr \
--to=julien.robin28@free.fr \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=platform-driver-x86@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
all inboxes | Powered by JetHome®