Skip to contentSkip to conversation

acer-wmi: support Lenovo ideapad S205 1038DPG wifi switch

PATCH New Lee, Chun-Yi 1 participant 1 message Oct 23, 2012

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

PATCH 1/1 acer-wmi: support Lenovo ideapad S205 1038DPG wifi switch

Found another Lenovo ideapad S205 the product name is 1038DPG, it has a 0x78 EC register exposes the state of wifi hardware switch on the machine.

So, add this patch to support Lenovo ideapad S205-1038DPG wifi hardware switch in acer-wmi driver.

Evidently the Ideapad S205 is just a model name on the market, but they have totally different product name in DMI table.

Reference: bko#43007

        https://bugzilla.kernel.org/show_bug.cgi?id=43007
Cc Carlos Corbacho <[email protected]>
Cc Matthew Garrett <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Cc Corentin Chary <[email protected]>
Cc Thomas Renninger <[email protected]>
---
 drivers/platform/x86/acer-wmi.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
drivers/platform/x86/acer-wmi.c +9 -0
index 6365aeb..30db533 100644
@@ -519,6 +519,15 @@ static struct dmi_system_id acer_quirks[] = {
 		},
 		.driver_data = &quirk_lenovo_ideapad_s205,
 	},
+	{
+		.callback = dmi_matched,
+		.ident = "Lenovo Ideapad S205-1038DPG",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "1038DPG"),
+		},
+		.driver_data = &quirk_lenovo_ideapad_s205,
+	},
 	{}
 };
 
Signature · 1 line
1.6.0.2