LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] ideapad_laptop: Lenovo G50-30 fix rfkill always reports wireless blocked
@ 2014-11-27 16:39 Dmitry Tunin
  2014-12-08 17:53 ` Dmitry Tunin
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Tunin @ 2014-11-27 16:39 UTC (permalink / raw)
  To: platform-driver-x86; +Cc: stable, linux-kernel

Rfkill always shows wireless blocked unless ideapad_laptop is blacklisted.
Add a quirk.

Cc: stable@vger.kernel.org
BugLink:https://bugs.launchpad.net/bugs/1397021
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.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 ed494f3..9958de6 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -844,6 +844,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
  			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 3 Pro-1370"),
  		},
  	},
+	{
+		.ident = "Lenovo G50-30",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G50-30"),
+		},
+	},
  	{}
  };
  
-- 
1.9.1

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

* Re: [PATCH] ideapad_laptop: Lenovo G50-30 fix rfkill always reports wireless blocked
  2014-11-27 16:39 [PATCH] ideapad_laptop: Lenovo G50-30 fix rfkill always reports wireless blocked Dmitry Tunin
@ 2014-12-08 17:53 ` Dmitry Tunin
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Tunin @ 2014-12-08 17:53 UTC (permalink / raw)
  To: platform-driver-x86; +Cc: linux-kernel, stable

Is anything wrong with this patch?
It was made against last mainline kernel at the moment.
If a patch against linux-next needed, I can make it.
Without this patch wireless is always blocked.

Regards,

Dmitry.

27.11.2014 19:39, Dmitry Tunin пишет:
> Rfkill always shows wireless blocked unless ideapad_laptop is blacklisted.
> Add a quirk.
>
> Cc: stable@vger.kernel.org
> BugLink:https://bugs.launchpad.net/bugs/1397021
> Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.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 ed494f3..9958de6 100644
> --- a/drivers/platform/x86/ideapad-laptop.c
> +++ b/drivers/platform/x86/ideapad-laptop.c
> @@ -844,6 +844,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
>               DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 3 Pro-1370"),
>           },
>       },
> +    {
> +        .ident = "Lenovo G50-30",
> +        .matches = {
> +            DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> +            DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G50-30"),
> +        },
> +    },
>       {}
>   };
>

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

end of thread, other threads:[~2014-12-08 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-27 16:39 [PATCH] ideapad_laptop: Lenovo G50-30 fix rfkill always reports wireless blocked Dmitry Tunin
2014-12-08 17:53 ` Dmitry Tunin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).