All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] platform/x86/asus-nb-wmi.c: Add X45U quirk
@ 2016-10-31 20:21 Marcos Paulo de Souza
  2016-10-31 21:33 ` Greg KH
  2016-10-31 22:14 ` Darren Hart
  0 siblings, 2 replies; 5+ messages in thread
From: Marcos Paulo de Souza @ 2016-10-31 20:21 UTC (permalink / raw)
  To: corentin.chary, dvhart, acpi4asus-user, platform-driver-x86,
	linux-kernel
  Cc: stable, 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

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
---
 drivers/platform/x86/asus-nb-wmi.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
index 26e4cbc..6032b70 100644
--- a/drivers/platform/x86/asus-nb-wmi.c
+++ b/drivers/platform/x86/asus-nb-wmi.c
@@ -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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-11-01  1:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-31 20:21 [PATCH] platform/x86/asus-nb-wmi.c: Add X45U quirk Marcos Paulo de Souza
2016-10-31 21:33 ` Greg KH
2016-10-31 22:14 ` Darren Hart
2016-11-01  0:22   ` Marcos Paulo de Souza
2016-11-01  1:59   ` Marcos Paulo de Souza

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.