From patchwork Wed Feb 11 18:11:22 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Whitcroft X-Patchwork-Id: 6704 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n1BIBRaT019545 for ; Wed, 11 Feb 2009 18:11:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754784AbZBKSL0 (ORCPT ); Wed, 11 Feb 2009 13:11:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755061AbZBKSL0 (ORCPT ); Wed, 11 Feb 2009 13:11:26 -0500 Received: from adelie.canonical.com ([91.189.90.139]:37046 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754784AbZBKSL0 (ORCPT ); Wed, 11 Feb 2009 13:11:26 -0500 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1LXJYR-0001lV-Tt; Wed, 11 Feb 2009 18:11:23 +0000 Received: from 79-70-83-26.dynamic.dsl.as9105.com ([79.70.83.26] helo=localhost.localdomain) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1LXJYR-00076Y-Og; Wed, 11 Feb 2009 18:11:23 +0000 From: Andy Whitcroft To: Len Brown Cc: linux-acpi@vger.kernel.org, Andy Whitcroft , Dustin Kirkland Subject: [PATCH 1/1] switch the Asus Pundit P1-AH2 to old acpi sleep ordering Date: Wed, 11 Feb 2009 18:11:22 +0000 Message-Id: <1234375882-5193-1-git-send-email-apw@canonical.com> X-Mailer: git-send-email 1.6.1.2.419.g0d87e Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org 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 Tested-by: Dustin Kirkland --- 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 */