All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] acer-wmi: support Lenovo ideapad S205 10382JG wifi switch
@ 2012-08-30  2:38 Lee, Chun-Yi
  0 siblings, 0 replies; 4+ messages in thread
From: Lee, Chun-Yi @ 2012-08-30  2:38 UTC (permalink / raw)
  To: mjg; +Cc: platform-driver-x86, Lee, Chun-Yi, Ivo Anjo, Carlos Corbacho

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 <knuckles@gmail.com>
Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
---
 drivers/platform/x86/acer-wmi.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index 3782e1c..00d8c39 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -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,
+	},
 	{}
 };
 
-- 
1.6.0.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] acer-wmi: support Lenovo ideapad S205 10382JG wifi switch
@ 2012-08-30  2:39 Lee, Chun-Yi
  2012-08-30 21:13 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Lee, Chun-Yi @ 2012-08-30  2:39 UTC (permalink / raw)
  To: mjg; +Cc: platform-driver-x86, stable, Lee, Chun-Yi, Ivo Anjo,
	Carlos Corbacho

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 <knuckles@gmail.com>
Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
---
 drivers/platform/x86/acer-wmi.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index 3782e1c..00d8c39 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -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,
+	},
 	{}
 };
 
-- 
1.6.0.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] acer-wmi: support Lenovo ideapad S205 10382JG wifi switch
  2012-08-30  2:39 [PATCH] acer-wmi: support Lenovo ideapad S205 10382JG wifi switch Lee, Chun-Yi
@ 2012-08-30 21:13 ` Greg KH
  2012-08-31  1:56   ` joeyli
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2012-08-30 21:13 UTC (permalink / raw)
  To: Lee, Chun-Yi
  Cc: mjg, platform-driver-x86, stable, Lee, Chun-Yi, Ivo Anjo,
	Carlos Corbacho

On Thu, Aug 30, 2012 at 10:39:41AM +0800, Lee, Chun-Yi wrote:
> 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 <knuckles@gmail.com>
> Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>
> Cc: Matthew Garrett <mjg@redhat.com>
> Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
> ---
>  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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] acer-wmi: support Lenovo ideapad S205 10382JG wifi switch
  2012-08-30 21:13 ` Greg KH
@ 2012-08-31  1:56   ` joeyli
  0 siblings, 0 replies; 4+ messages in thread
From: joeyli @ 2012-08-31  1:56 UTC (permalink / raw)
  To: Greg KH; +Cc: mjg, platform-driver-x86, stable, Ivo Anjo, Carlos Corbacho

Hi Greg, 

於 四,2012-08-30 於 14:13 -0700,Greg KH 提到:
> On Thu, Aug 30, 2012 at 10:39:41AM +0800, Lee, Chun-Yi wrote:
> > 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 <knuckles@gmail.com>
> > Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>
> > Cc: Matthew Garrett <mjg@redhat.com>
> > Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
> > ---
> >  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>
> 

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-08-31  2:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-30  2:39 [PATCH] acer-wmi: support Lenovo ideapad S205 10382JG wifi switch Lee, Chun-Yi
2012-08-30 21:13 ` Greg KH
2012-08-31  1:56   ` joeyli
  -- strict thread matches above, loose matches on Subject: below --
2012-08-30  2:38 Lee, Chun-Yi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.