platform/x86: hp-wmi: Add support for HP OMEN 16-ae0xxx (8CC0)
PATCH 1/1 platform/x86: hp-wmi: Add support for HP OMEN 16-ae0xxx (8CC0)
The HP OMEN 16-ae0xxx (board ID 8CC0) has the same WMI interface as other Victus S boards, but requires quirks for correctly switching thermal profile (similar to HP Omen 16-wf1xxx, board ID 8C78).
Without an entry, the driver falls back to the generic HP thermal profile path, whose query fails on this board
("hp_wmi: query 0x4c returned error 0x6"), so no platform profile is registered and the EC can't be switched out of its default mode from Linux.
Add the DMI board name to the hp_wmi_feature_boards[] table and map it to omen_v1_board_params.
Tested on an HP OMEN 16-ae0xxx (i7-14700HX, RTX 4070 Laptop GPU, BIOS F.14): the platform profile registers with low-power, balanced and performance, the profile read back from the EC matches the selected one, fan RPMs are readable, and switching profiles changes the CPU power limits programmed by the firmware (MSR PL1/PL2 of 55/130 W in low-power and balanced, 130/130 W in performance).
---
Tested on Ubuntu's 7.0.0-44 kernel with the equivalent pre-rework entry (victus_s_thermal_profile_boards[] -> omen_v1_thermal_params), which matches what omen_v1_board_params selects in for-next.
--- drivers/platform/x86/hp/hp-wmi.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/platform/x86/hp/hp-wmi.c +4 -0
@@ -325,6 +325,10 @@ static const struct dmi_system_id hp_wmi_feature_boards[] __initconst = { .matches = { DMI_MATCH(DMI_BOARD_NAME, "8C9C") }, .driver_data = (void *)&victus_s_board_params, }, + { + .matches = { DMI_MATCH(DMI_BOARD_NAME, "8CC0") }, + .driver_data = (void *)&omen_v1_board_params, + }, { .matches = { DMI_MATCH(DMI_BOARD_NAME, "8D26") }, .driver_data = (void *)&omen_v1_legacy_board_params,
---
base-commit: 61c0dac952b9308884936d05cce97565a5c89af4
change-id: 20261125-master-77bf836ce5ac
Best regards,
Signature · 1 line
the-catman <[email protected]>