* [PATCH] Add wapf1 quirk for Asus X550VC
@ 2015-06-10 17:44 Dmitry Tunin
2015-06-18 21:39 ` Darren Hart
0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Tunin @ 2015-06-10 17:44 UTC (permalink / raw)
To: Corentin Chary, Darren Hart
Cc: platform-driver-x86, linux-kernel, Dmitry Tunin, stable
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@gmail.com>
Cc: stable@vger.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Add wapf1 quirk for Asus X550VC
2015-06-10 17:44 [PATCH] Add wapf1 quirk for Asus X550VC Dmitry Tunin
@ 2015-06-18 21:39 ` Darren Hart
0 siblings, 0 replies; 2+ messages in thread
From: Darren Hart @ 2015-06-18 21:39 UTC (permalink / raw)
To: Dmitry Tunin; +Cc: Corentin Chary, platform-driver-x86, linux-kernel, stable
On Wed, Jun 10, 2015 at 08:44:22PM +0300, Dmitry Tunin wrote:
> 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@gmail.com>
> Cc: stable@vger.kernel.org
Thanks Dmitry, queued.
--
Darren Hart
Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-18 21:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-10 17:44 [PATCH] Add wapf1 quirk for Asus X550VC Dmitry Tunin
2015-06-18 21:39 ` Darren Hart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox