aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoiseev Vladimir <cdb@linkycat.com>2009-12-07 17:26:54 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-01-06 14:26:50 -0800
commit0bce92b05a81bb290ae58f689b14a283a87db6d7 (patch)
tree194c7ac0e1135cb9d788fd2481b437104d423050
parentae3559fa2fe48ab923b52885bba2dca0355428f0 (diff)
downloadlinux-linaro-stable-0bce92b05a81bb290ae58f689b14a283a87db6d7.tar.gz
Input: atkbd - add force relese key quirk for Samsung R59P/R60P/R61P
This patch is not upstream. Since 2.6.32, there is an interface in /sys for handling the force_release events from userspace, so such quirk patches are no longer accepted upstream now. But this patch is valid for version 2.6.31 downwards. OriginalAuthor: Moiseev Vladimir <cdb@linkycat.com> Alexander Huhlaev <sancheolz@gmail.com> BugLink: http://bugs.launchpad.net/bugs/253874 Signed-off-by: Keng-Yu Lin <keng-yu.lin@canonical.com> Cc: Moiseev Vladimir <cdb@linkycat.com> Cc: Alexander Huhlaev <sancheolz@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/input/keyboard/atkbd.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
index 6c6a09b1c0fe..abc314f93ff3 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
@@ -1608,6 +1608,15 @@ static struct dmi_system_id atkbd_dmi_quirk_table[] __initdata = {
.driver_data = atkbd_samsung_forced_release_keys,
},
{
+ .ident = "Samsung R59P/R60P/R61P",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "R59P/R60P/R61P"),
+ },
+ .callback = atkbd_setup_forced_release,
+ .driver_data = atkbd_samsung_forced_release_keys,
+ },
+ {
.ident = "Fujitsu Amilo PA 1510",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"),