]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: fix backspace not working on HP Pavilion laptop (#36777)
authorSonia Zorba <zonia3000@gmail.com>
Tue, 18 Mar 2025 00:25:51 +0000 (02:25 +0200)
committerGitHub <noreply@github.com>
Tue, 18 Mar 2025 00:25:51 +0000 (09:25 +0900)
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.

hwdb.d/60-keyboard.hwdb

index 34e302910ac9e29fe44acc0c08d51d290363e713..f758d202d15403487d8d75ae799ed147f8d7484f 100644 (file)
@@ -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