Re: [PATCH] ideapad-laptop: Add another DMI entry for Yoga 900

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 19, 2016 at 1:27 PM, Mika Westerberg
<mika.westerberg@xxxxxxxxxxxxxxx> wrote:
> 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.
>
> Signed-off-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>

Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxxxxxxxx>

> --- a/drivers/platform/x86/ideapad-laptop.c
> +++ b/drivers/platform/x86/ideapad-laptop.c
> @@ -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"),
> +               },
> +       },
>         {}
>  };

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



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux