33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
From 59eb5fc2a947a3f8a8d06975cf1304e2ad46868b Mon Sep 17 00:00:00 2001
|
|
From: Victor Berchet <victor@suumit.com>
|
|
Date: Fri, 31 May 2024 02:08:00 +0200
|
|
Subject: [PATCH] hwdb: Lenovo 16G6IRL volume keys and friends (#33107)
|
|
|
|
This prevents volume keys on the machine from repeating.
|
|
Full modalias:
|
|
```
|
|
$ cat /sys/class/dmi/id/modalias
|
|
dmi:bvnLENOVO:bvrMMCN36WW:bd03/26/2024:br1.36:efr1.30:svnLENOVO:pn21KH:pvrThinkBook16G6IRL:rvnLENOVO:rnLNVNB161216:rvrSDK0T76530WIN:cvnLENOVO:ct10:cvrThinkBook16G6IRL:skuLENOVO_MT_21KH_BU_idea_FM_ThinkBook16G6IRL:
|
|
```
|
|
|
|
(cherry picked from commit 71d78c599f1f855021aaa9556aa495a8cc769264)
|
|
|
|
Related: RHEL-5950
|
|
---
|
|
hwdb.d/60-keyboard.hwdb | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
|
|
index 3eb323f0e8..abfcad60b0 100644
|
|
--- a/hwdb.d/60-keyboard.hwdb
|
|
+++ b/hwdb.d/60-keyboard.hwdb
|
|
@@ -1050,6 +1050,8 @@ evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*IdeaPad*Z370*:pvr*
|
|
evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO:*:pvrIdeaPadFlex5*
|
|
# Lenovo Yoga S940 (9th gen)
|
|
evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO:pn81Q7*:pvrLenovoYogaS940:*
|
|
+# Lenovo ThinkBook 16G6IRL
|
|
+evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO:pn21KH*:pvrThinkBook16G6IRL:*
|
|
KEYBOARD_KEY_a0=!mute
|
|
KEYBOARD_KEY_ae=!volumedown
|
|
KEYBOARD_KEY_b0=!volumeup
|