public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] switch the Asus Pundit P1-AH2 to old acpi sleep ordering
@ 2009-02-11 18:11 Andy Whitcroft
  2009-02-11 18:30 ` Dustin Kirkland
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Whitcroft @ 2009-02-11 18:11 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-acpi, Andy Whitcroft, Dustin Kirkland

Switch the Asus Pundit P1-AH2 (M2N8L motherboard) to the old ACPI 1.0
sleep ordering by default.  Without this it will not suspend/resume
correctly.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Tested-by: Dustin Kirkland <kirkland@canonical.com>
---
 drivers/acpi/sleep.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index 5192666..3ca9868 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -378,6 +378,14 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
 		DMI_MATCH(DMI_PRODUCT_NAME, "Macmini1,1"),
 		},
 	},
+	{
+	.callback = init_old_suspend_ordering,
+	.ident = "Asus Pundit P1-AH2 (M2N8L motherboard)",
+	.matches = {
+		DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTek Computer INC."),
+		DMI_MATCH(DMI_BOARD_NAME, "M2N8L"),
+		},
+	},
 	{},
 };
 #endif /* CONFIG_SUSPEND */
-- 
1.6.1.2.419.g0d87e


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

* Re: [PATCH 1/1] switch the Asus Pundit P1-AH2 to old acpi sleep ordering
  2009-02-11 18:11 [PATCH 1/1] switch the Asus Pundit P1-AH2 to old acpi sleep ordering Andy Whitcroft
@ 2009-02-11 18:30 ` Dustin Kirkland
  2009-02-22  3:28   ` Len Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Dustin Kirkland @ 2009-02-11 18:30 UTC (permalink / raw)
  To: Andy Whitcroft; +Cc: Len Brown, linux-acpi

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

On Wed, 2009-02-11 at 18:11 +0000, Andy Whitcroft wrote:
> Switch the Asus Pundit P1-AH2 (M2N8L motherboard) to the old ACPI 1.0
> sleep ordering by default.  Without this it will not suspend/resume
> correctly.
> 
> Signed-off-by: Andy Whitcroft <apw@canonical.com>
> Tested-by: Dustin Kirkland <kirkland@canonical.com>

Ack.  I've tested this and it solves this problem on this hardware.

Thanks, Andy.

> ---
>  drivers/acpi/sleep.c |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
> index 5192666..3ca9868 100644
> --- a/drivers/acpi/sleep.c
> +++ b/drivers/acpi/sleep.c
> @@ -378,6 +378,14 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
>  		DMI_MATCH(DMI_PRODUCT_NAME, "Macmini1,1"),
>  		},
>  	},
> +	{
> +	.callback = init_old_suspend_ordering,
> +	.ident = "Asus Pundit P1-AH2 (M2N8L motherboard)",
> +	.matches = {
> +		DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTek Computer INC."),
> +		DMI_MATCH(DMI_BOARD_NAME, "M2N8L"),
> +		},
> +	},
>  	{},
>  };
>  #endif /* CONFIG_SUSPEND */

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [PATCH 1/1] switch the Asus Pundit P1-AH2 to old acpi sleep ordering
  2009-02-11 18:30 ` Dustin Kirkland
@ 2009-02-22  3:28   ` Len Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Len Brown @ 2009-02-22  3:28 UTC (permalink / raw)
  To: Dustin Kirkland; +Cc: Andy Whitcroft, linux-acpi

applied

thanks,
--
Len Brown, Intel Open Source Technology Center

On Wed, 11 Feb 2009, Dustin Kirkland wrote:

> On Wed, 2009-02-11 at 18:11 +0000, Andy Whitcroft wrote:
> > Switch the Asus Pundit P1-AH2 (M2N8L motherboard) to the old ACPI 1.0
> > sleep ordering by default.  Without this it will not suspend/resume
> > correctly.
> > 
> > Signed-off-by: Andy Whitcroft <apw@canonical.com>
> > Tested-by: Dustin Kirkland <kirkland@canonical.com>
> 
> Ack.  I've tested this and it solves this problem on this hardware.
> 
> Thanks, Andy.
> 
> > ---
> >  drivers/acpi/sleep.c |    8 ++++++++
> >  1 files changed, 8 insertions(+), 0 deletions(-)
> > 
> > diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
> > index 5192666..3ca9868 100644
> > --- a/drivers/acpi/sleep.c
> > +++ b/drivers/acpi/sleep.c
> > @@ -378,6 +378,14 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
> >  		DMI_MATCH(DMI_PRODUCT_NAME, "Macmini1,1"),
> >  		},
> >  	},
> > +	{
> > +	.callback = init_old_suspend_ordering,
> > +	.ident = "Asus Pundit P1-AH2 (M2N8L motherboard)",
> > +	.matches = {
> > +		DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTek Computer INC."),
> > +		DMI_MATCH(DMI_BOARD_NAME, "M2N8L"),
> > +		},
> > +	},
> >  	{},
> >  };
> >  #endif /* CONFIG_SUSPEND */
> 

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

end of thread, other threads:[~2009-02-22  3:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-11 18:11 [PATCH 1/1] switch the Asus Pundit P1-AH2 to old acpi sleep ordering Andy Whitcroft
2009-02-11 18:30 ` Dustin Kirkland
2009-02-22  3:28   ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox