Skip to contentSkip to conversation

drivers/input/misc: Added Acer TravelMate 2424NWXCi support to the wistron button interface

PATCH New Ashutosh Naik 1 participant 1 message Sep 25, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

drivers/input/misc/wistron_btns.c +9 -0
diff -Nurp linux-2.6.18-vanilla/drivers/input/misc/wistron_btns.c linux-2.6.18/drivers/input/misc/wistron_btns.c
@@ -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",