Skip to contentSkip to conversation

: ACPI: Add HP nc6000 into DMI power check table to disable power state check in power transition

PATCH NAK yakui_zhao 2 participants 2 messages May 11, 2009 – May 30, 2009 ACPI

lore
Share & tools
lore

yakui_zhao

author
#0 lore raw

PATCH 1/1 : ACPI: Add HP nc6000 into DMI power check table to disable power state check in power transition

From: Zhao Yakui <[email protected]>

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

---
 drivers/acpi/bus.c |    9 +++++++++
 1 file changed, 9 insertions(+)
drivers/acpi/bus.c +9 -0
Index: linux-2.6/drivers/acpi/bus.c
===================================================================
@@ -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"),
+		},
+	},
 	{},
 };
 
reviewer NAK
#1 lore raw

NAK
this was fixed by 19bde778c1fd2574cc020a618d7d576f260271ca "ACPI: suspend: don't let device _PS3 failure prevent suspend"

thanks,
Len Brown, Intel Open Source Technology Center