From b9fc550f28e6b8749e4080a45a11fec5d6263351 Mon Sep 17 00:00:00 2001 From: Lorenzo Ianotto Date: Thu, 5 Feb 2026 22:28:40 +0100 Subject: [PATCH] Set ModelTabletModeNoSuspend only for Thinkpad S1 Yoga and X1 Yoga 1st gen Part-of: --- quirks/50-system-lenovo.quirks | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/quirks/50-system-lenovo.quirks b/quirks/50-system-lenovo.quirks index dd1273e9..349250ce 100644 --- a/quirks/50-system-lenovo.quirks +++ b/quirks/50-system-lenovo.quirks @@ -130,13 +130,18 @@ MatchName=*TPPS/2 Elan TrackPoint* MatchDMIModalias=dmi:*:svnLENOVO:*:pvrThinkPadX1Carbon6th:* AttrTrackpointMultiplier=0.4 -# Lenovo Thinkpad Yoga (not the consumer versions) disables the keyboard -# mechanically. We must not disable the keyboard because some keys are -# still accessible on the screen and volume rocker. -# Initially #103749 and extended by #106799 comment 7 -[Lenovo Thinkpad Yoga] -MatchName=AT Translated Set 2 keyboard -MatchDMIModalias=dmi:*:svnLENOVO:*:pvrThinkPad*Yoga*:* +# Don't disable keys accessible in tablet mode, #106799 comment 7 +[Lenovo Thinkpad S1 Yoga and S1 Yoga 12] +MatchBus=ps2 +MatchUdevType=keyboard +MatchDMIModalias=dmi:*:svnLENOVO:*:pvrThinkPadS1Yoga*:* +ModelTabletModeNoSuspend=1 + +# Don't disable keys accessible in tablet mode, #103749 +[Lenovo Thinkpad X1 Yoga 1st] +MatchBus=ps2 +MatchUdevType=keyboard +MatchDMIModalias=dmi:*:svnLENOVO:*:pvrThinkPadX1Yoga1st:* ModelTabletModeNoSuspend=1 [Lenovo X1 Yoga Trackpoint 1st gen]