Skip to contentSkip to conversation

platform/x86/asus-nb-wmi.c: Add X45U quirk

PATCH Superseded Marcos Paulo de Souza 2 participants 4 messages Nov 8, 2016 – Nov 14, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 platform/x86/asus-nb-wmi.c: Add X45U quirk

Without this patch, the Asus X45U wireless card can't be turned on (hard-blocked), but after a suspend/resume it just starts working.

Following this bug report[1], there are other cases like this one, but this Asus is the only model that I can test.

[1] https://ubuntuforums.org/showthread.php?t=2181558

---
v2 -> v3:
Add stable version in the CC line of stable email address
v1 -> v2:
Add stable copy and specify the stable version to apply this patch

 drivers/platform/x86/asus-nb-wmi.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/platform/x86/asus-nb-wmi.c +9 -0
index 26e4cbc..6032b70 100644
@@ -175,6 +175,15 @@ static const struct dmi_system_id asus_quirks[] = {
 	},
 	{
 		.callback = dmi_matched,
+		.ident = "ASUSTeK COMPUTER INC. X45U",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "X45U"),
+		},
+		.driver_data = &quirk_asus_wapf4,
+	},
+	{
+		.callback = dmi_matched,
 		.ident = "ASUSTeK COMPUTER INC. X456UA",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
Signature · 1 line
2.7.4
#1 lore raw

ping?

Quoted 42 lines · Marcos Paulo de Souza

Without this patch, the Asus X45U wireless card can't be turned on (hard-blocked), but after a suspend/resume it just starts working.

Following this bug report[1], there are other cases like this one, but this Asus is the only model that I can test.

[1] https://ubuntuforums.org/showthread.php?t=2181558

---
v2 -> v3:
Add stable version in the CC line of stable email address
v1 -> v2:
Add stable copy and specify the stable version to apply this patch

 drivers/platform/x86/asus-nb-wmi.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/platform/x86/asus-nb-wmi.c +9 -0
index 26e4cbc..6032b70 100644
@@ -175,6 +175,15 @@ static const struct dmi_system_id asus_quirks[] = {
 	},
 	{
 		.callback = dmi_matched,
+		.ident = "ASUSTeK COMPUTER INC. X45U",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "X45U"),
+		},
+		.driver_data = &quirk_asus_wapf4,
+	},
+	{
+		.callback = dmi_matched,
 		.ident = "ASUSTeK COMPUTER INC. X456UA",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
Signature · 1 line
2.7.4
#2 lore raw
Quoted 1 line · Marcos Paulo de Souza

ping?

Please, don't do empty pings especially in top posting. I will look at this as soon as I can.

Quoted 44 lines · Marcos Paulo de Souza
Quoted 42 lines

Without this patch, the Asus X45U wireless card can't be turned on (hard-blocked), but after a suspend/resume it just starts working.

Following this bug report[1], there are other cases like this one, but this Asus is the only model that I can test.

[1] https://ubuntuforums.org/showthread.php?t=2181558

---
v2 -> v3:
Add stable version in the CC line of stable email address
v1 -> v2:
Add stable copy and specify the stable version to apply this patch

 drivers/platform/x86/asus-nb-wmi.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/platform/x86/asus-nb-wmi.c +9 -1
index 26e4cbc..6032b70 100644
@@ -175,6 +175,15 @@ static const struct dmi_system_id asus_quirks[] = {
      },
      {
              .callback = dmi_matched,
+             .ident = "ASUSTeK COMPUTER INC. X45U",
+             .matches = {
+                     DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+                     DMI_MATCH(DMI_PRODUCT_NAME, "X45U"),
+             },
+             .driver_data = &quirk_asus_wapf4,
+     },
+     {
+             .callback = dmi_matched,
              .ident = "ASUSTeK COMPUTER INC. X456UA",
              .matches = {
                      DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
--

2.7.4

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#3 lore raw
Quoted 6 lines · Andy Shevchenko
Quoted 1 line · Marcos Paulo de Souza

ping?

Please, don't do empty pings especially in top posting. I will look at this as soon as I can.

Hi Andy, my apologies. Thanks a lot for checking my patch.

Quoted 51 lines
Quoted 45 lines · Marcos Paulo de Souza
Quoted 42 lines

Without this patch, the Asus X45U wireless card can't be turned on (hard-blocked), but after a suspend/resume it just starts working.

Following this bug report[1], there are other cases like this one, but this Asus is the only model that I can test.

[1] https://ubuntuforums.org/showthread.php?t=2181558

---
v2 -> v3:
Add stable version in the CC line of stable email address
v1 -> v2:
Add stable copy and specify the stable version to apply this patch

 drivers/platform/x86/asus-nb-wmi.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/platform/x86/asus-nb-wmi.c +9 -1
index 26e4cbc..6032b70 100644
@@ -175,6 +175,15 @@ static const struct dmi_system_id asus_quirks[] = {
      },
      {
              .callback = dmi_matched,
+             .ident = "ASUSTeK COMPUTER INC. X45U",
+             .matches = {
+                     DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+                     DMI_MATCH(DMI_PRODUCT_NAME, "X45U"),
+             },
+             .driver_data = &quirk_asus_wapf4,
+     },
+     {
+             .callback = dmi_matched,
              .ident = "ASUSTeK COMPUTER INC. X456UA",
              .matches = {
                      DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
--

2.7.4

Signature · 2 lines
With Best Regards,
Andy Shevchenko