From d3cb40e914cf0cbd83843371d5474d35e985e5e4 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 14 Jun 2018 11:33:41 +1000 Subject: [PATCH] data: don't disable the keyboard on any Thinkpad Yoga models These (probably) all disable the mechanical keyboard anyway, so let's keep it enabled to be able to access the screen keys, if any. https://gitlab.freedesktop.org/libinput/libinput/issues/39 Signed-off-by: Peter Hutterer --- data/50-system-lenovo.quirks | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/data/50-system-lenovo.quirks b/data/50-system-lenovo.quirks index 794517ae..a59e97a5 100644 --- a/data/50-system-lenovo.quirks +++ b/data/50-system-lenovo.quirks @@ -66,11 +66,13 @@ MatchName=*ALPS TrackPoint* MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadX280:* AttrTrackpointRange=70 -# Lenovo Thinkpad X1 Yoga disables the keyboard anyway but has the same device -# use a windows key on the screen and volume rocker on the side (#103749) -[Lenovo Thinkpad X1 Yoga] +# 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:*pvrThinkPadX1Yoga1st:* +MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPad*Yoga*:* ModelTabletModeNoSuspend=1 # Lenovo Carbon X1 6th gen (RMI4 only, PS/2 is broken on this device)