linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix volume keys not releasing for Pegatron platform
@ 2010-04-21 17:19 Jerone Young
  2010-04-21 17:36 ` Martin Pitt
  0 siblings, 1 reply; 2+ messages in thread
From: Jerone Young @ 2010-04-21 17:19 UTC (permalink / raw)
  To: linux-hotplug

Pegatron has a new platform coming out being sold by many small
manufacturers. This platform has volume keys that are not sending a key
release. This patch ensures those keys send release.

Signed-off-by: Jerone Young <jerone.young@canonical.com>

diff --git a/extras/keymap/95-keyboard-force-release.rules b/extras/keymap/95-keyboard-force-release.rules
index c9edacf..011b2e3 100644
--- a/extras/keymap/95-keyboard-force-release.rules
+++ b/extras/keymap/95-keyboard-force-release.rules
@@ -29,4 +29,6 @@ ENV{DMI_VENDOR}="FOXCONN", ATTR{[dmi/id]product_name}="QBOOK", RUN+="keyboard-
 
 ENV{DMI_VENDOR}="MTC", ATTR{[dmi/id]product_version}="A0", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
 
+ENV{DMI_VENDOR}="PEGATRON CORP.", ATTR{[dmi/id]product_name}="Spring Peak", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
+
 LABEL="force_release_end"



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

* Re: [PATCH] Fix volume keys not releasing for Pegatron platform
  2010-04-21 17:19 [PATCH] Fix volume keys not releasing for Pegatron platform Jerone Young
@ 2010-04-21 17:36 ` Martin Pitt
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Pitt @ 2010-04-21 17:36 UTC (permalink / raw)
  To: linux-hotplug

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

Hello Jerone,

Jerone Young [2010-04-21 12:19 -0500]:
> Pegatron has a new platform coming out being sold by many small
> manufacturers. This platform has volume keys that are not sending a key
> release. This patch ensures those keys send release.

Thanks! Pushed.

<random rumble>This "common-volume-keys" is still a mystery to me --
if all those vendors can agree to a common set of broken volume keys,
why can't they agree to common scan codes for everything else???

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: 198 bytes --]

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

end of thread, other threads:[~2010-04-21 17:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-21 17:19 [PATCH] Fix volume keys not releasing for Pegatron platform Jerone Young
2010-04-21 17:36 ` 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).