lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 10 Jun 2015 20:44:22 +0300 From: Dmitry Tunin <hanipouspilot@...il.com> To: Corentin Chary <corentin.chary@...il.com>, Darren Hart <dvhart@...radead.org> Cc: platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org, Dmitry Tunin <hanipouspilot@...il.com>, stable@...r.kernel.org Subject: [PATCH] Add wapf1 quirk for Asus X550VC Wireless is always blocked on this device. There is no way to unblock by software or hardware. 1: asus-wlan: Wireless LAN Soft blocked: no Hard blocked: no 2: asus-bluetooth: Bluetooth Soft blocked: yes Hard blocked: no 3: phy0: Wireless LAN Soft blocked: no Hard blocked: yes With wapf=4 bluetooth unblocks but wifi stays blocked 1: asus-wlan: Wireless LAN Soft blocked: no Hard blocked: no 2: asus-bluetooth: Bluetooth Soft blocked: no Hard blocked: no 3: phy0: Wireless LAN Soft blocked: no Hard blocked: yes 7: hci0: Bluetooth Soft blocked: no Hard blocked: no Only with wapf=1 everything works OK. Signed-off-by: Dmitry Tunin <hanipouspilot@...il.com> Cc: stable@...r.kernel.org --- drivers/platform/x86/asus-nb-wmi.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c index abdaed3..cf5ba28 100644 --- a/drivers/platform/x86/asus-nb-wmi.c +++ b/drivers/platform/x86/asus-nb-wmi.c @@ -78,6 +78,10 @@ static struct quirk_entry quirk_asus_x200ca = { .wapf = 2, }; +static struct quirk_entry quirk_asus_wapf1 = { + .wapf = 1, +}; + static int dmi_matched(const struct dmi_system_id *dmi) { quirks = dmi->driver_data; @@ -191,6 +195,15 @@ static const struct dmi_system_id asus_quirks[] = { }, { .callback = dmi_matched, + .ident = "ASUSTeK COMPUTER INC. X550VC", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "X550VC"), + }, + .driver_data = &quirk_asus_wapf1, + }, + { + .callback = dmi_matched, .ident = "ASUSTeK COMPUTER INC. X551CA", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists