From: Sonia Zorba Date: Tue, 18 Mar 2025 00:25:51 +0000 (+0200) Subject: hwdb: fix backspace not working on HP Pavilion laptop (#36777) X-Git-Tag: v258-rc1~1059 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=147511c643886543a79aa8d036380ea86c38cfa4;p=thirdparty%2Fsystemd.git hwdb: fix backspace not working on HP Pavilion laptop (#36777) PR #34685 moved the handling of keys 66/65 from specific models to generic HP laptops. Key 66 has been linked to the `pickup_phone` function; however, this action key is not available on all HP laptop models, particularly older versions. On my HP Pavilion laptop, key 66 is mapped to the `backspace` function, which caused the backspace key to stop working after the change. The following PR fixes the issue on my **HP Pavilion Laptop 15-eg0xxx**. I have placed the modifications under the Pavilion section, but I cannot guarantee that this solution will apply to all Pavilion models. Additionally, I have included a line that checks for "HP" instead of solely searching for "Hewlett-Packard," as my model is simply labeled as HP. --- diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb index 34e302910ac..f758d202d15 100644 --- a/hwdb.d/60-keyboard.hwdb +++ b/hwdb.d/60-keyboard.hwdb @@ -649,6 +649,8 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[tT][aA][bB][lL][eE][tT]*:* # Pavilion evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[pP][aA][vV][iI][lL][iI][oO][nN]*:* +evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pn*[pP][aA][vV][iI][lL][iI][oO][nN]*:* + KEYBOARD_KEY_66=backspace KEYBOARD_KEY_88=media # FIXME: quick play KEYBOARD_KEY_b7=print KEYBOARD_KEY_d8=!touchpad_off # touchpad off