summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2010-12-08 16:21:02 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2010-12-08 16:21:02 +0100
commita2f8d214310b5b8d76169ce5a517afb3f74072c0 (patch)
tree472866c433a5230239c5860d857b67123c170921
parent310f99d33595afdc1962611a913c429785f9ad40 (diff)
keymap: Fix struck Touchpad key on Dell Latitude E series
https://launchpad.net/bugs/686662
-rw-r--r--Makefile.am1
-rw-r--r--extras/keymap/95-keyboard-force-release.rules2
-rw-r--r--extras/keymap/force-release-maps/dell-touchpad1
3 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 032eb287a6..891440cf73 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -601,6 +601,7 @@ dist_udevkeymap_DATA = \
udevkeymapforcereldir = $(libexecdir)/keymaps/force-release
dist_udevkeymapforcerel_DATA = \
+ extras/keymap/force-release-maps/dell-touchpad \
extras/keymap/force-release-maps/hp-other \
extras/keymap/force-release-maps/samsung-other \
extras/keymap/force-release-maps/common-volume-keys
diff --git a/extras/keymap/95-keyboard-force-release.rules b/extras/keymap/95-keyboard-force-release.rules
index 84489f4d39..ff2d8fc998 100644
--- a/extras/keymap/95-keyboard-force-release.rules
+++ b/extras/keymap/95-keyboard-force-release.rules
@@ -18,10 +18,10 @@ DRIVER!="atkbd", GOTO="force_release_end"
ENV{DMI_VENDOR}="$attr{[dmi/id]sys_vendor}"
-
ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", RUN+="keyboard-force-release.sh $devpath samsung-other"
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*", RUN+="keyboard-force-release.sh $devpath dell-touchpad"
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/extras/keymap/force-release-maps/dell-touchpad b/extras/keymap/force-release-maps/dell-touchpad
new file mode 100644
index 0000000000..18e9bdee66
--- /dev/null
+++ b/extras/keymap/force-release-maps/dell-touchpad
@@ -0,0 +1 @@
+0x9E