mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user