summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorLee, Chun-Yi <joeyli.kernel@gmail.com>2011-06-10 14:45:12 +0800
committerMartin Pitt <martin.pitt@ubuntu.com>2011-06-10 10:51:53 +0200
commitcbdb9c39f611c8ce410cf8da5db21eb3dfb10b34 (patch)
tree80f7ec4ba1a1c3874e6e57186f24835f8408ad83 /extras
parent310aba9bca6f971d496936a53c6c7199b2ed0d7d (diff)
Support more MSI notebook by using asterisk on dmi vendor name
MSI machines have some different vendor name, and the refix on those vendor name are "MICRO-STAR" or "Micro-Star". So, merge the original two rules to one, and use asterisk on dmi vendor name for support more MSI machines. Tested on MSI U270 netbook. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Diffstat (limited to 'extras')
-rw-r--r--extras/keymap/95-keymap.rules3
1 files changed, 1 insertions, 2 deletions
diff --git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules
index ee12a87467..fcabe85be4 100644
--- a/extras/keymap/95-keymap.rules
+++ b/extras/keymap/95-keymap.rules
@@ -121,8 +121,7 @@ ENV{DMI_VENDOR}=="LG*", ATTR{[dmi/id]product_name}=="*X110*", RUN+="keymap $name
ENV{DMI_VENDOR}=="MEDION*", ATTR{[dmi/id]product_name}=="*FID2060*", RUN+="keymap $name medion-fid2060"
ENV{DMI_VENDOR}=="MEDIONNB", ATTR{[dmi/id]product_name}=="A555*", RUN+="keymap $name medionnb-a555"
-ENV{DMI_VENDOR}=="MICRO-STAR*", RUN+="keymap $name micro-star"
-ENV{DMI_VENDOR}=="Micro-Star International", RUN+="keymap $name micro-star"
+ENV{DMI_VENDOR}=="MICRO-STAR*|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