Skip to contentSkip to conversation

asus-nb-wmi: Add wapf4 quirk for X200MA

PATCH Superseded Dmitry Tunin 2 participants 2 messages May 29, 2015 – Jun 4, 2015

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 asus-nb-wmi: Add wapf4 quirk for X200MA

Wireless is not blocked without this quirk, but wireless LED does not follow wireless status.
With this quirk it accurately reflects if wireless is on or off.

---
 drivers/platform/x86/asus-nb-wmi.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/platform/x86/asus-nb-wmi.c +9 -0
index abdaed3..bc86a71 100644
@@ -101,6 +101,15 @@ static const struct dmi_system_id asus_quirks[] = {
 	},
 	{
 		.callback = dmi_matched,
+		.ident = "ASUSTeK COMPUTER INC. X200MA",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "X200MA"),
+		},
+		.driver_data = &quirk_asus_wapf4,
+	},
+	{
+		.callback = dmi_matched,
 		.ident = "ASUSTeK COMPUTER INC. X401U",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
Signature · 1 line
1.9.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 31 lines · Dmitry Tunin

Wireless is not blocked without this quirk, but wireless LED does not follow wireless status.
With this quirk it accurately reflects if wireless is on or off.

---
 drivers/platform/x86/asus-nb-wmi.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/platform/x86/asus-nb-wmi.c +9 -1
index abdaed3..bc86a71 100644
@@ -101,6 +101,15 @@ static const struct dmi_system_id asus_quirks[] = {
        },
        {
                .callback = dmi_matched,
+               .ident = "ASUSTeK COMPUTER INC. X200MA",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "X200MA"),
+               },
+               .driver_data = &quirk_asus_wapf4,
+       },
+       {
+               .callback = dmi_matched,
                .ident = "ASUSTeK COMPUTER INC. X401U",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
--
Quoted 2 lines

1.9.1

Signature · 2 lines
Corentin Chary
http://xf.iksaif.net