linux-laptop.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ashutosh Naik" <ashutosh.naik@gmail.com>
To: Miloslav Trmac <mitr@volny.cz>,
	Bernhard Rosenkraenzer <bero@arklinux.org>,
	dtor@mail.ru, Andrew Morton <akpm@osdl.org>
Cc: Vojtech Pavlik <vojtech@suse.cz>,
	linux-kernel@vger.kernel.org, linux-laptop@vger.kernel.org,
	GuruPrasad <guruteck@gmail.com>
Subject: [PATCH]drivers/input/misc: Added Acer TravelMate 2424NWXCi support to the wistron button interface
Date: Mon, 25 Sep 2006 10:22:24 +0530	[thread overview]
Message-ID: <81083a450609242152p18730a09i58728bd2f092f8b6@mail.gmail.com> (raw)

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

                 reply	other threads:[~2006-09-25  4:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81083a450609242152p18730a09i58728bd2f092f8b6@mail.gmail.com \
    --to=ashutosh.naik@gmail.com \
    --cc=akpm@osdl.org \
    --cc=bero@arklinux.org \
    --cc=dtor@mail.ru \
    --cc=guruteck@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-laptop@vger.kernel.org \
    --cc=mitr@volny.cz \
    --cc=vojtech@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).