chiark / gitweb /
Support more MSI notebook by using asterisk on dmi vendor name
authorLee, Chun-Yi <joeyli.kernel@gmail.com>
Fri, 10 Jun 2011 06:45:12 +0000 (14:45 +0800)
committerMartin Pitt <martin.pitt@ubuntu.com>
Fri, 10 Jun 2011 08:51:53 +0000 (10:51 +0200)
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>
extras/keymap/95-keymap.rules

index ee12a874670d06e8c32e4434ac6adea761752613..fcabe85be4d9fcfad84f05a3bea6dcdec2051446 100644 (file)
@@ -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