From: Marcos Alano Date: Sat, 9 Aug 2025 10:52:27 +0000 (-0300) Subject: Enable KEY_PERFORMANCE key present on Linux 6.17 X-Git-Tag: v258-rc3~54^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F38533%2Fhead;p=thirdparty%2Fsystemd.git 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. --- diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb index 3a2add44866..465d5278174 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