From 1ca2f11524ed45a06a00db26a0573375f67adbdf Mon Sep 17 00:00:00 2001 From: Pedro Ribeiro Date: Tue, 2 Mar 2021 11:59:50 +0000 Subject: [PATCH] Add Lenovo Legion 5 keyboard to 50-system-lenovo.quirks Signed-off-by: Pedro Ribeiro (cherry picked from commit 5e69c5f9ae793430d8ad07592d3e5bbd1d4e0e5b) --- quirks/50-system-lenovo.quirks | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/quirks/50-system-lenovo.quirks b/quirks/50-system-lenovo.quirks index e4ecc325..f617bb75 100644 --- a/quirks/50-system-lenovo.quirks +++ b/quirks/50-system-lenovo.quirks @@ -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