Skip to contentSkip to conversation

platform/x86: ideapad-laptop: Add IdeaPad V310-14ISK to no_hw_rfkill

PATCH In review Bin Li 3 participants 4 messages Jul 6, 2017 x86 platform drivers

lore
Share & tools
lore

Bin Li

author
#0 lore raw

PATCH v3 1/1 platform/x86: ideapad-laptop: Add IdeaPad V310-14ISK to no_hw_rfkill

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.

---
 drivers/platform/x86/ideapad-laptop.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/platform/x86/ideapad-laptop.c +7 -0
index 24ca9fb..8336af4 100644
@@ -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"),
Signature · 1 line
2.7.4
#1 lore raw
Quoted 6 lines · Bin Li

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!

Quoted 27 lines
---
 drivers/platform/x86/ideapad-laptop.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/platform/x86/ideapad-laptop.c +7 -1
index 24ca9fb..8336af4 100644
@@ -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

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#2 lore raw
Quoted 9 lines · Andy Shevchenko
Quoted 6 lines · Bin Li

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")

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#3 lore raw

Andy,

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

Bin Li (李彬)

http://www.bjgug.org/

Quoted 20 lines · Andy Shevchenko
Quoted 9 lines · Andy Shevchenko
Quoted 6 lines · Bin Li

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