lkml.org 
[lkml]   [2006]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH]drivers/input/misc: Added Acer TravelMate 2424NWXCi support to the wistron button interface
This patch adds Acer TravelMate 2424NWXCi support to the wistron button
interface.The key mappings are the same as the older Acer TravelMate
240. I have tested it on my new laptop and it seems to work great.

Signed-off-by: Ashutosh Naik <ashutosh.naik@gmail.com>
diff -Nurp linux-2.6.18-vanilla/drivers/input/misc/wistron_btns.c linux-2.6.18/drivers/input/misc/wistron_btns.c
--- linux-2.6.18-vanilla/drivers/input/misc/wistron_btns.c 2006-09-20 09:12:06.000000000 +0530
+++ linux-2.6.18/drivers/input/misc/wistron_btns.c 2006-09-25 10:12:23.000000000 +0530
@@ -389,6 +389,15 @@ static struct dmi_system_id dmi_ids[] __
},
.driver_data = keymap_acer_travelmate_240
},
+ {
+ .callback = dmi_matched,
+ .ident = "Acer TravelMate 2424NWXCi",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 2420"),
+ },
+ .driver_data = keymap_acer_travelmate_240
+ },
{
.callback = dmi_matched,
.ident = "AOpen 1559AS",
\
 
 \ /
  Last update: 2006-09-25 06:55    [W:0.048 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site