mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-12 09:17:44 +03:00
keymap: Add force release for HP touchpad off
Force the touchpad off/on keys getting released, as they usually only send a "repeat". https://bugzilla.redhat.com/show_bug.cgi?id=623239 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
This commit is contained in:
parent
560de57514
commit
ecfad20871
@ -601,6 +601,7 @@ dist_udevkeymap_DATA = \
|
||||
|
||||
udevkeymapforcereldir = $(libexecdir)/keymaps/force-release
|
||||
dist_udevkeymapforcerel_DATA = \
|
||||
extras/keymap/force-release-maps/hp-other \
|
||||
extras/keymap/force-release-maps/samsung-other \
|
||||
extras/keymap/force-release-maps/common-volume-keys
|
||||
|
||||
|
@ -35,4 +35,9 @@ ENV{DMI_VENDOR}=="TOSHIBA", ATTR{[dmi/id]product_name}=="Satellite U300|Satellit
|
||||
|
||||
ENV{DMI_VENDOR}=="Viooo Corporation", ATTR{[dmi/id]product_name}=="PT17", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
|
||||
|
||||
# These are all the HP laptops that setup a touchpad toggle key
|
||||
ENV{DMI_VENDOR}=="Hewlett-Packard*", ATTR{[dmi/id]product_name}=="*[pP][aA][vV][iI][lL][iI][oO][nN]*", RUN+="keyboard-force-release.sh $devpath hp-other"
|
||||
ENV{DMI_VENDOR}=="Hewlett-Packard*", ATTR{[dmi/id]product_name}=="*[tT][xX]2*", RUN+="keyboard-force-release.sh $devpath hp-other"
|
||||
ENV{DMI_VENDOR}=="Hewlett-Packard*", ATTR{[dmi/id]product_name}=="*2510p*|*2530p*|HP G60 Notebook PC", RUN+="keyboard-force-release.sh $devpath hp-other"
|
||||
|
||||
LABEL="force_release_end"
|
||||
|
3
extras/keymap/force-release-maps/hp-other
Normal file
3
extras/keymap/force-release-maps/hp-other
Normal file
@ -0,0 +1,3 @@
|
||||
# list of scancodes (hex or decimal), optional comment
|
||||
0xd8 # Touchpad off
|
||||
0xd9 # Touchpad on
|
Loading…
Reference in New Issue
Block a user