All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anisse Astier <anisse@astier.eu>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-input@vger.kernel.org
Subject: [PATCH] Input: i8042 - introduce noaux dmi quirk for MSI AE2220
Date: Tue, 23 Mar 2010 15:50:24 +0100	[thread overview]
Message-ID: <20100323155025.3a541cbd@destiny.ordissimo> (raw)
In-Reply-To: <20100322144514.45391412@destiny.ordissimo>


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>
---
Hi,

This patch is against 2.6.34-rc2 and has been tested with kernel 2.6.33.1

Regards,

Anisse


 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 ead0494..de7af20 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[] = {
 	{
@@ -857,6 +871,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.6.5.7


      reply	other threads:[~2010-03-23 14:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-19  9:34 i8042: 10 second lag/timeout with no AUX Anisse Astier
2010-03-22  4:39 ` Dmitry Torokhov
2010-03-22 13:45   ` Anisse Astier
2010-03-23 14:50     ` Anisse Astier [this message]

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=20100323155025.3a541cbd@destiny.ordissimo \
    --to=anisse@astier.eu \
    --cc=dmitry.torokhov@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.