summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2012-03-28 11:44:19 +0200
committerMartin Pitt <martinpitt@gnome.org>2012-04-13 17:17:22 +0200
commit84f4fc4215bb6ddaa0b640e731242dd8517a3a79 (patch)
tree474800503d74600cc784df882ad3a8212b0fe10e
parent9b80f05fb727edc70a305d912ab6cf1c3bdbf67e (diff)
keymap: Add Dell XPS force-release quirk
https://launchpad.net/bugs/910911
-rw-r--r--Makefile.am1
-rw-r--r--src/udev/keymap/95-keyboard-force-release.rules1
-rw-r--r--src/udev/keymap/force-release-maps/dell-xps1
3 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index ebbee04209..d0c82812c5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1873,6 +1873,7 @@ dist_udevkeymap_DATA = \
udevkeymapforcereldir = $(libexecdir)/udev/keymaps/force-release
dist_udevkeymapforcerel_DATA = \
src/udev/keymap/force-release-maps/dell-touchpad \
+ src/udev/keymap/force-release-maps/dell-xps \
src/udev/keymap/force-release-maps/hp-other \
src/udev/keymap/force-release-maps/samsung-other \
src/udev/keymap/force-release-maps/samsung-90x3a \
diff --git a/src/udev/keymap/95-keyboard-force-release.rules b/src/udev/keymap/95-keyboard-force-release.rules
index 03d56e8aa4..fd0dabf684 100644
--- a/src/udev/keymap/95-keyboard-force-release.rules
+++ b/src/udev/keymap/95-keyboard-force-release.rules
@@ -23,6 +23,7 @@ ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="*
ENV{DMI_VENDOR}=="Dell Inc.", ATTR{[dmi/id]product_name}=="Studio 1557|Studio 1558", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
ENV{DMI_VENDOR}=="Dell Inc.", ATTR{[dmi/id]product_name}=="Latitude E*|Precision M*", RUN+="keyboard-force-release.sh $devpath dell-touchpad"
+ENV{DMI_VENDOR}=="Dell Inc.", ATTR{[dmi/id]product_name}=="XPS*", RUN+="keyboard-force-release.sh $devpath dell-xps"
ENV{DMI_VENDOR}=="FUJITSU SIEMENS", ATTR{[dmi/id]product_name}=="AMILO Si 1848+u|AMILO Xi 2428", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
diff --git a/src/udev/keymap/force-release-maps/dell-xps b/src/udev/keymap/force-release-maps/dell-xps
new file mode 100644
index 0000000000..69f7899ad7
--- /dev/null
+++ b/src/udev/keymap/force-release-maps/dell-xps
@@ -0,0 +1 @@
+0x8C