linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add rule for Acer Aspire One ZG8 to use acer-aspire_5720 keymap
@ 2011-03-31 10:01 Lee, Chun-Yi
  2011-03-31 14:38 ` [PATCH] Add rule for Acer Aspire One ZG8 to use acer-aspire_5720 Martin Pitt
  0 siblings, 1 reply; 2+ messages in thread
From: Lee, Chun-Yi @ 2011-03-31 10:01 UTC (permalink / raw)
  To: linux-hotplug

Acer Aspire One ZG8's bluetooth HW key emit 0xD9 scancode, it must map
to KEY_BLUETOOTH like Acer Aspire 5720. So, add rule for Acer Aspire One
ZG8 use acer-aspire_5720 keymap.

Tested on Acer Aspire One ZG8 netbook.

Signed-off-by: Lee, Chun-Yi <jlee@novell.com>
---
 extras/keymap/95-keymap.rules |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules
index 0c3ae38..44d5064 100644
--- a/extras/keymap/95-keymap.rules
+++ b/extras/keymap/95-keymap.rules
@@ -100,6 +100,7 @@ ENV{DMI_VENDOR}="Acer*", ATTR{[dmi/id]product_name}="Aspire 6920", RUN+="keyma
 ENV{DMI_VENDOR}="Acer*", ATTR{[dmi/id]product_name}="Aspire 5920G", RUN+="keymap $name acer-aspire_5920g"
 ENV{DMI_VENDOR}="Acer*", ATTR{[dmi/id]product_name}="Aspire 5720*", RUN+="keymap $name acer-aspire_5720"
 ENV{DMI_VENDOR}="Acer*", ATTR{[dmi/id]product_name}="Aspire 8930", RUN+="keymap $name acer-aspire_8930"
+ENV{DMI_VENDOR}="Acer*", ATTR{[dmi/id]product_serial}="ZG8*", RUN+="keymap $name acer-aspire_5720"
 
 ENV{DMI_VENDOR}="*BenQ*", ATTR{[dmi/id]product_name}="*Joybook R22*", RUN+="keymap $name 0x6E wlan"
 
-- 
1.6.0.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Add rule for Acer Aspire One ZG8 to use acer-aspire_5720
  2011-03-31 10:01 [PATCH] Add rule for Acer Aspire One ZG8 to use acer-aspire_5720 keymap Lee, Chun-Yi
@ 2011-03-31 14:38 ` Martin Pitt
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Pitt @ 2011-03-31 14:38 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 407 bytes --]

Hello Lee,

Lee, Chun-Yi [2011-03-31 18:01 +0800]:
> Acer Aspire One ZG8's bluetooth HW key emit 0xD9 scancode, it must map
> to KEY_BLUETOOTH like Acer Aspire 5720. So, add rule for Acer Aspire One
> ZG8 use acer-aspire_5720 keymap.

Thanks! Applied.

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-03-31 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-31 10:01 [PATCH] Add rule for Acer Aspire One ZG8 to use acer-aspire_5720 keymap Lee, Chun-Yi
2011-03-31 14:38 ` [PATCH] Add rule for Acer Aspire One ZG8 to use acer-aspire_5720 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).