summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorMartin Pitt <martinpitt@gnome.org>2013-03-27 08:15:12 +0100
committerMartin Pitt <martinpitt@gnome.org>2013-03-27 08:15:12 +0100
commit590888a0d0cb813714fa2a521e2ca711f75862fb (patch)
tree57b4700c9fceaac8f51a8709fd6ab217118dc880 /src/udev
parent49e5de64e22ea4794092b91393545ab08e658e0a (diff)
keymap: Fix Touchpad Toggle on MSI Wind U90/U100
This key is handled by the hardware already, so handling it again in software nullifies the effect. Newer kernels read the real state and send out a separate KEY_TOUCHPAD_ON or KEY_TOUCHPAD_OFF event, so in both cases we need to ignore that key. https://bugs.freedesktop.org/show_bug.cgi?id=62404
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/keymap/95-keymap.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/udev/keymap/95-keymap.rules b/src/udev/keymap/95-keymap.rules
index f2a9130d36..4e0ddfc16a 100644
--- a/src/udev/keymap/95-keymap.rules
+++ b/src/udev/keymap/95-keymap.rules
@@ -143,6 +143,9 @@ ENV{DMI_VENDOR}=="MICRO-STAR*|Micro-Star*", RUN+="keymap $name micro-star"
# brightness; so ignore those atkbd ones, to avoid loops
ENV{DMI_VENDOR}=="MICRO-STAR*", ATTR{[dmi/id]product_name}=="*U-100*|*U100*|*N033", RUN+="keymap $name 0xF7 reserved 0xF8 reserved"
+# MSI Wind U90/U100 generates separate touchpad on/off keycodes so ignore touchpad toggle keycode
+ENV{DMI_VENDOR}=="MICRO-STAR*", ATTR{[dmi/id]product_name}=="U90/U100", RUN+="keymap $name 0xE4 reserved"
+
ENV{DMI_VENDOR}=="INVENTEC", ATTR{[dmi/id]product_name}=="SYMPHONY 6.0/7.0", RUN+="keymap $name inventec-symphony_6.0_7.0"
ENV{DMI_VENDOR}=="MAXDATA", ATTR{[dmi/id]product_name}=="Pro 7000*", RUN+="keymap $name maxdata-pro_7000"