teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0288-Add-support-for-NEC-VersaPro-VG-S.patch

594167
From ce32478594b4afc26c91ed63eb17c65ca988158c Mon Sep 17 00:00:00 2001
594167
From: 4piu <16668056+4piu@users.noreply.github.com>
594167
Date: Mon, 7 Mar 2022 16:38:08 +0800
594167
Subject: [PATCH] Add support for NEC VersaPro VG-S
594167
594167
The brightness control key (Fn+F7 Fn+F8) and touchpad toggle key (Fn + Space) do not work on the NEC VersaPro VG-S laptop. Add the keycode to fix the problem.
594167
594167
(cherry picked from commit 19a04e807129e7790a0f2950cf67d79fe0df85cb)
594167
594167
Related: #2087778
594167
---
594167
 hwdb.d/60-keyboard.hwdb | 11 +++++++++++
594167
 1 file changed, 11 insertions(+)
594167
594167
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
594167
index 2606d0b66c..73b26089ab 100644
594167
--- a/hwdb.d/60-keyboard.hwdb
594167
+++ b/hwdb.d/60-keyboard.hwdb
594167
@@ -1345,6 +1345,17 @@ evdev:name:MSI Laptop hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnM[iI][cC][rR][oO]-S[tT][a
594167
  KEYBOARD_KEY_0213=f22
594167
  KEYBOARD_KEY_0214=f23
594167
 
594167
+##########################################
594167
+# NEC
594167
+##########################################
594167
+
594167
+# VersaPro VG-S
594167
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnNEC:pnPC-VK22TGSGS:pvr*
594167
+ KEYBOARD_KEY_a8=f21                                    # Fn+Space touchpad toggle
594167
+ KEYBOARD_KEY_67=brightnessdown                         # Fn+F7 brightness down
594167
+ KEYBOARD_KEY_65=brightnessup                           # Fn+F8 brightness up
594167
+ KEYBOARD_KEY_71=battery                                # Fn+F4 ECO
594167
+
594167
 ###########################################################
594167
 # Olimex
594167
 ###########################################################