All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] platform/x86: ideapad-laptop: Add IdeaPad V310-14ISK to no_hw_rfkill
@ 2017-07-06  9:22 Bin Li
  2017-07-06 11:48 ` Andy Shevchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Bin Li @ 2017-07-06  9:22 UTC (permalink / raw)
  To: platform-driver-x86; +Cc: dvhart, andy, libin.charles

Like other Lenovo models the IdeaPad V310-14ISK does not have an hw
rfkill switch. This results in hard-blocked radios after boot, resulting
in always blocked radios rendering them unusable.

Add the IdeaPad V310-14ISK to the no_hw_rfkill DMI list and allows using
the built-in radios.

Signed-off-by: Bin Li <bin.li@canonical.com>
---
 drivers/platform/x86/ideapad-laptop.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
index 24ca9fb..8336af4 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -869,6 +869,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
 		},
 	},
 	{
+		.ident = "Lenovo V310-14ISK",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo V310-14ISK"),
+		},
+	},
+	{
 		.ident = "Lenovo V310-15ISK",
 		.matches = {
 		        DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
-- 
2.7.4

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

* Re: [PATCH v3] platform/x86: ideapad-laptop: Add IdeaPad V310-14ISK to no_hw_rfkill
  2017-07-06  9:22 [PATCH v3] platform/x86: ideapad-laptop: Add IdeaPad V310-14ISK to no_hw_rfkill Bin Li
@ 2017-07-06 11:48 ` Andy Shevchenko
  2017-07-06 11:50   ` Andy Shevchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Shevchenko @ 2017-07-06 11:48 UTC (permalink / raw)
  To: Bin Li; +Cc: Platform Driver, dvhart, Andy Shevchenko, libin.charles

On Thu, Jul 6, 2017 at 12:22 PM, Bin Li <bin.li@canonical.com> wrote:
> Like other Lenovo models the IdeaPad V310-14ISK does not have an hw
> rfkill switch. This results in hard-blocked radios after boot, resulting
> in always blocked radios rendering them unusable.
>
> Add the IdeaPad V310-14ISK to the no_hw_rfkill DMI list and allows using
> the built-in radios.

Pushed to testing, thanks!

>
> Signed-off-by: Bin Li <bin.li@canonical.com>
> ---
>  drivers/platform/x86/ideapad-laptop.c | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
> index 24ca9fb..8336af4 100644
> --- a/drivers/platform/x86/ideapad-laptop.c
> +++ b/drivers/platform/x86/ideapad-laptop.c
> @@ -869,6 +869,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
>                 },
>         },
>         {
> +               .ident = "Lenovo V310-14ISK",
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> +                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo V310-14ISK"),
> +               },
> +       },
> +       {
>                 .ident = "Lenovo V310-15ISK",
>                 .matches = {
>                         DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> --
> 2.7.4
>



-- 
With Best Regards,
Andy Shevchenko

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

* Re: [PATCH v3] platform/x86: ideapad-laptop: Add IdeaPad V310-14ISK to no_hw_rfkill
  2017-07-06 11:48 ` Andy Shevchenko
@ 2017-07-06 11:50   ` Andy Shevchenko
  2017-07-06 16:01     ` Bin Li
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Shevchenko @ 2017-07-06 11:50 UTC (permalink / raw)
  To: Bin Li; +Cc: Platform Driver, dvhart, Andy Shevchenko, libin.charles

On Thu, Jul 6, 2017 at 2:48 PM, Andy Shevchenko
<andy.shevchenko@gmail.com> wrote:
> On Thu, Jul 6, 2017 at 12:22 PM, Bin Li <bin.li@canonical.com> wrote:
>> Like other Lenovo models the IdeaPad V310-14ISK does not have an hw
>> rfkill switch. This results in hard-blocked radios after boot, resulting
>> in always blocked radios rendering them unusable.
>>
>> Add the IdeaPad V310-14ISK to the no_hw_rfkill DMI list and allows using
>> the built-in radios.
>
> Pushed to testing, thanks!

Ah, sorry, have to remove it. We already have a record done by commit
710c059c248a
("platform/x86: ideapad-laptop: Add several models to no_hw_rfkill")


-- 
With Best Regards,
Andy Shevchenko

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

* Re: [PATCH v3] platform/x86: ideapad-laptop: Add IdeaPad V310-14ISK to no_hw_rfkill
  2017-07-06 11:50   ` Andy Shevchenko
@ 2017-07-06 16:01     ` Bin Li
  0 siblings, 0 replies; 4+ messages in thread
From: Bin Li @ 2017-07-06 16:01 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: Bin Li, Platform Driver, dvhart, Andy Shevchenko

Andy,

 Yes, I also found it in mailing list, thanks a lot!
Sincerely Yours,

Bin Li (李彬)

http://www.bjgug.org/


On Thu, Jul 6, 2017 at 7:50 PM, Andy Shevchenko
<andy.shevchenko@gmail.com> wrote:
> On Thu, Jul 6, 2017 at 2:48 PM, Andy Shevchenko
> <andy.shevchenko@gmail.com> wrote:
>> On Thu, Jul 6, 2017 at 12:22 PM, Bin Li <bin.li@canonical.com> wrote:
>>> Like other Lenovo models the IdeaPad V310-14ISK does not have an hw
>>> rfkill switch. This results in hard-blocked radios after boot, resulting
>>> in always blocked radios rendering them unusable.
>>>
>>> Add the IdeaPad V310-14ISK to the no_hw_rfkill DMI list and allows using
>>> the built-in radios.
>>
>> Pushed to testing, thanks!
>
> Ah, sorry, have to remove it. We already have a record done by commit
> 710c059c248a
> ("platform/x86: ideapad-laptop: Add several models to no_hw_rfkill")
>
>
> --
> With Best Regards,
> Andy Shevchenko

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

end of thread, other threads:[~2017-07-06 16:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-06  9:22 [PATCH v3] platform/x86: ideapad-laptop: Add IdeaPad V310-14ISK to no_hw_rfkill Bin Li
2017-07-06 11:48 ` Andy Shevchenko
2017-07-06 11:50   ` Andy Shevchenko
2017-07-06 16:01     ` Bin Li

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.