linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan-Michael Brummer <jan.brummer@tabos.org>
To: dtor@mail.ru
Cc: linux-input@vger.kernel.org
Subject: Input: atkbd - add forced release keys quirk for Samsung P560/P210
Date: Tue, 22 Sep 2009 19:53:33 +0200	[thread overview]
Message-ID: <1253642013.11485.8.camel@buzz-laptop> (raw)

This patch fixes the key repeat issue with the Fn+F? keys on the
Samsung P560 and P210 Notebook, so that the keys can used correctly,
otherwise the keys repeat indefinitely.

Signed-off-by: Jan-Michael Brummer <jan.brummer@tabos.org>

--- linux-source-2.6.31/drivers/input/keyboard/atkbd.c.orig	2009-09-16
02:23:02.000000000 +0200
+++ linux-source-2.6.31/drivers/input/keyboard/atkbd.c	2009-09-22
18:04:47.720622934 +0200
@@ -1607,6 +1607,24 @@ static struct dmi_system_id atkbd_dmi_qu
 		.driver_data = atkbd_samsung_forced_release_keys,
 	},
 	{
+		.ident = "Samsung P560",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "P560"),
+		},
+		.callback = atkbd_setup_forced_release,
+		.driver_data = atkbd_samsung_forced_release_keys,
+	},
+	{
+		.ident = "Samsung P210",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "P210"),
+		},
+		.callback = atkbd_setup_forced_release,
+		.driver_data = atkbd_samsung_forced_release_keys,
+	},
+	{
 		.ident = "Samsung SQ45S70S",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),


             reply	other threads:[~2009-09-22 18:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-22 17:53 Jan-Michael Brummer [this message]
2009-09-22 18:46 ` Input: atkbd - add forced release keys quirk for Samsung P560/P210 Dmitry Torokhov

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=1253642013.11485.8.camel@buzz-laptop \
    --to=jan.brummer@tabos.org \
    --cc=dtor@mail.ru \
    --cc=linux-input@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 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).