[PATCH] platform/x86: hp-wmi: Ignore Dynamic SAR event (0x24)

From: Shan Rizvi

Date: Sun Nov 29 2026 - 14:24:15 EST


On the HP OmniBook X Flip Laptop 16-cc0xxx (board HP 8EA2, BIOS Insyde
F.07), hp-wmi floods the kernel log during normal operation with over a
thousand messages per boot such as:

hp_wmi: Unknown event_id - 36 - 0x4
hp_wmi: Unknown event_id - 36 - 0x3
hp_wmi: Unknown event_id - 36 - 0x2
hp_wmi: Unknown event_id - 36 - 0x0
hp_wmi: Unknown event_id - 36 - 0x8

Disassembling the ACPI DSDT shows EC query _Q80 invokes WPMF() and
DSAR(), and DSAR() notifies WMID via WMID.GWET(0x24, RDMB(0x3D))
whenever the EC updates the device posture / Dynamic SAR state (values
0x0..0x5 and 0x8, also consumed by WLAN.RWSI and WFTE.WMDE/MTKW for
Wi-Fi RF power backoff).

Add HPWMI_DYNAMIC_SAR (0x24) to enum hp_wmi_event_ids and ignore it in
hp_wmi_notify(), matching the other informational firmware events such
as HPWMI_PROXIMITY_SENSOR and HPWMI_SMART_EXPERIENCE_APP.

Tested on HP OmniBook X Flip Laptop 16-cc0xxx (board HP 8EA2, BIOS
Insyde F.07, kernel 7.2.15): live 0x24 posture/SAR events are handled
silently and no longer flood the kernel log with "Unknown event_id - 36".

This patch was prepared with an AI coding assistant (Google Antigravity),
which helped analyze the disassembled ACPI DSDT, draft the patch and
changelog, and write the module test script. I reviewed the change and
ran the live hardware tests on my laptop.

Signed-off-by: Shan Rizvi <shan@xxxxxxxx>
---
drivers/platform/x86/hp/hp-wmi.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/platform/x86/hp/hp-wmi.c b/drivers/platform/x86/hp/hp-wmi.c
--- a/drivers/platform/x86/hp/hp-wmi.c
+++ b/drivers/platform/x86/hp/hp-wmi.c
@@ -410,6 +410,7 @@ enum hp_wmi_event_ids {
HPWMI_FN_P_HOTKEY = 0x1B,
HPWMI_OMEN_KEY = 0x1D,
HPWMI_SMART_EXPERIENCE_APP = 0x21,
+ HPWMI_DYNAMIC_SAR = 0x24,
};

/*
@@ -1735,6 +1736,8 @@ static void hp_wmi_notify(union acpi_obj
break;
case HPWMI_SMART_EXPERIENCE_APP:
break;
+ case HPWMI_DYNAMIC_SAR:
+ break;
default:
pr_info("Unknown event_id - %d - 0x%x\n", event_id, event_data);
break;
--
2.52.0