Skip to contentSkip to conversation

ideapad-laptop: Add another DMI entry for Yoga 900

PATCH Applied Mika Westerberg 4 participants 5 messages Oct 19, 2016 – Oct 20, 2016 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ideapad-laptop: Add another DMI entry for Yoga 900

This particular laptop has its motherboard replaced and after that, even with the latest BIOS, some DMI identification strings have become "INVALID". This includes DMI_PRODUCT_VERSION which results Wifi being blocked.

It seems that DMI_BOARD_NAME is still valid so use that as an alternative for Lenovo Yoga 900.

---
 drivers/platform/x86/ideapad-laptop.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/platform/x86/ideapad-laptop.c +7 -0
index d1a091b..d99b45e 100644
@@ -933,6 +933,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
 			DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 900"),
 		},
 	},
+	{
+		.ident = "Lenovo Yoga 900",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_BOARD_NAME, "VIUU4"),
+		},
+	},
 	{}
 };
 
Signature · 1 line
2.7.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Mika Westerberg

This particular laptop has its motherboard replaced and after that, even with the latest BIOS, some DMI identification strings have become "INVALID". This includes DMI_PRODUCT_VERSION which results Wifi being blocked.

It seems that DMI_BOARD_NAME is still valid so use that as an alternative for Lenovo Yoga 900.

Quoted 15 lines
drivers/platform/x86/ideapad-laptop.c +7 -0
@@ -933,6 +933,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
                        DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo YOGA 900"),
                },
        },
+       {
+               .ident = "Lenovo Yoga 900",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_BOARD_NAME, "VIUU4"),
+               },
+       },
        {}
 };
Signature · 2 lines
With Best Regards,
Andy Shevchenko
Applied
#2 lore raw
In reply to Mika Westerberg
Quoted 7 lines · Mika Westerberg

This particular laptop has its motherboard replaced and after that, even with the latest BIOS, some DMI identification strings have become "INVALID". This includes DMI_PRODUCT_VERSION which results Wifi being blocked.

It seems that DMI_BOARD_NAME is still valid so use that as an alternative for Lenovo Yoga 900.

Well, that stinks. We have a similar split for the Yoga 2 11/13/Pro.

Applied.

Signature · 2 lines
Darren Hart
Intel Open Source Technology Center
#3 lore raw
Quoted 6 lines · Darren Hart
Quoted 5 lines · Mika Westerberg

This particular laptop has its motherboard replaced and after that, even with the latest BIOS, some DMI identification strings have become "INVALID". This includes DMI_PRODUCT_VERSION which results Wifi being blocked.

Quoted 7 lines
Quoted 2 lines

It seems that DMI_BOARD_NAME is still valid so use that as an alternative for Lenovo Yoga 900.

Well, that stinks. We have a similar split for the Yoga 2 11/13/Pro.

Applied.

Hi Mika,

Could you post output of acpidump and cat /sys/class/dmi/id/modalias for record please?

Thanks a lot.

--
Ike Panhc

#4 lore raw
Quoted 10 lines · Ike Panhc
Quoted 9 lines · Darren Hart
Quoted 7 lines · Mika Westerberg

This particular laptop has its motherboard replaced and after that, even with the latest BIOS, some DMI identification strings have become "INVALID". This includes DMI_PRODUCT_VERSION which results Wifi being blocked.

It seems that DMI_BOARD_NAME is still valid so use that as an alternative for Lenovo Yoga 900.

Quoted 9 lines
Quoted 4 lines

Well, that stinks. We have a similar split for the Yoga 2 11/13/Pro.

Applied.

Hi Mika,

Could you post output of acpidump and cat /sys/class/dmi/id/modalias for record please?

Here it is:

dmi:bvnLENOVO:bvrC6CN37WW:bd03/01/2016:svnLENOVO:pnINVALID:pvrINVALID:rvnLENOVO:rnVIUU4:rvrSDK0K17763WIN:cvnLENOVO:ct10:cvrINVALID: