From patchwork Mon May 11 01:28:03 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhao, Yakui" X-Patchwork-Id: 22832 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 n4B1PvPr014273 for ; Mon, 11 May 2009 01:25:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756379AbZEKBZz (ORCPT ); Sun, 10 May 2009 21:25:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756342AbZEKBZz (ORCPT ); Sun, 10 May 2009 21:25:55 -0400 Received: from mga02.intel.com ([134.134.136.20]:17654 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752631AbZEKBZy (ORCPT ); Sun, 10 May 2009 21:25:54 -0400 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 10 May 2009 18:16:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.40,325,1239001200"; d="scan'208";a="411204374" Received: from yakui_zhao.sh.intel.com (HELO [10.239.36.138]) ([10.239.36.138]) by orsmga002.jf.intel.com with ESMTP; 10 May 2009 18:33:41 -0700 Subject: [PATCH]: ACPI: Add HP nc6000 into DMI power check table to disable power state check in power transition From: yakui_zhao To: lenb@kernel.org Cc: linux-acpi@vger.kernel.org Organization: Intel Open Source Technology Center Date: Mon, 11 May 2009 09:28:03 +0800 Message-Id: <1242005283.3773.136.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 (2.22.1-2.fc9) Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org From: Zhao Yakui On the HP nc6000 there exists the bogus _OFF object for the power resource, which causes that the power resource can't be turned off and then the device can't be switched to D3 state correctly. Add the HP nc6000 into DMI power check table to disable the power state check in power transistion. http://bugzilla.kernel.org/show_bug.cgi?id=13243 Signed-off-by: Zhao Yakui --- drivers/acpi/bus.c | 9 +++++++++ 1 file changed, 9 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: linux-2.6/drivers/acpi/bus.c =================================================================== --- linux-2.6.orig/drivers/acpi/bus.c 2009-05-04 08:42:43.000000000 +0800 +++ linux-2.6/drivers/acpi/bus.c 2009-05-11 08:57:49.000000000 +0800 @@ -63,6 +63,15 @@ DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies LTD"), DMI_MATCH(DMI_SYS_VENDOR, "HP Pavilion 05"), DMI_MATCH(DMI_PRODUCT_VERSION, "2001211RE101GLEND") }, NULL}, + { + .callback = set_power_nocheck, + .ident = "HP nc6000", + .matches = { + DMI_MATCH(DMI_BIOS_VENDOR, "Hewlett-Packard"), + DMI_MATCH(DMI_PRODUCT_VERSION, "F.15"), + DMI_MATCH(DMI_BOARD_NAME, "0890"), + }, + }, {}, };