aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/wistron_btns.c
diff options
context:
space:
mode:
authorGiuseppe Mazzotta <g.mazzotta@iragan.com>2009-07-13 00:02:27 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-07-13 01:14:04 -0400
commite705cee427e319665969ef7ac664f3612dec8899 (patch)
tree38efd1e43e3ca5d1250df530cd46096e176299e8 /drivers/input/misc/wistron_btns.c
parenteeafa5ef6de5acf678624a21f7dba7d43ba73845 (diff)
Input: wistron_btns - recognize Maxdata Pro 7000 notebooks
This patch adds DMI 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> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/misc/wistron_btns.c')
-rw-r--r--drivers/input/misc/wistron_btns.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/input/misc/wistron_btns.c b/drivers/input/misc/wistron_btns.c
index 7c8957dd22c0..26e17a9a22eb 100644
--- a/drivers/input/misc/wistron_btns.c
+++ b/drivers/input/misc/wistron_btns.c
@@ -646,6 +646,15 @@ static struct dmi_system_id dmi_ids[] __initdata = {
646 }, 646 },
647 { 647 {
648 .callback = dmi_matched, 648 .callback = dmi_matched,
649 .ident = "Maxdata Pro 7000 DX",
650 .matches = {
651 DMI_MATCH(DMI_SYS_VENDOR, "MAXDATA"),
652 DMI_MATCH(DMI_PRODUCT_NAME, "Pro 7000"),
653 },
654 .driver_data = keymap_fs_amilo_pro_v2000
655 },
656 {
657 .callback = dmi_matched,
649 .ident = "Fujitsu N3510", 658 .ident = "Fujitsu N3510",
650 .matches = { 659 .matches = {
651 DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"), 660 DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),