mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH]drivers/input/misc: Added Acer TravelMate 2424NWXCi support to the wistron button interface
@ 2006-09-25  4:52 Ashutosh Naik
  0 siblings, 0 replies; only message in thread
From: Ashutosh Naik @ 2006-09-25  4:52 UTC (permalink / raw)
  To: Miloslav Trmac, Bernhard Rosenkraenzer, dtor, Andrew Morton
  Cc: Vojtech Pavlik, linux-kernel, linux-laptop, GuruPrasad

[-- Attachment #1: Type: text/plain, Size: 264 bytes --]

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>

[-- Attachment #2: acer-2424NWXCi-patch.txt --]
[-- Type: text/plain, Size: 716 bytes --]

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",

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-25  4:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-25  4:52 [PATCH]drivers/input/misc: Added Acer TravelMate 2424NWXCi support to the wistron button interface Ashutosh Naik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®