[systemd-commits] keymaps/hewlett-packard_elitebook-8440p Makefile.am src/udev

Martin Pitt martin at kemper.freedesktop.org
Thu Oct 25 21:32:03 PDT 2012


 Makefile.am                             |    1 +
 keymaps/hewlett-packard_elitebook-8440p |    5 +++++
 src/udev/keymap/95-keymap.rules         |    1 +
 3 files changed, 7 insertions(+)

New commits:
commit 221a6c2a26d8e4de207adf216f2f30e43b4aa492
Author: Martin Pitt <martinpitt at gnome.org>
Date:   Fri Oct 26 06:31:14 2012 +0200

    keymap: Add HP EliteBook 8440p
    
    Thanks to Glen Ditchfield <gjditchfield at acm.org>!
    
    https://launchpad.net/bugs/1071579

diff --git a/Makefile.am b/Makefile.am
index 2527926..0bcde9c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2254,6 +2254,7 @@ dist_udevkeymap_DATA = \
 	keymaps/hewlett-packard-presario-2100 \
 	keymaps/hewlett-packard-tablet \
 	keymaps/hewlett-packard-tx2 \
+	keymaps/hewlett-packard_elitebook-8440p \
 	keymaps/ibm-thinkpad-usb-keyboard-trackpoint \
 	keymaps/inventec-symphony_6.0_7.0 \
 	keymaps/lenovo-3000 \
diff --git a/keymaps/hewlett-packard_elitebook-8440p b/keymaps/hewlett-packard_elitebook-8440p
new file mode 100644
index 0000000..e0c2a1a
--- /dev/null
+++ b/keymaps/hewlett-packard_elitebook-8440p
@@ -0,0 +1,5 @@
+0x88 www
+0xA0 mute
+0xAE volumedown
+0xB0 volumeup
+0xEC mail
diff --git a/src/udev/keymap/95-keymap.rules b/src/udev/keymap/95-keymap.rules
index 144559c..506310e 100644
--- a/src/udev/keymap/95-keymap.rules
+++ b/src/udev/keymap/95-keymap.rules
@@ -97,6 +97,7 @@ ENV{DMI_VENDOR}=="Hewlett-Packard*", ATTR{[dmi/id]product_name}=="*[tT][xX]2*",
 ENV{DMI_VENDOR}=="Hewlett-Packard", ATTR{[dmi/id]product_name}=="Presario 2100*", RUN+="keymap $name hewlett-packard-presario-2100"
 ENV{DMI_VENDOR}=="Hewlett-Packard", ATTR{[dmi/id]product_name}=="HP G62 Notebook PC", RUN+="keymap $name 0xB2 www"
 ENV{DMI_VENDOR}=="Hewlett-Packard", ATTR{[dmi/id]product_name}=="HP ProBook*", RUN+="keymap $name 0xF8 rfkill"
+ENV{DMI_VENDOR}=="Hewlett-Packard", ATTR{[dmi/id]product_name}=="HP EliteBook 8440p", RUN+="keymap $name hewlett-packard_elitebook-8440p"
 # HP Pavillion dv6315ea has empty DMI_VENDOR
 ATTR{[dmi/id]board_vendor}=="Quanta", ATTR{[dmi/id]board_name}=="30B7", ATTR{[dmi/id]board_version}=="65.2B", RUN+="keymap $name 0x88 media" # "quick play
 



More information about the systemd-commits mailing list