diff mbox

ACPI: blacklist win8 OSI for Dell Inspiron 7737

Message ID 1399277497-15298-1-git-send-email-yidi.lin@canonical.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Edward Lin May 5, 2014, 8:11 a.m. UTC
With win8 capabiltiy, the machine will boot itself immediately after shutdown command has executed.
Work around this issue by diabling win8 capcability.
This workaround also makes wireless hotkey workable.

Signed-off-by: Edward Lin <yidi.lin@canonical.com>
---
 drivers/acpi/blacklist.c |    8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox

Patch

diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c
index afec452..4fc6cf5 100644
--- a/drivers/acpi/blacklist.c
+++ b/drivers/acpi/blacklist.c
@@ -314,6 +314,14 @@  static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
 		     DMI_MATCH(DMI_PRODUCT_VERSION, "2349D15"),
 		},
 	},
+	{
+	.callback = dmi_disable_osi_win8,
+	.ident = "Dell Inspiron 7737",
+	.matches = {
+		    DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+		    DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 7737"),
+		},
+	},
 
 	/*
 	 * BIOS invocation of _OSI(Linux) is almost always a BIOS bug.