From: Giuseppe <g.mazzotta@iragan.com>
To: mitr@volny.cz, stable@kernel.org
Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org
Subject: [PATCH 1/1] wistron_btns DMI info to recognize Maxdata Pro 7000 notebooks
Date: Sun, 05 Jul 2009 19:19:02 +0200 [thread overview]
Message-ID: <4A50E086.5090206@iragan.com> (raw)
This patch adds DMI recognition information to automatically load the
correct layout for the Maxdata Pro 7000X/DX notebook models. Such
notebooks are clones of Fujitsu Amilo V2000, the hook for the v2000 is
being used and I have tested that perfectly works.
The immediate result of integrating this patch is that the five special
buttons will work on these specific notebook models and that the RF
killswitch will not be activated after suspend. This patch definitively
obsoletes the fsam7400 module which I was still needing to enable wifi
and to fix the RF killswitch suspend problem; in the current 2.6.30
kernel it is necessary to load the wistron_btns module with options
'force=1 keymap=1557/MS2141', which was not anyway a complete workaround.
Signed-off-by: Giuseppe Mazzotta <g.mazzotta@iragan.com>
--- linux-2.6.30/drivers/input/misc/wistron_btns.c.orig 2009-07-05
14:07:10.000000000 +0200
+++ linux-2.6.30/drivers/input/misc/wistron_btns.c 2009-07-05
14:07:36.000000000 +0200
@@ -646,6 +646,15 @@ static struct dmi_system_id dmi_ids[] __
},
{
.callback = dmi_matched,
+ .ident = "Maxdata Pro 7000 DX",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "MAXDATA"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Pro 7000"),
+ },
+ .driver_data = keymap_fs_amilo_pro_v2000
+ },
+ {
+ .callback = dmi_matched,
.ident = "Fujitsu N3510",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
next reply other threads:[~2009-07-05 17:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-05 17:19 Giuseppe [this message]
2009-07-13 4:03 ` [PATCH 1/1] wistron_btns DMI info to recognize Maxdata Pro 7000 notebooks Dmitry Torokhov
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=4A50E086.5090206@iragan.com \
--to=g.mazzotta@iragan.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mitr@volny.cz \
--cc=stable@kernel.org \
/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 NNTP newsgroup(s).