LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Michael Leun <ml@newton.leun.net>
To: mitr@volny.cz, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] wistron button support for fujitsu-siemens Amilo D88x0
Date: Mon, 5 Feb 2007 11:05:29 +0100	[thread overview]
Message-ID: <20070205110529.0e4ae6c0@xenia.leun.net> (raw)
In-Reply-To: <20070205103521.0f20779d@xenia.leun.net>

On Mon, 5 Feb 2007 10:35:21 +0100
Michael Leun <ml@newton.leun.net> wrote:

> Hello,
> 
> works just fine for me on a Amilo D8820.
> 

Posted old version of patch...

--- 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-05 10:06 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 [this message]
2007-02-06 16:37   ` Dmitry Torokhov
2007-02-06 18:43     ` Michael Leun
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=20070205110529.0e4ae6c0@xenia.leun.net \
    --to=ml@newton.leun.net \
    --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).