You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.3 KiB
35 lines
1.3 KiB
1 month ago
|
From b724d421272dd06252b1fa180a990696999658c4 Mon Sep 17 00:00:00 2001
|
||
|
From: EinBaum <mail@einbaum.org>
|
||
|
Date: Tue, 14 Mar 2023 10:41:21 +0200
|
||
|
Subject: [PATCH] hwdb: 60-keyboard.hwdb: Fix modalias for Thinkpad X200 Tablet
|
||
|
(#26795)
|
||
|
|
||
|
This fixes the tablet buttons on the Thinkpad X200 Tablet.
|
||
|
My Lenovo ThinkPad X200 Tablet is called "ThinkPadX200T" instead of "ThinkPadX200Tablet":
|
||
|
```
|
||
|
$ cat /sys/devices/virtual/dmi/id/modalias
|
||
|
dmi:bvnLENOVO:bvr7WET71WW(3.21):bd11/29/2012:br3.33:efr1.6:svnLENOVO:pn7453WVK:pvrThinkPadX200T:rvnLENOVO:rn7453WVK:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:sku:
|
||
|
```
|
||
|
This patch makes both strings work correctly to support the extra tablet keys.
|
||
|
|
||
|
(cherry picked from commit a5c0ad9a9a2964079a19a1db42f79570a3582bee)
|
||
|
|
||
|
Related: RHEL-5950
|
||
|
---
|
||
|
hwdb.d/60-keyboard.hwdb | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
|
||
|
index 10dde4dbec..0037d02be1 100644
|
||
|
--- a/hwdb.d/60-keyboard.hwdb
|
||
|
+++ b/hwdb.d/60-keyboard.hwdb
|
||
|
@@ -952,7 +952,7 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrIdeaPad5*:*
|
||
|
KEYBOARD_KEY_81=insert
|
||
|
|
||
|
# Thinkpad X200_Tablet
|
||
|
-evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*Tablet*:*
|
||
|
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*T*:*
|
||
|
KEYBOARD_KEY_5d=menu
|
||
|
KEYBOARD_KEY_63=fn
|
||
|
KEYBOARD_KEY_66=screenlock
|