40 lines
1.9 KiB
Diff
40 lines
1.9 KiB
Diff
From aa72a7a7c681931e666a41aa5a4dd0f41f287e09 Mon Sep 17 00:00:00 2001
|
|
From: Marcos Alano <marcoshalano@gmail.com>
|
|
Date: Sat, 9 Aug 2025 07:52:27 -0300
|
|
Subject: [PATCH] Enable KEY_PERFORMANCE key present on Linux 6.17
|
|
|
|
Note, this change does not require the kernel running on the host is
|
|
equal or newer than 6.17. But systemd-udevd needs to be built with the
|
|
kernel headers with KEY_PERFORMANCE, and the relevant kernel header is
|
|
already updated by the previous commit.
|
|
|
|
(cherry picked from commit d5f65056ee5dea588c168ce64c0dbbc0344d60c8)
|
|
|
|
Resolves: RHEL-72697
|
|
---
|
|
hwdb.d/60-keyboard.hwdb | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
|
|
index 3a2add4486..465d527817 100644
|
|
--- a/hwdb.d/60-keyboard.hwdb
|
|
+++ b/hwdb.d/60-keyboard.hwdb
|
|
@@ -251,7 +251,7 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnNitro*ANV*15-51:pvr*
|
|
|
|
# Alienware/Dell reserves these keys; safe to apply on all their devices
|
|
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAlienware*:pn*:*
|
|
- KEYBOARD_KEY_68=!prog3 # Fn+f1 Performance mode toggle
|
|
+ KEYBOARD_KEY_68=!performance # Fn+f1 Performance mode toggle
|
|
KEYBOARD_KEY_81=touchpad_toggle # Touchpad toggle
|
|
KEYBOARD_KEY_8a=ejectcd
|
|
KEYBOARD_KEY_92=macro1 # Fn+f2
|
|
@@ -396,7 +396,7 @@ evdev:name:gpio-keys:phys:gpio-keys/input0:ev:3:dmi:bvn*:bvr*:bd*:svncube:pni1-T
|
|
###########################################################
|
|
|
|
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pn*:*
|
|
- KEYBOARD_KEY_68=!prog2 # G-Mode (Dell-specific)
|
|
+ KEYBOARD_KEY_68=!performance # G-Mode (Dell-specific)
|
|
KEYBOARD_KEY_81=playpause # Play/Pause
|
|
KEYBOARD_KEY_82=stopcd # Stop
|
|
KEYBOARD_KEY_83=previoussong # Previous song
|