linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [resend] Input: i8042 - introduce noaux dmi quirk for MSI AE2220
@ 2010-07-21 16:16 Anisse Astier
  2010-07-23 16:10 ` Dmitry Torokhov
  0 siblings, 1 reply; 4+ messages in thread
From: Anisse Astier @ 2010-07-21 16:16 UTC (permalink / raw)
  To: linux-input, Dmitry Torokhov


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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] [resend] Input: i8042 - introduce noaux dmi quirk for MSI AE2220
  2010-07-21 16:16 [PATCH] [resend] Input: i8042 - introduce noaux dmi quirk for MSI AE2220 Anisse Astier
@ 2010-07-23 16:10 ` Dmitry Torokhov
  2010-07-23 16:26   ` Anisse Astier
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Torokhov @ 2010-07-23 16:10 UTC (permalink / raw)
  To: Anisse Astier; +Cc: linux-input

Hi Anisse,

On Wed, Jul 21, 2010 at 06:16:25PM +0200, Anisse Astier wrote:
> 
> 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>

Sorry for loosing track of this, however, before we add a new type of
blacklist (which Linus did not like in the similar scenario with
MacBook) could you please send me your DSDT?

Thanks!

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

-- 
Dmitry

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] [resend] Input: i8042 - introduce noaux dmi quirk for MSI AE2220
  2010-07-23 16:10 ` Dmitry Torokhov
@ 2010-07-23 16:26   ` Anisse Astier
  2010-08-03 13:07     ` Anisse Astier
  0 siblings, 1 reply; 4+ messages in thread
From: Anisse Astier @ 2010-07-23 16:26 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input

[-- Attachment #1: Type: text/plain, Size: 645 bytes --]

On Fri, 23 Jul 2010 09:10:11 -0700, Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote :

> Hi Anisse,
> 
> On Wed, Jul 21, 2010 at 06:16:25PM +0200, Anisse Astier wrote:
> > 
> > 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>
> 
> Sorry for loosing track of this, however, before we add a new type of
> blacklist (which Linus did not like in the similar scenario with
> MacBook) could you please send me your DSDT?
> 
> Thanks!
> 

Sure, please find it in attachment.

Anisse

[-- Attachment #2: msi-ae2220-dsdt.bz2 --]
[-- Type: application/x-bzip, Size: 19092 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] [resend] Input: i8042 - introduce noaux dmi quirk for MSI AE2220
  2010-07-23 16:26   ` Anisse Astier
@ 2010-08-03 13:07     ` Anisse Astier
  0 siblings, 0 replies; 4+ messages in thread
From: Anisse Astier @ 2010-08-03 13:07 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input

Hi Dmitry,

On Fri, 23 Jul 2010 18:26:19 +0200, Anisse Astier <anisse@astier.eu> wrote :

> On Fri, 23 Jul 2010 09:10:11 -0700, Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote :
> 
> > Hi Anisse,
> > 
> > On Wed, Jul 21, 2010 at 06:16:25PM +0200, Anisse Astier wrote:
> > > 
> > > 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>
> > 
> > Sorry for loosing track of this, however, before we add a new type of
> > blacklist (which Linus did not like in the similar scenario with
> > MacBook) could you please send me your DSDT?
> > 
> > Thanks!
> > 
> 
> Sure, please find it in attachment.
> 
> Anisse

Did you learn anything from the DSDT ?

Regards,

Anisse

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-03 13:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-21 16:16 [PATCH] [resend] Input: i8042 - introduce noaux dmi quirk for MSI AE2220 Anisse Astier
2010-07-23 16:10 ` Dmitry Torokhov
2010-07-23 16:26   ` Anisse Astier
2010-08-03 13:07     ` Anisse Astier

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).