[PATCH libinput 8/8] data: don't disable the keyboard on any Thinkpad Yoga models

Peter Hutterer peter.hutterer at who-t.net
Thu Jun 14 03:25:59 UTC 2018


These (probably) all disable the mechanical keyboard anyway, so let's keep it
enabled to be able to access the screen keys, if any.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 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)
-- 
2.14.4



More information about the wayland-devel mailing list