diff mbox

[v2] ACPI: blacklist win8 OSI for Dell Inspiron 7737

Message ID 1399430844-7006-1-git-send-email-yidi.lin@canonical.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Edward Lin May 7, 2014, 2:47 a.m. UTC
With win8 capabiltiy, the machine will boot itself immediately after shutdown command has executed.
Work around this issue by disabling win8 capcability.
This workaround also makes wireless hotkey work.

ChangeLog (v1 -> v2):
 - fix typos in commit message

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

Comments

Rafael J. Wysocki May 7, 2014, 11:44 p.m. UTC | #1
On Wednesday, May 07, 2014 10:47:24 AM Edward Lin wrote:
> With win8 capabiltiy, the machine will boot itself immediately after shutdown command has executed.
> Work around this issue by disabling win8 capcability.
> This workaround also makes wireless hotkey work.
> 
> ChangeLog (v1 -> v2):
>  - fix typos in commit message
> 
> Signed-off-by: Edward Lin <yidi.lin@canonical.com>

Queued up for 3.15 and -stable, thanks!

> ---
>  drivers/acpi/blacklist.c |    8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> 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.
>
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.