Re: [PATCH] platform/x86: intel-hid: Add H3C MegaBook 14 to dmi_auto_add_switch
From: Ilpo Järvinen
Date: Wed Nov 25 2026 - 18:28:10 EST
On Thu, 19 Nov 2026 10:22:01 +0800, NanamiKite wrote:
> The H3C MegaBook 14 is a detachable 2-in-1 device with a magnetic USB
> keyboard, but its SMBIOS table reports chassis_type 10 (Notebook)
> instead of 31 (Convertible) or 32 (Detachable). As a result, intel-hid
> leaves SW_TABLET_MODE reporting disabled by default.
>
> Its ACPI HIDD._DSM function 8 (VGBS) unconditionally returns 0, so
> probing initial switch state via dmi_vgbs_allow_list would falsely
> report tablet mode when booted with the keyboard attached. However, its
> EC properly sends ACPI notifications 0xCC on keyboard detach (_QF3) and
> 0xCD on keyboard attach (_QF2) to INTC107B.
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.
FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.
The list of commits applied:
[1/1] platform/x86: intel-hid: Add H3C MegaBook 14 to dmi_auto_add_switch
commit: f17a7ec5d68b34275071d3bf2e33cc5995d02e51
--
i.