diff mbox

[v2,1/2] ideapad-laptop: Add ideapad Y700-15ISK to the no_hw_rfkill DMI list

Message ID Pine.NEB.4.64.1602171614460.23053@faeroes.freeshell.org (mailing list archive)
State Changes Requested, archived
Headers show

Commit Message

John Dahlstrom Feb. 17, 2016, 10:33 p.m. UTC
Some Lenovo ideapad models lack a physical rfkill switch.
On a Lenovo ideapad Y700-15ISK, the ideapad-laptop module
would wrongly report all radios as blocked by hardware which
caused wireless network connections to fail.

Add this model without an rfkill switch to the no_hw_rfkill list.

Tested-by: John Dahlstrom <jodarom@sdf.org>
Signed-off-by: John Dahlstrom <jodarom@sdf.org>
---
  Relevant kernel versions: 4.5-rc4, 4.4.2, 4.3.5, 4.1.18, 3.18.27
  Patch changelog
   v2 split patch between Touch and non-Touch devices

  drivers/platform/x86/ideapad-laptop.c |    7 +++++++
  1 file changed, 7 insertions(+)

--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Darren Hart Feb. 18, 2016, 5:50 a.m. UTC | #1
On Wed, Feb 17, 2016 at 04:33:43PM -0600, John Dahlstrom wrote:
> Some Lenovo ideapad models lack a physical rfkill switch.
> On a Lenovo ideapad Y700-15ISK, the ideapad-laptop module
> would wrongly report all radios as blocked by hardware which
> caused wireless network connections to fail.
> 
> Add this model without an rfkill switch to the no_hw_rfkill list.
> 
> Tested-by: John Dahlstrom <jodarom@sdf.org>
> Signed-off-by: John Dahlstrom <jodarom@sdf.org>
> ---
>  Relevant kernel versions: 4.5-rc4, 4.4.2, 4.3.5, 4.1.18, 3.18.27
>  Patch changelog
>   v2 split patch between Touch and non-Touch devices

One patch was fine. Please see my feedback to the initial patch.
diff mbox

Patch

--- a/drivers/platform/x86/ideapad-laptop.c	2016-02-14 15:05:20.000000000 -0600
+++ b/drivers/platform/x86/ideapad-laptop.c	2016-02-16 03:54:48.000000000 -0600
@@ -864,4 +864,11 @@  static const struct dmi_system_id no_hw_rfkill_list[] = {
 			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo G50-30"),
 		},
+	},
+	{
+		.ident = "Lenovo ideapad Y700-15ISK",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad Y700-15ISK"),
+		},
 	},
 	{