Discussion:
[PATCH 1/1] UBUNTU: SAUCE: switch the Asus Pundit P1-AH2 to old acpi sleep ordering
Andy Whitcroft
2009-02-10 16:06:21 UTC
Permalink
Bug: #327267

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 at canonical.com>
---
drivers/acpi/sleep/main.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/drivers/acpi/sleep/main.c b/drivers/acpi/sleep/main.c
index 28a691c..d77800a 100644
--- a/drivers/acpi/sleep/main.c
+++ b/drivers/acpi/sleep/main.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
Stefan Bader
2009-02-10 16:16:17 UTC
Permalink
Post by Andy Whitcroft
Bug: #327267
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 at canonical.com>
---
drivers/acpi/sleep/main.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/acpi/sleep/main.c b/drivers/acpi/sleep/main.c
index 28a691c..d77800a 100644
--- a/drivers/acpi/sleep/main.c
+++ b/drivers/acpi/sleep/main.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 */
ACK
--
When all other means of communication fail, try words!
Tim Gardner
2009-02-10 16:19:24 UTC
Permalink
Seems that the the Asustek P1AH2 system (M2N8L motherboard) needs to use
ACPI 1.0 sleep ordering. Add a quirk to select this automatically.
This has been tested by the submitter. Planning on pushing this upstream.
-apw
UBUNTU: SAUCE: switch the Asus Pundit P1-AH2 to old acpi sleep
ordering
drivers/acpi/sleep/main.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
ACK
--
Tim Gardner tim.gardner at canonical.com
Andy Whitcroft
2009-02-11 18:29:30 UTC
Permalink
Applied to Jaunty.

-apw

Loading...