linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v3 5/7] acpi/x86: s2idle: Add a quirk for ASUS ROG Zephyrus G14
@ 2022-09-21 18:23 Marko
  0 siblings, 0 replies; 2+ messages in thread
From: Marko @ 2022-09-21 18:23 UTC (permalink / raw)
  To: mario.limonciello
  Cc: Shyam-sundar.S-k, catalin, hdegoede, iam, lenb, linux-acpi,
	linux-kernel, philipp.zabel, rafael, ruinairas1992,
	travisghansen

This patch fixed fans and speakers on top of my ASUS Zephyrus
G14 GA402RJ laptop not working after resuming from suspend.

Tested-by: Marko Cekrlic <marko.cekrlic.26@gmail.com>

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

* [PATCH v3 5/7] acpi/x86: s2idle: Add a quirk for ASUS ROG Zephyrus G14
  2022-09-16 18:26 [PATCH v3 0/7] Fixups for s2idle on various Rembrandt laptops Mario Limonciello
@ 2022-09-16 18:26 ` Mario Limonciello
  0 siblings, 0 replies; 2+ messages in thread
From: Mario Limonciello @ 2022-09-16 18:26 UTC (permalink / raw)
  To: rafael, linux-kernel
  Cc: travisghansen, catalin, Shyam-sundar.S-k, Matthew Anderson,
	philipp.zabel, Sebastian S .,
	Hans de Goede, Mario Limonciello, Len Brown, linux-acpi

ASUS ROG Zephyrus G14 is affected by the same BIOS bug as ASUS TUF
Gaming A17 where important ASL is not called in the AMD code path.
Use the Microsoft codepath instead.

Reported-and-suggested-by: Philipp Zabel <philipp.zabel@gmail.com>
Tested-by: Philipp Zabel <philipp.zabel@gmail.com>
Tested-by: Matthew Anderson <ruinairas1992@gmail.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
---
v2->v3:
 * Absorb tags
v1->v2:
 * New patch
---
 drivers/acpi/x86/s2idle.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/acpi/x86/s2idle.c b/drivers/acpi/x86/s2idle.c
index 1b638bd30fcf..52f41119f296 100644
--- a/drivers/acpi/x86/s2idle.c
+++ b/drivers/acpi/x86/s2idle.c
@@ -420,6 +420,14 @@ static const struct dmi_system_id s2idle_dmi_table[] __initconst = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "ASUS TUF Gaming A17"),
 		},
 	},
+	{
+		/* ASUS ROG Zephyrus G14 (2022) */
+		.callback = lps0_prefer_microsoft,
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "ROG Zephyrus G14 GA402"),
+		},
+	},
 	{}
 };
 
-- 
2.34.1


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

end of thread, other threads:[~2022-09-21 18:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-21 18:23 [PATCH v3 5/7] acpi/x86: s2idle: Add a quirk for ASUS ROG Zephyrus G14 Marko
  -- strict thread matches above, loose matches on Subject: below --
2022-09-16 18:26 [PATCH v3 0/7] Fixups for s2idle on various Rembrandt laptops Mario Limonciello
2022-09-16 18:26 ` [PATCH v3 5/7] acpi/x86: s2idle: Add a quirk for ASUS ROG Zephyrus G14 Mario Limonciello

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).