From: Pranay Pawar <75427894+Bugaddr@users.noreply.github.com> Date: Mon, 17 Nov 2025 15:33:42 +0000 (+0530) Subject: hwdb: Fix keyboard backlight keys on Acer Nitro 5 AN515-58 (#39769) X-Git-Tag: v259-rc1~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7e8f6ece84fc8925ca71381903d05ab321f2fbb0;p=thirdparty%2Fsystemd.git hwdb: Fix keyboard backlight keys on Acer Nitro 5 AN515-58 (#39769) Pressing Fn+F10 on Acer Nitro 5 AN515-58 incorrectly triggers display brightness down (scancode 0xef) instead of keyboard backlight control, causing the screen to go completely dark. Similarly, Fn+F9 (scancode 0xf0) has no function explictily stated in hwdb causing unknown keycode debug messages. Both keys should control the keyboard backlight as labeled on the keyboard. Map scancodes 0xef and 0xf0 to kbdillumup and kbdillumdown respectively to enable proper keyboard backlight control. --- diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb index c2976deea41..715d67dbb0c 100644 --- a/hwdb.d/60-keyboard.hwdb +++ b/hwdb.d/60-keyboard.hwdb @@ -237,6 +237,8 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnNitro*AN*515-47:pvr* # Nitro AN515-58 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnNitro*AN*515-58:pvr* + KEYBOARD_KEY_ef=kbdillumup # Fn+F10 + KEYBOARD_KEY_f0=kbdillumdown # Fn+F9 KEYBOARD_KEY_8a=micmute # Microphone mute button KEYBOARD_KEY_55=power