* [PATCH] Support more MSI notebook by using asterisk on dmi vendor name
@ 2011-06-10 6:45 Lee, Chun-Yi
2011-06-10 8:52 ` [PATCH] Support more MSI notebook by using asterisk on dmi Martin Pitt
0 siblings, 1 reply; 2+ messages in thread
From: Lee, Chun-Yi @ 2011-06-10 6:45 UTC (permalink / raw)
To: linux-hotplug
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.
Cc: Martin Pitt <martin.pitt@ubuntu.com>
Signed-off-by: Lee, Chun-Yi <jlee@novell.com>
---
| 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
--git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules
index ee12a87..fcabe85 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
--
1.6.0.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Support more MSI notebook by using asterisk on dmi
2011-06-10 6:45 [PATCH] Support more MSI notebook by using asterisk on dmi vendor name Lee, Chun-Yi
@ 2011-06-10 8:52 ` Martin Pitt
0 siblings, 0 replies; 2+ messages in thread
From: Martin Pitt @ 2011-06-10 8:52 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 471 bytes --]
Hello Chun-Yi,
Lee, Chun-Yi [2011-06-10 14:45 +0800]:
> 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.
Thanks! Applied to git master.
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-10 8:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-10 6:45 [PATCH] Support more MSI notebook by using asterisk on dmi vendor name Lee, Chun-Yi
2011-06-10 8:52 ` [PATCH] Support more MSI notebook by using asterisk on dmi Martin Pitt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).