summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martinpitt@gnome.org>2013-03-14 18:17:43 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-03-14 18:18:33 -0400
commitbbdf02f1bca3cabf9fee6fbd6c1ff6eba6d7ceba (patch)
tree5d5e230ce287dbf1a06f03738fe668f3cf078d5a
parent462eddbaf867297a9a52d03a46cda682f43a8b43 (diff)
keymaps: Add HP HDX 9494NR
Add touchpad and www keys: https://bugzilla.redhat.com/show_bug.cgi?id=757928 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r--keymaps/Makefile.am1
-rw-r--r--keymaps/hewlett-packard-hdx9494nr3
-rw-r--r--rules/95-keyboard-force-release.rules2
-rw-r--r--rules/95-keymap.rules1
4 files changed, 6 insertions, 1 deletions
diff --git a/keymaps/Makefile.am b/keymaps/Makefile.am
index 0a58fb6a77..e8f5a60110 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-hdx9494nr \
ibm-thinkpad-usb-keyboard-trackpoint \
inventec-symphony_6.0_7.0 \
lenovo-3000 \
diff --git a/keymaps/hewlett-packard-hdx9494nr b/keymaps/hewlett-packard-hdx9494nr
new file mode 100644
index 0000000000..f3484e125a
--- /dev/null
+++ b/keymaps/hewlett-packard-hdx9494nr
@@ -0,0 +1,3 @@
+0xB2 www # FnF3
+0xD8 f22 # touchpad off
+0xD9 f23 # touchpad on
diff --git a/rules/95-keyboard-force-release.rules b/rules/95-keyboard-force-release.rules
index 5ac5a6982d..77bae24836 100644
--- a/rules/95-keyboard-force-release.rules
+++ b/rules/95-keyboard-force-release.rules
@@ -46,7 +46,7 @@ ENV{DMI_VENDOR}=="Viooo Corporation", ATTR{[dmi/id]product_name}=="PT17", RUN+="
# 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"
+ENV{DMI_VENDOR}=="Hewlett-Packard*", ATTR{[dmi/id]product_name}=="*2510p*|*2530p*|HP G60 Notebook PC|HDX9494NR", RUN+="keyboard-force-release.sh $devpath hp-other"
ENV{DMI_VENDOR}=="Zepto", ATTR{[dmi/id]product_name}=="Znote 6615WD", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
diff --git a/rules/95-keymap.rules b/rules/95-keymap.rules
index 988f414189..3fb208cd4d 100644
--- a/rules/95-keymap.rules
+++ b/rules/95-keymap.rules
@@ -102,6 +102,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}=="HDX9494NR", RUN+="keymap $name hewlett-packard-hdx9494nr"
# HP Pavillion dv6315ea has empty DMI_VENDOR
# quick play
ATTR{[dmi/id]board_vendor}=="Quanta", ATTR{[dmi/id]board_name}=="30B7", ATTR{[dmi/id]board_version}=="65.2B", RUN+="keymap $name 0x88 media"