Skip to contentSkip to conversation

acer-wmi: support Lenovo ideapad S205 10382JG wifi switch

PATCH In review Lee, Chun-Yi 3 participants 3 messages Aug 30, 2012 – Aug 31, 2012

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

PATCH 1/1 acer-wmi: support Lenovo ideapad S205 10382JG wifi switch

Found another Lenovo ideapad S205 the product name is 10382JG, 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-10382JG 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 Ivo Anjo <[email protected]>
Cc Carlos Corbacho <[email protected]>
Cc Matthew Garrett <[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 3782e1c..00d8c39 100644
@@ -507,6 +507,15 @@ static struct dmi_system_id acer_quirks[] = {
 		},
 		.driver_data = &quirk_fujitsu_amilo_li_1718,
 	},
+	{
+		.callback = dmi_matched,
+		.ident = "Lenovo Ideapad S205-10382JG",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "10382JG"),
+		},
+		.driver_data = &quirk_lenovo_ideapad_s205,
+	},
 	{}
 };
 
Signature · 1 line
1.6.0.2
#1 lore raw
Quoted 12 lines · Chun-Yi

Found another Lenovo ideapad S205 the product name is 10382JG, 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-10382JG 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
Quoted 7 lines
Cc Ivo Anjo <[email protected]>
Cc Carlos Corbacho <[email protected]>
Cc Matthew Garrett <[email protected]>
---
 drivers/platform/x86/acer-wmi.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

<formletter>

This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly.

</formletter>

maintainer
#2 lore raw

Hi Greg,

於 四,2012-08-30 於 14:13 -0700,Greg KH 提到:

Quoted 22 lines · Chun-Yi
Quoted 12 lines

Found another Lenovo ideapad S205 the product name is 10382JG, 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-10382JG 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
Quoted 7 lines
Cc Ivo Anjo <[email protected]>
Cc Carlos Corbacho <[email protected]>
Cc Matthew Garrett <[email protected]>
---
 drivers/platform/x86/acer-wmi.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
Quoted 8 lines

<formletter>

This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly.

</formletter>

Thanks for your review and suggestion. I will re-send patch to stable kernel mail after this patch merged to platform tree.

Thanks a lot!
Joey Lee