switch the Asus Pundit P1-AH2 to old acpi sleep ordering
PATCH 1/1 switch the Asus Pundit P1-AH2 to old acpi sleep ordering
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 <[email protected]>
Tested-by Dustin Kirkland <[email protected]>
--- drivers/acpi/sleep.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
drivers/acpi/sleep.c +8 -0
@@ -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 */
Signature · 1 line
1.6.1.2.419.g0d87e
Quoted 6 lines · Andy Whitcroft
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 <[email protected]>Tested-by Dustin Kirkland <[email protected]>
Ack. I've tested this and it solves this problem on this hardware.
Thanks, Andy.
Quoted 23 lines
--- drivers/acpi/sleep.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)drivers/acpi/sleep.c +8
-0@@ -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 */
applied
thanks,
--
Len Brown, Intel Open Source Technology Center
Quoted 36 lines · Dustin Kirkland
Quoted 6 lines · Andy Whitcroft
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 <[email protected]>Tested-by Dustin Kirkland <[email protected]>Ack. I've tested this and it solves this problem on this hardware.
Thanks, Andy.
Quoted 23 lines
--- drivers/acpi/sleep.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)drivers/acpi/sleep.c +8
-0@@ -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 */