public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] platform/x86: asus-nb-wmi: add quirk_asus_ignore_fan for UX3405MA
@ 2025-12-21 21:01 Tim Wassink
  2025-12-22  2:54 ` Denis Benato
  0 siblings, 1 reply; 6+ messages in thread
From: Tim Wassink @ 2025-12-21 21:01 UTC (permalink / raw)
  To: Corentin Chary, Luke D. Jones, Denis Benato, Hans de Goede,
	Ilpo Järvinen, platform-driver-x86, linux-kernel
  Cc: Tim Wassink

The ASUS Zenbook 14 (UX3405MA) uses a newer WMI interface for thermal
management that does not support the legacy WMI fan control methods.
Currently, this results in ENODEV (-19) errors in dmesg when the driver
attempts to fetch factory fan curve defaults.

Add a quirk to use quirk_asus_ignore_fan to silence these errors and
signal that legacy fan control is intentionally unsupported, as thermal
policies are handled through the platform_profile interface.

Signed-off-by: Tim Wassink <timwassink.dev@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 6a62bc5b02fd..eaa8abe506cb 100644
--- a/drivers/platform/x86/asus-nb-wmi.c
+++ b/drivers/platform/x86/asus-nb-wmi.c
@@ -544,6 +544,15 @@ static const struct dmi_system_id asus_quirks[] = {
 		},
 		.driver_data = &quirk_asus_zenbook_duo_kbd,
 	},
+	{
+		.callback = dmi_matched,
+		.ident = "ASUS Zenbook 14 UX3405MA",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "UX3405MA"),
+		},
+		.driver_data = &quirk_asus_ignore_fan,
+	},
 	{
 		.callback = dmi_matched,
 		.ident = "ASUS ROG Z13",
-- 
2.52.0


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

end of thread, other threads:[~2025-12-25 17:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-21 21:01 [PATCH] platform/x86: asus-nb-wmi: add quirk_asus_ignore_fan for UX3405MA Tim Wassink
2025-12-22  2:54 ` Denis Benato
2025-12-22 10:44   ` Tim Wassink
2025-12-23 13:50     ` Denis Benato
2025-12-24 23:43       ` Tim Wassink
2025-12-25 17:13         ` Denis Benato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox