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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Zhao Yakui <yakui.zhao@xxxxxxxxx>

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 <yakui.zhao@xxxxxxxxx>
---
 drivers/acpi/bus.c |    9 +++++++++
 1 file changed, 9 insertions(+)

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"),
+		},
+	},
 	{},
 };
 


--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux