Skip to contentSkip to conversation

ideapad_laptop: Lenovo G50-30 fix rfkill always reports wireless blocked

PATCH In review Dmitry Tunin 1 participant 2 messages Nov 27, 2014 – Dec 8, 2014

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

PATCH 1/1 ideapad_laptop: Lenovo G50-30 fix rfkill always reports wireless blocked

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

---
 drivers/platform/x86/ideapad-laptop.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/platform/x86/ideapad-laptop.c +7 -0
index ed494f3..9958de6 100644
@@ -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"),
+		},
+	},
 	{}
 };
 
Signature · 1 line
1.9.1
#1 lore raw

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 пишет:

Quoted 28 lines

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

---
  drivers/platform/x86/ideapad-laptop.c | 7 +++++++
  1 file changed, 7 insertions(+)
drivers/platform/x86/ideapad-laptop.c +7 -0
index ed494f3..9958de6 100644
@@ -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"),
+        },
+    },
      {}
  };