From fb9ca2e23f14eb81009fbd9e8f71322704c80f94 Mon Sep 17 00:00:00 2001 From: JohnCramer66 <43928273+JohnCramer66@users.noreply.github.com> Date: Fri, 3 May 2019 21:58:03 +0200 Subject: [PATCH] Ideapad S205 has a hardware switch but den ACPI driver reads the hardware state wrong, so the wifi is hard blocked and not working. Instead of adding hundreds of exceptions of lenovo laptops, why not adding a adding a switch for loading the module with wifi hardware state unblocked? --- drivers/platform/x86/ideapad-laptop.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index c53ae86b59c795..f6999ccb65aa46 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c @@ -985,6 +985,13 @@ static void ideapad_wmi_notify(u32 value, void *context) * report all radios as hardware-blocked. */ static const struct dmi_system_id no_hw_rfkill_list[] = { + { + .ident = "Lenovo Ideapad S205", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "Ideapad S205"), + }, + }, { .ident = "Lenovo RESCUER R720-15IKBN", .matches = {