suspend: switch the Asus Pundit P1-AH2 to old ACPI sleep ordering
authorAndy Whitcroft <apw@canonical.com>
Wed, 11 Feb 2009 18:11:22 +0000 (18:11 +0000)
committerLen Brown <len.brown@intel.com>
Mon, 16 Mar 2009 04:35:28 +0000 (00:35 -0400)
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>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/sleep.c

index 519266654f06cf60bbd6712ee51836abb22fe198..3ca98686f28b837dbbcb461f77f59009c3ae1644 100644 (file)
@@ -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 */