summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2010-02-09 15:47:47 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2010-02-09 15:47:47 +0100
commitd7e2d38c1f0ead2239808dd117577a99a3ad3cde (patch)
tree01cca6edfd402377d6098a906934635fc87f0738
parentfc47e0b56779ceeaaa40d2dc3248fa002af63aaa (diff)
Fix brightness keys on MSI Wind U-100
The MSI Wind 100 generates ACPI/input events on the LNXVIDEO input device. On top of that, the video module/BIOS synthesize some extra event on atkbd as an echo of actually changing the brightness. Ignore the wrong and useless atkbd ones, to avoid event loops. Many thanks to Hans de Goede for tracking this down! https://launchpad.net/bugs/415023
-rw-r--r--extras/keymap/95-keymap.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules
index 51c8c3bfb1..684619b5c5 100644
--- a/extras/keymap/95-keymap.rules
+++ b/extras/keymap/95-keymap.rules
@@ -98,6 +98,11 @@ ENV{DMI_VENDOR}=="MEDIONNB", ATTR{[dmi/id]product_name}=="A555*", RUN+="keymap $
ENV{DMI_VENDOR}=="MICRO-STAR*", RUN+="keymap $name micro-star"
+# some MSI models generate ACPI/input events on the LNXVIDEO input devices,
+# plus some extra synthesized ones on atkbd as an echo of actually changing the
+# 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"
+
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"