LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Michael Leun <ml@newton.leun.net>
To: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
Cc: mitr@volny.cz, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] wistron button support for fujitsu-siemens Amilo D88x0
Date: Tue, 6 Feb 2007 19:43:18 +0100	[thread overview]
Message-ID: <20070206194318.1d8e1fc0@xenia.leun.net> (raw)
In-Reply-To: <d120d5000702060837j7382d429ned3fb5a5e47ac76b@mail.gmail.com>

Hello Dmitry,

On Tue, 6 Feb 2007 11:37:44 -0500
"Dmitry Torokhov" <dmitry.torokhov@gmail.com> wrote:

> Could you please resend your patch with "Signed-off-by: ..." line and
> I will apply it.

Yes, of course.

Wistron button support for fujitsu-siemens Amilo D88x0 - works just fine
for me on a Amilo D8820. 

Signed-off-by: Michael Leun <ml@newton.leun.net>

--- linux-2.6.20/drivers/input/misc/wistron_btns.c.orig	2007-02-04 19:44:54.000000000 +0100
+++ linux-2.6.20/drivers/input/misc/wistron_btns.c	2007-02-05 10:05:47.000000000 +0100
@@ -335,6 +335,17 @@
 	{ KE_END,  0 },
 };
 
+static struct key_entry keymap_fs_amilo_d88x0[] = {
+	{ KE_KEY, 0x01, KEY_HELP },
+	{ KE_KEY, 0x08, KEY_MUTE },
+	{ KE_KEY, 0x31, KEY_MAIL },
+	{ KE_KEY, 0x36, KEY_WWW },
+	{ KE_KEY, 0x11, KEY_PROG1 },
+	{ KE_KEY, 0x12, KEY_PROG2 },
+	{ KE_KEY, 0x13, KEY_PROG3 },
+	{ KE_END, 0 }
+};
+
 /*
  * If your machine is not here (which is currently rather likely), please send
  * a list of buttons and their key codes (reported when loading this module
@@ -413,6 +424,15 @@
 		},
 		.driver_data = keymap_wistron_ms2111
 	},
+	{
+		.callback = dmi_matched,
+		.ident = "Fujitsu Siemens Amilo D88x0",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "AMILO D"),
+		},
+		.driver_data = keymap_fs_amilo_d88x0
+	},
 	{ NULL, }
 };
 


-- 
MfG,

Michael Leun


  reply	other threads:[~2007-02-06 18:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-05  9:35 Michael Leun
2007-02-05 10:05 ` Michael Leun
2007-02-06 16:37   ` Dmitry Torokhov
2007-02-06 18:43     ` Michael Leun [this message]
2007-02-06 20:07       ` Matthew Garrett
2007-02-07  6:23         ` Michael Leun
2007-02-07  9:58           ` Matthew Garrett
2007-02-07 10:43             ` Michael Leun
2007-02-07 11:50               ` Matthew Garrett
2007-02-07 11:57               ` Andrey Panin

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=20070206194318.1d8e1fc0@xenia.leun.net \
    --to=ml@newton.leun.net \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mitr@volny.cz \
    --subject='Re: [PATCH] wistron button support for fujitsu-siemens Amilo D88x0' \
    /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

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 NNTP newsgroup(s).