summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohar <pali.rohar@gmail.com>2013-06-02 11:23:20 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-06-02 11:23:20 -0400
commitc4b8f8a920cf254ebaf5c4442462ab5192d2c48a (patch)
tree0cb992e1f395b3395d4a1b58da32bdbfd021d859
parent6734988f4e197d6ae7715c87e2a46a1d663ff1c9 (diff)
keymap: Add HP EliteBook 8460p
Taken from https://code.launchpad.net/~pali/ubuntu/raring/udev/hp-elitebook-8460p/+merge/157420 Signed-off-by: Martin Pitt <martinpitt@gnome.org> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r--keymaps/Makefile.am1
-rw-r--r--keymaps/hewlett-packard_elitebook-8460p3
-rw-r--r--rules/95-keymap.rules1
3 files changed, 5 insertions, 0 deletions
diff --git a/keymaps/Makefile.am b/keymaps/Makefile.am
index e8f5a60110..918c99fdbd 100644
--- a/keymaps/Makefile.am
+++ b/keymaps/Makefile.am
@@ -28,6 +28,7 @@ KEYMAPS = \
hewlett-packard-tablet \
hewlett-packard-tx2 \
hewlett-packard_elitebook-8440p \
+ hewlett-packard_elitebook-8460p \
hewlett-packard-hdx9494nr \
ibm-thinkpad-usb-keyboard-trackpoint \
inventec-symphony_6.0_7.0 \
diff --git a/keymaps/hewlett-packard_elitebook-8460p b/keymaps/hewlett-packard_elitebook-8460p
new file mode 100644
index 0000000000..1fe1b7237c
--- /dev/null
+++ b/keymaps/hewlett-packard_elitebook-8460p
@@ -0,0 +1,3 @@
+0xF8 wlan # Wireless HW switch button
+0xB3 prog1 # Fn+F11 - Ambient Light Sensor button
+0xB1 prog2 # Fn+ESC - System information button
diff --git a/rules/95-keymap.rules b/rules/95-keymap.rules
index a48e19fc68..30a77c888b 100644
--- a/rules/95-keymap.rules
+++ b/rules/95-keymap.rules
@@ -104,6 +104,7 @@ ENV{DMI_VENDOR}=="Hewlett-Packard", ATTR{[dmi/id]product_name}=="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 0xB2 www"
ENV{DMI_VENDOR}=="Hewlett-Packard", ATTR{[dmi/id]product_name}=="HP EliteBook 8440p", RUN+="keymap $name hewlett-packard_elitebook-8440p"
+ENV{DMI_VENDOR}=="Hewlett-Packard", ATTR{[dmi/id]product_name}=="HP EliteBook 8446p", RUN+="keymap $name hewlett-packard_elitebook-8460p"
ENV{DMI_VENDOR}=="Hewlett-Packard", ATTR{[dmi/id]product_name}=="HDX9494NR", RUN+="keymap $name hewlett-packard-hdx9494nr"
# HP Pavillion dv6315ea has empty DMI_VENDOR
# quick play