From: Yin Kangkai <kangkai.yin@intel.com>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] keymap: Add keymap and force-release quirk for Samsung N128
Date: Thu, 06 May 2010 02:33:13 +0000 [thread overview]
Message-ID: <20100506023313.GK6648@kai-debian> (raw)
Hi list,
I failed to find the support for Samsung N128 in
95-keyboard-force-release.rules and 95-keymap.rules, So I'm trying to
send a patch for this, please consider accept it. Thanks.
From 3a0507af389b560942a37fd5b8078f3975c34f0d Mon Sep 17 00:00:00 2001
From: Yin Kangkai <kangkai.yin@intel.com>
Date: Thu, 6 May 2010 10:06:43 +0800
Subject: [PATCH] keymap: Add keymap and force-release quirk for Samsung N128
http://bugs.meego.com/show_bug.cgi?id\x1530
Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
---
| 2 +-
| 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--git a/extras/keymap/95-keyboard-force-release.rules b/extras/keymap/95-keyboard-force-release.rules
index 011b2e3..7c334ce 100644
--- a/extras/keymap/95-keyboard-force-release.rules
+++ b/extras/keymap/95-keyboard-force-release.rules
@@ -19,7 +19,7 @@ DRIVER!="atkbd", GOTO="force_release_end"
ENV{DMI_VENDOR}="$attr{[dmi/id]sys_vendor}"
-ENV{DMI_VENDOR}="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}="*N130*|*N140*|*SR70S/SR71S*|*Q210/P210*", RUN+="keyboard-force-release.sh $devpath samsung-other"
+ENV{DMI_VENDOR}="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}="*N128*|*N130*|*N140*|*SR70S/SR71S*|*Q210/P210*", RUN+="keyboard-force-release.sh $devpath samsung-other"
ENV{DMI_VENDOR}="Dell Inc.", ATTR{[dmi/id]product_name}="Studio 1557|Studio 1558", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
--git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules
index a27bc6d..8c00ba1 100644
--- a/extras/keymap/95-keymap.rules
+++ b/extras/keymap/95-keymap.rules
@@ -110,7 +110,7 @@ ENV{DMI_VENDOR}="INVENTEC", ATTR{[dmi/id]product_name}="SYMPHONY 6.0/7.0", RUN
ENV{DMI_VENDOR}="MAXDATA", ATTR{[dmi/id]product_name}="Pro 7000*", RUN+="keymap $name maxdata-pro_7000"
-ENV{DMI_VENDOR}="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}="*NC10*|*NC20*|*N130*|*SP55S*|*SQ45S70S*|*SX60P*|*SX22S*|*SX30S*|*R59P/R60P/R61P*|*SR70S/SR71S*|*Q210*|*Q310*|*X05*|*P560*|*R560*", RUN+="keymap $name samsung-other"
+ENV{DMI_VENDOR}="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}="*NC10*|*NC20*|*N128*|*N130*|*SP55S*|*SQ45S70S*|*SX60P*|*SX22S*|*SX30S*|*R59P/R60P/R61P*|*SR70S/SR71S*|*Q210*|*Q310*|*X05*|*P560*|*R560*", RUN+="keymap $name samsung-other"
ENV{DMI_VENDOR}="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}="*SX20S*", RUN+="keymap $name samsung-sx20s"
ENV{DMI_VENDOR}="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}="SQ1US", RUN+="keymap $name samsung-sq1us"
--
1.6.5
next reply other threads:[~2010-05-06 2:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-06 2:33 Yin Kangkai [this message]
2010-05-06 14:01 ` [PATCH] keymap: Add keymap and force-release quirk for Samsung Martin Pitt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100506023313.GK6648@kai-debian \
--to=kangkai.yin@intel.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.