Skip to contentSkip to conversation

New: [BUG] hp-wmi: OMEN 16-ap0xxx (8E35) - fan control not available (no PWM)

Bug 221523 [email protected] 1 participant 16 messages May 15 – Jun 8 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 221523
           Summary: [BUG] hp-wmi: OMEN 16-ap0xxx (8E35) - fan control not
                    available (no PWM)
           Product: Drivers
           Version: 2.5
          Hardware: AMD
                OS: Linux
            Status: NEW
          Severity: high
          Priority: P3
         Component: Platform_x86
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 310126
--> https://bugzilla.kernel.org/attachment.cgi?id=310126&action=edit
dmesg, dmidecode and xxd ec output

Like other users are reporting, with the HP Omen ap-16ap0xxx (motherboard 8E35) the fans are not working properly.

Issue:
The system is able to read fan speeds correctly, but no PWM control interface is exposed.
Fans appear to run at firmware-controlled speeds and do not respond to temperature changes driven by the OS. Under heavy workload, the CPU and GPU temperature will rise to 100°C, thermal throttling will begin, but fan speeds might or might now increase.

Details:
- fans detected
- fan1 and fan2 report valid RPM values
- no PWM control available (pwm1: N/A)
- fan_target not working

Impact:
The system does not adjust fan speeds on heavy workloads.

Possible Reason:
Board ID (8E35) not listed in hp_wmi driver.

Attached logs:
- dmesg
- dmidecode
- EC dump
- OMEN gaming hub log from windows

Please let me know if additional debugging (ACPI tables, EC dump, etc.) is required.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 221523] [BUG] hp-wmi: OMEN 16-ap0xxx (8E35) - fan control not available (no PWM)

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

--- Comment #1 from Ahmet Özt ([email protected]) --- Created attachment 310127
--> https://bugzilla.kernel.org/attachment.cgi?id=310127&action=edit
Omen Gaming hub log

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 221523] [BUG] hp-wmi: OMEN 16-ap0xxx (8E35) - fan control not available (no PWM)

In reply to [email protected]

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

Ahmet Özt ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
Kernel Version| |Linux 6.17.0-23-generic

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 221523] [BUG] hp-wmi: OMEN 16-ap0xxx (8E35) - fan control not available (no PWM)

In reply to [email protected]

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

Krishna Chomal ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Krishna Chomal ([email protected]) --- Created attachment 310134
--> https://bugzilla.kernel.org/attachment.cgi?id=310134&action=edit
Proposed patch for adding support for board ID 8E35

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

[Bug 221523] [BUG] hp-wmi: OMEN 16-ap0xxx (8E35) - fan control not available (no PWM)

In reply to [email protected]

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

--- Comment #3 from Krishna Chomal ([email protected]) --- Hi Ahmet,

Your device ID 8E35 was not present in any whitelist, which caused platform profile switching and fan control to fail.

Could you please apply the patch (attachment 310134) and test the following:

1. Check dmesg for successful registration message:
"hp_wmi: Registered as platform profile handler"

