[PATCH] UBUNTU: [Upstream] Input: Add keyboard quirk for Samsung R59P/R60P/R61P laptops

From: Keng-Yu Lin
Date: Wed Sep 09 2009 - 05:20:48 EST


OriginalAuthor: Moiseev Vladimir <cdb@xxxxxxxxxxxx>, Alexander Huhlaev <sancheolz@xxxxxxxxx>
BugLink: http://bugs.launchpad.net/bugs/253874

Add quirk for Samsung R59P/R60P/R61P to make the hotkeys work

Signed-off-by: Keng-Yu Lin <keng-yu.lin@xxxxxxxxxxxxx>
---
drivers/input/keyboard/atkbd.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
index 8066924..941f845 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
@@ -1615,6 +1615,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_fixup,
+ .driver_data = atkbd_samsung_keymap_fixup,
+ },
+ {
.ident = "Fujitsu Amilo PA 1510",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"),
--
1.6.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/