Re: [PATCH v4] platform/x86: thinkpad-acpi: Add X1 Fold keyboard attachment detection

From: Ilpo Järvinen

Date: Tue Sep 15 2026 - 07:51:50 EST


On Tue, 25 Aug 2026 21:12:10 +0200, Pit Henrich wrote:

> ThinkPad X1 Fold 16 Gen 1 firmware reports whether the keyboard is
> magnetically attached (on the screen), but thinkpad-acpi does not expose
> this to userspace. The state can be obtained via ACPI methods: GDST (get
> device state).
>
> Add a read-only keyboard_attached_on_screen sysfs attribute, gated by
> a DMI match.
>
> [...]

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: thinkpad-acpi: Add X1 Fold keyboard attachment detection
commit: ab0b68221ea686085a146736569ac32d773affcb

--
i.