2. Verify that fan RPM is readable and controllable via sysfs (/sys/devices/platform/hp-wmi/hwmon/*).

3. Verify that on changing platform profile, and it does physically change the amount of power drawn in the CPU/GPU.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#5 lore raw

[Bug 221523] [BUG] hp-wmi: OMEN 16-ap0xxx (8E35) - fan control not available (no PWM)

In reply to [email protected]

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

--- Comment #4 from Ahmet Özt ([email protected]) --- Hi Krishna,

thank you very much for your quick help. I tried compiling and installing kernel 7.1, but unfortunately I have issues with that as I am currently on 6.17. I get errors when trying to install and kernel panics when trying to boot.

I also see I cannot apply the fix to 6.17 version of hp_wmi. The file was refactored in between. Copy pasting the new file to 6.17 causes compile errors. Can you provide an equivalent fix for 6.17?

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#6 lore raw

[Bug 221523] [BUG] hp-wmi: OMEN 16-ap0xxx (8E35) - fan control not available (no PWM)

In reply to [email protected]

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

--- Comment #5 from Ahmet Özt ([email protected]) --- (In reply to Krishna Chomal from comment #3)

Quoted 8 lines

Hi Ahmet,

Your device ID 8E35 was not present in any whitelist, which caused platform profile switching and fan control to fail.

Could you please apply the patch (attachment 310134 [details]) and test the following:

Quoted 8 lines

1. Check dmesg for successful registration message:
"hp_wmi: Registered as platform profile handler"

2. Verify that fan RPM is readable and controllable via sysfs (/sys/devices/platform/hp-wmi/hwmon/*).

3. Verify that on changing platform profile, and it does physically change the amount of power drawn in the CPU/GPU.

Hi Krishna,

I was now able to update the hp_wmi with dkms. The board is now detected by hp_wmi. But I cannot control the PWMs.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#8 lore raw

[Bug 221523] [BUG] hp-wmi: OMEN 16-ap0xxx (8E35) - fan control not available (no PWM)

In reply to [email protected]

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

--- Comment #7 from Ahmet Özt ([email protected]) --- Hi Krishna,

I realized, that my hp_wmi.c was a modified version. I updated the file to the newest revision from the linux repo and added your modifications. hp_wmi is recognized and the fancontrol is working. I will test the platform profile today.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#9 lore raw

[Bug 221523] [BUG] hp-wmi: OMEN 16-ap0xxx (8E35) - fan control not available (no PWM)

In reply to [email protected]

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

--- Comment #8 from Ahmet Özt ([email protected]) --- Hi Krishna,

I tested the platform profile and I can see the CPU and iGPU consumption increases in performance mode. The dGPU consumption does not change with the platform profile.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#10 lore raw

[Bug 221523] [BUG] hp-wmi: OMEN 16-ap0xxx (8E35) - fan control not available (no PWM)

In reply to [email protected]

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

--- Comment #9 from Krishna Chomal ([email protected]) --- Hey, apologies for the delay in response. Since fan control is working and CPU/iGPU power limits are raised, then driver seems to be working. Regarding the dGPU issue, if you have an nvidia graphics card then you would need nvidia-powerd [1] to get dynamic boost working.

[1]: https://wiki.archlinux.org/title/CPU_frequency_scaling#nvidia-powerd

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#11 lore raw

[Bug 221523] [BUG] hp-wmi: OMEN 16-ap0xxx (8E35) - fan control not available (no PWM)

In reply to [email protected]

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

--- Comment #10 from Ahmet Özt ([email protected]) ---
Hi,
sorry for the question, but it is not clear to me now if you will proceed to integrate this fix or not. Can we go forward with the fix?

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#12 lore raw

[Bug 221523] [BUG] hp-wmi: OMEN 16-ap0xxx (8E35) - fan control not available (no PWM)

In reply to [email protected]

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

--- Comment #11 from Krishna Chomal ([email protected]) --- Oh sorry, I assumed you were fixing the dGPU power raise issue. If you believe power modes and fan control are working, let me know, I will send this patch to the mailing list.

Also please confirm if this is correct for the Tested-by and Reported-by tags of the patch:

Ahmet Ozt <[email protected]>

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#13 lore raw

[Bug 221523] [BUG] hp-wmi: OMEN 16-ap0xxx (8E35) - fan control not available (no PWM)

In reply to [email protected]

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

--- Comment #12 from Ahmet Özt ([email protected]) --- Hi Krishna,

I was not able to set up the nvidia service to fix the dGPU issue. Now after two weeks of testing I can confirm the power modes and fan control are working.

Please use this as tag: Ahmet Öztürk <[email protected]>

Kind regards

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#15 lore raw

[Bug 221523] [BUG] hp-wmi: OMEN 16-ap0xxx (8E35) - fan control not available (no PWM)

In reply to [email protected]

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

--- Comment #14 from Krishna Chomal ([email protected]) --- Hey Ahmet, I have sent the patch to the mailing list, you can track it here:
https://lore.kernel.org/platform-driver-x86/[email protected]

Signature · 4 lines
You may reply to this email to add a comment.

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