[systemd-commits] src/udev

Martin Pitt martin at kemper.freedesktop.org
Wed Mar 27 00:17:01 PDT 2013


 src/udev/keymap/95-keymap.rules |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 590888a0d0cb813714fa2a521e2ca711f75862fb
Author: Martin Pitt <martinpitt at gnome.org>
Date:   Wed Mar 27 08:15:12 2013 +0100

    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

diff --git a/src/udev/keymap/95-keymap.rules b/src/udev/keymap/95-keymap.rules
index f2a9130..4e0ddfc 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"



More information about the systemd-commits mailing list