Skip to contentSkip to conversation

Add Lenovo Ideapad S12 to acer blacklist

PATCH In review Lee, Chun-Yi 2 participants 2 messages Dec 30, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add Lenovo Ideapad S12 to acer blacklist

The Lenovo Ideapad S12's _WDG have GUID that matches with AMW0, it causes acer-wmi driver auto-probe when system boot but there already have ideapad-laptop driver to support Ideapad serial.
So, add Lenovo Ideapad S12 to acer blacklist to disable it.

Cc Carlos Corbacho <[email protected]>
Cc Thomas Renninger <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Cc Corentin Chary <[email protected]>
Cc Matthew Garrett <[email protected]>
---
 drivers/platform/x86/acer-wmi.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
drivers/platform/x86/acer-wmi.c +11 -0
index 28288ad..387ac7c 100644
@@ -310,6 +310,17 @@ static struct dmi_system_id __devinitdata acer_blacklist[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "AOA150"),
 		},
 	},
+	/*
+	 * The Lenovo Ideapad S12 have GUID that matches with AMW0 - disable it.
+	 * There already have ideapad-laptop driver to support Ideapad serial.
+	 */
+	{
+		.ident = "Lenovo Ideapad S12",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "20021,2959"),
+		},
+	},
 	{}
 };
 
Signature · 1 line
1.6.0.2
#1 lore raw
Quoted 4 lines · Chun-Yi

The Lenovo Ideapad S12's _WDG have GUID that matches with AMW0, it causes acer-wmi driver auto-probe when system boot but there already have ideapad-laptop driver to support Ideapad serial.
So, add Lenovo Ideapad S12 to acer blacklist to disable it.

This seems like it could be handled better. Does the interface fail, or does it merely duplicate the functionality of the ideapad driver?

Signature · 1 line
Matthew Garrett | [email protected]