From: Moiseev Vladimir Date: Mon, 7 Dec 2009 09:26:54 +0000 (+0800) Subject: Input: atkbd - add force relese key quirk for Samsung R59P/R60P/R61P X-Git-Tag: v2.6.31.10~5 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0bce92b05a81bb290ae58f689b14a283a87db6d7;p=karo-tx-linux.git 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 --- 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 = {