Linux Input/HID development
 help / color / mirror / Atom feed
From: Anisse Astier <anisse@astier.eu>
To: linux-input@vger.kernel.org, Dmitry Torokhov <dtor@mail.ru>
Subject: [PATCH] [resend] Input: i8042 - introduce noaux dmi quirk for MSI AE2220
Date: Wed, 21 Jul 2010 18:16:25 +0200	[thread overview]
Message-ID: <20100721181625.286f147c@destiny.ordissimo> (raw)


This computer does no have an external PS2 port, and booting without
i8042.noaux induces a 10 second boot delay, until the AUX port detection
timeouts.

Signed-off-by: Anisse Astier <anisse@astier.eu>
---
 drivers/input/serio/i8042-x86ia64io.h |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
index 6168469..f5f81e2 100644
--- a/drivers/input/serio/i8042-x86ia64io.h
+++ b/drivers/input/serio/i8042-x86ia64io.h
@@ -479,6 +479,20 @@ static const struct dmi_system_id __initconst i8042_dmi_reset_table[] = {
 	{ }
 };
 
+static const struct dmi_system_id __initconst i8042_dmi_noaux_table[] = {
+	{
+		/*
+		 * MSI AE2220
+		 * Timeout (10 sec) at boot if not passed noaux
+		 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "MICRO-STAR INTERNATIONAL CO., LTD"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "MS-6657"),
+		},
+	},
+	{ }
+};
+
 #ifdef CONFIG_PNP
 static const struct dmi_system_id __initconst i8042_dmi_nopnp_table[] = {
 	{
@@ -871,6 +885,9 @@ static int __init i8042_platform_init(void)
 
 	if (dmi_check_system(i8042_dmi_dritek_table))
 		i8042_dritek = true;
+
+	if (dmi_check_system(i8042_dmi_noaux_table))
+		i8042_noaux = true;
 #endif /* CONFIG_X86 */
 
 	return retval;
-- 
1.7.0.6


             reply	other threads:[~2010-07-21 16:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-21 16:16 Anisse Astier [this message]
2010-07-23 16:10 ` [PATCH] [resend] Input: i8042 - introduce noaux dmi quirk for MSI AE2220 Dmitry Torokhov
2010-07-23 16:26   ` Anisse Astier
2010-08-03 13:07     ` Anisse Astier

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=20100721181625.286f147c@destiny.ordissimo \
    --to=anisse@astier.eu \
    --cc=dtor@mail.ru \
    --cc=linux-input@vger.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