Add Lenovo Legion 5 keyboard to 50-system-lenovo.quirks
authorPedro Ribeiro <pedrib@gmail.com>
Tue, 2 Mar 2021 11:59:50 +0000 (11:59 +0000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 2 Mar 2021 23:07:48 +0000 (23:07 +0000)
Signed-off-by: Pedro Ribeiro <pedrib@gmail.com>
quirks/50-system-lenovo.quirks

index e4ecc32..f617bb7 100644 (file)
@@ -205,3 +205,19 @@ ModelTabletModeNoSuspend=1
 MatchName=AT Raw Set 2 keyboard
 MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX1Tablet:*
 ModelTabletModeNoSuspend=1
+
+# Misidentified as an external keyboard by libinput
+# Tested on Legion 5 15AR05H 
+[Lenovo Legion 5 Keyboard]
+MatchUdevType=keyboard
+MatchBus=usb
+MatchVendor=0x048D
+MatchProduct=0xC100
+AttrKeyboardIntegration=internal
+
+[Lenovo Legion 5 Keyboard]
+MatchUdevType=keyboard
+MatchBus=usb
+MatchVendor=0x048D
+MatchProduct=0xC955
+AttrKeyboardIntegration=internal