All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: platform-driver-x86@vger.kernel.org
Subject: [Bug 221149] hp-wmi: Fan control fails and RPM always reads as zero on HP OMEN 16-wf1xxx (Board 8C76)
Date: Fri, 27 Feb 2026 12:59:07 +0000	[thread overview]
Message-ID: <bug-221149-215701-xRsUNHEXpO@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-221149-215701@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=221149

--- Comment #3 from Krishna Chomal (krishna.chomal108@gmail.com) ---
(In reply to Enderlava from comment #2)
> Hi Krishna,
> 
> I successfully applied your patch to the 7.0-rc1 source and recompiled the
> kernel. Here are the test results for Board 8C76:
> 
> 1. Registration: success
> `dmesg` shows `hp_wmi: Registered as platform profile handler`. The previous
> ACPI/WMI errors (error 0x6) are completely gone.
> 
> 2. Fan Control (Write): success
> Writing 0 to `pwm1_enable` successfully ramps the fans to maximum speed, and
> writing 2 returns them to auto mode. The physical fan control works
> perfectly.
> 
> 3. Thermal Profile / Power Limits: success
> Switching to the performance profile successfully raises the PL1 limit to
> 130W, unlocking the CPU:
> Profile: low-power    ->  PL1: 55 W  |  PL2: 130 W
> Profile: balanced     ->  PL1: 55 W  |  PL2: 130 W
> Profile: performance  ->  PL1: 130 W |  PL2: 130 W
> 

Great! I see that you tested AUTO and MAX fan modes, however with recent
improvements you can now use MANUAL mode as well by writing 1 to pwm1_enable
and using pwm1 file for the fan speed (0 being off and 255 being 100%), please
let me know if that works as well.

> 4. Fan RPM Reading (Read): fails
> Although the fans physically spin up and the control works, reading the
> hwmon nodes (`cat fan1_input`) constantly returns 0 RPM.

This is really strange, could you also try the below patch, read from
fan1_input (when you feel that the fans are spinning and the RPM should not be
0) and paste the dmesg logs.

# dmesg | grep hp_wmi

Thanks


diff --git a/drivers/platform/x86/hp/hp-wmi.c
b/drivers/platform/x86/hp/hp-wmi.c
index 304d9ac63c8a..e58c5f0dfe8e 100644
--- a/drivers/platform/x86/hp/hp-wmi.c
+++ b/drivers/platform/x86/hp/hp-wmi.c
@@ -185,6 +185,10 @@ static const struct dmi_system_id
victus_s_thermal_profile_boards[] __initconst
                .matches = { DMI_MATCH(DMI_BOARD_NAME, "8BD5") },
                .driver_data = (void *)&victus_s_thermal_params,
        },
+       {
+               .matches = { DMI_MATCH(DMI_BOARD_NAME, "8C76") },
+               .driver_data = (void *)&omen_v1_thermal_params,
+       },
        {
                .matches = { DMI_MATCH(DMI_BOARD_NAME, "8C78") },
                .driver_data = (void *)&omen_v1_thermal_params,
@@ -621,9 +625,12 @@ static int hp_wmi_get_fan_speed_victus_s(int fan)
        ret = hp_wmi_perform_query(HPWMI_VICTUS_S_FAN_SPEED_GET_QUERY,
                                   HPWMI_GM, &fan_data, sizeof(u8),
                                   sizeof(fan_data));
-       if (ret != 0)
+       if (ret != 0) {
+               pr_info("[read] fan query failed with ret: %#x\n", ret);
                return -EINVAL;
+       }

+       pr_info("[read] fan_data: %*ph\n", (int)sizeof(fan_data), fan_data);
        return fan_data[fan] * 100;
 }

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2026-02-27 12:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-27 10:16 [Bug 221149] New: hp-wmi: Fan control fails and RPM always reads as zero on HP OMEN 16-wf1xxx (Board 8C76) bugzilla-daemon
2026-02-27 10:17 ` [Bug 221149] " bugzilla-daemon
2026-02-27 10:55 ` bugzilla-daemon
2026-02-27 12:14 ` bugzilla-daemon
2026-02-27 12:59 ` bugzilla-daemon [this message]
2026-02-27 13:43 ` bugzilla-daemon
2026-02-27 14:10 ` bugzilla-daemon
2026-02-27 14:41 ` bugzilla-daemon
2026-02-27 15:44 ` bugzilla-daemon
2026-03-30 15:24 ` bugzilla-daemon
2026-04-02  4:59 ` bugzilla-daemon

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=bug-221149-215701-xRsUNHEXpO@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.