[PATCH] ACPI / blacklist: disable Win8 mode for ThinkPad X201 and Latitude E6230

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

 



Both ThinkPad X201 and Latitude E6230 have problems under Win8 mode,
so blacklist Win8 mode for them.

Reference: https://bugzilla.kernel.org/show_bug.cgi?id=60697
Reported-and-tested-by: Jeffery To <jeffery.to@xxxxxxxxx>
Reported-and-tested-by: Wouter Depypere <wouter.depypere@xxxxxxxx>
Cc: 3.8 and above <stable@xxxxxxxxxxxxxxx>
Signed-off-by: Aaron Lu <aaron.lu@xxxxxxxxx>
---
 drivers/acpi/blacklist.c | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c
index 05ee8f61bfb5..97a8e395f72e 100644
--- a/drivers/acpi/blacklist.c
+++ b/drivers/acpi/blacklist.c
@@ -324,6 +324,32 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
 	},
 
 	/*
+	 * The bluetooth functionality is unconditionally enabled
+	 * after a S3 cycle on Thinkpad X201 under Win8 mode.
+	 */
+	{
+	.callback = dmi_disable_osi_win8,
+	.ident = "ThinkPad X201",
+	.matches = {
+		     DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+		     DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X201"),
+		},
+	},
+
+	/*
+	 * The hardware switch for enable/disable wifi on
+	 * Dell Latitude E6230 is broken under Win8 mode.
+	 */
+	{
+	.callback = dmi_disable_osi_win8,
+	.ident = "Dell Latitude E6230",
+	.matches = {
+		     DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+		     DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6230"),
+		},
+	},
+
+	/*
 	 * BIOS invocation of _OSI(Linux) is almost always a BIOS bug.
 	 * Linux ignores it, except for the machines enumerated below.
 	 */
-- 
1.8.3.1

--
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