]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
platform/x86: ideapad-laptop: Add Y530-I5ICH-1060 to no_hw_rfkill list
authorMark Levedahl <mlevedahl@gmail.com>
Sat, 9 Feb 2019 22:22:44 +0000 (17:22 -0500)
committerDarren Hart (VMware) <dvhart@infradead.org>
Sat, 23 Feb 2019 17:20:49 +0000 (09:20 -0800)
Commit 0252894f53fc2693672308 added the Legion Y530 to the no_hw_rfkill
list, but missed a Y530 variant using the nvidia 1060 graphics card.
I have had to blacklist ideapad-laptop as a result to get Wi-Fi working.

dmidecode info:

Handle 0x0001, DMI type 1, 27 bytes
System Information
    Manufacturer: LENOVO
    Product Name: 81LB
    Version: Lenovo Legion Y530-15ICH-1060
    Serial Number: <snip>
    UUID: <snip>
    Wake-up Type: Power Switch
    SKU Number: LENOVO_MT_81LB_BU_idea_FM_Legion Y530-15ICH-1060
    Family: Legion Y530-15ICH-1060

Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/ideapad-laptop.c

index 4bd9e70975e9094a24941f79c5e2abae3dc39109..cde84bdf63ff77de01090ea0ddb99c6f230218be 100644 (file)
@@ -1160,6 +1160,13 @@ static const struct dmi_system_id no_hw_rfkill_list[] = {
                        DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Legion Y530-15ICH"),
                },
        },
+       {
+               .ident = "Lenovo Legion Y530-15ICH-1060",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Legion Y530-15ICH-1060"),
+               },
+       },
        {
                .ident = "Lenovo Legion Y720-15IKB",
                .matches = {