Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933189AbXBFSqp (ORCPT ); Tue, 6 Feb 2007 13:46:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933200AbXBFSqo (ORCPT ); Tue, 6 Feb 2007 13:46:44 -0500 Received: from serv04.lahn.de ([213.239.197.57]:50027 "EHLO serv04.lahn.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933189AbXBFSqn (ORCPT ); Tue, 6 Feb 2007 13:46:43 -0500 Date: Tue, 6 Feb 2007 19:43:18 +0100 From: Michael Leun To: "Dmitry Torokhov" Cc: mitr@volny.cz, linux-kernel@vger.kernel.org Subject: Re: [PATCH] wistron button support for fujitsu-siemens Amilo D88x0 Message-ID: <20070206194318.1d8e1fc0@xenia.leun.net> In-Reply-To: References: <20070205103521.0f20779d@xenia.leun.net> <20070205110529.0e4ae6c0@xenia.leun.net> Organization: Not Organized X-Mailer: Sylpheed-Claws 2.5.5 (GTK+ 2.10.6; i586-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1630 Lines: 63 Hello Dmitry, On Tue, 6 Feb 2007 11:37:44 -0500 "Dmitry Torokhov" 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 --- 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/