From 0bce92b05a81bb290ae58f689b14a283a87db6d7 Mon Sep 17 00:00:00 2001 From: Moiseev Vladimir Date: Mon, 7 Dec 2009 17:26:54 +0800 Subject: [PATCH] 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 Alexander Huhlaev BugLink: http://bugs.launchpad.net/bugs/253874 Signed-off-by: Keng-Yu Lin Cc: Moiseev Vladimir Cc: Alexander Huhlaev Signed-off-by: Greg Kroah-Hartman --- drivers/input/keyboard/atkbd.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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 @@ -1607,6 +1607,15 @@ static struct dmi_system_id atkbd_dmi_quirk_table[] __initdata = { .callback = atkbd_setup_forced_release, .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 = { -- 2.39.5