From: Andy Whitcroft <apw@canonical.com>
To: Len Brown <lenb@kernel.org>
Cc: linux-acpi@vger.kernel.org, Andy Whitcroft <apw@canonical.com>,
Dustin Kirkland <kirkland@canonical.com>
Subject: [PATCH 1/1] switch the Asus Pundit P1-AH2 to old acpi sleep ordering
Date: Wed, 11 Feb 2009 18:11:22 +0000 [thread overview]
Message-ID: <1234375882-5193-1-git-send-email-apw@canonical.com> (raw)
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
next reply other threads:[~2009-02-11 18:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-11 18:11 Andy Whitcroft [this message]
2009-02-11 18:30 ` [PATCH 1/1] switch the Asus Pundit P1-AH2 to old acpi sleep ordering Dustin Kirkland
2009-02-22 3:28 ` Len Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1234375882-5193-1-git-send-email-apw@canonical.com \
--to=apw@canonical.com \
--cc=kirkland@canonical.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox