diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2023-09-25 03:45:09 +0700 |
---|---|---|
committer | Vadim Yanitskiy <fixeria@osmocom.org> | 2023-09-25 19:40:26 +0700 |
commit | 769cb992cc0b5fdd65d0fdb86a73097fbef7bd71 (patch) | |
tree | 8121952b861261fbf0eb9893a9ad7e2a93f5d3cc /quirks | |
parent | b6ea2f39762a65d56901a435839efdb5979f254f (diff) |
quirks: match 'ITE Device(8910)' keyboard by USB VID/PID
This allows the "Disable while typing" feature to work properly for:
048d:c102 Integrated Technology Express, Inc. ITE Device(8910)
This keyboard was found in the following Lenovo laptops:
* Legion 5 Pro 16ARH7H
* Legion 5 15ARH7H
The quirk for 16ARH7H was added in 94c785a2 (see #933), however
matching by DMI does not work for 15ARH7H, so let's match by
USB VID/PID instead.
https://gitlab.freedesktop.org/libinput/libinput/-/issues/933#note_2099049
Diffstat (limited to 'quirks')
-rw-r--r-- | quirks/50-system-lenovo.quirks | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/quirks/50-system-lenovo.quirks b/quirks/50-system-lenovo.quirks index 9f4cc4c6..3e08b655 100644 --- a/quirks/50-system-lenovo.quirks +++ b/quirks/50-system-lenovo.quirks @@ -247,6 +247,15 @@ MatchVendor=0x048D MatchProduct=0xC100 AttrKeyboardIntegration=internal +# Tested on Legion 5 15ARH7H, should also work for Legion 5 Pro 16ARH7H +# 048d:c102 Integrated Technology Express, Inc. ITE Device(8910) +[Lenovo Legion 5 Keyboard (C102)] +MatchUdevType=keyboard +MatchBus=usb +MatchVendor=0x048D +MatchProduct=0xC102 +AttrKeyboardIntegration=internal + [Lenovo Legion 5 Keyboard (C955)] MatchUdevType=keyboard MatchBus=usb @@ -321,9 +330,3 @@ MatchUdevType=keyboard MatchBus=usb MatchDMIModalias=dmi:*svnLENOVO:*:pvrLegionY9000PIRX8H* AttrKeyboardIntegration=internal - -[Lenovo Legion 5 Pro Gen7 AMD Keyboard] -MatchUdevType=keyboard -MatchName=ITE Tech. Inc. ITE Device(8910) Keyboard -MatchDMIModalias=dmi:*svnLENOVO:*:pvrLegion5Pro16ARH7H* -AttrKeyboardIntegration=internal |