mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] platform/x86: acer-wmi: Add support for Acer Nitro ANV16-71
@ 2026-11-23 15:55 Mulky Fauzan
  2026-11-24  7:12 ` Mulky Fauzan
  0 siblings, 1 reply; 2+ messages in thread
From: Mulky Fauzan @ 2026-11-23 15:55 UTC (permalink / raw)
  To: jlee
  Cc: hansg, ilpo.jarvinen, platform-driver-x86, linux-kernel, Mulky Fauzan

Add a DMI quirk for the Acer Nitro ANV16-71.

The existing acer-wmi driver supports hardware monitoring, fan
control and platform profile management on this laptop.

Enable CPU and GPU fan monitoring, PWM control, hardware
monitoring and platform profile support for this model.

Fan control testing on Acer Nitro ANV16-71:
 - Automatic mode: CPU 1796 RPM, GPU 2255 RPM.
 - Manual GPU fan test: CPU 1807 RPM, GPU 5555 RPM.
 - Manual CPU fan test: CPU 4838 RPM, GPU 2238 RPM.
Both CPU and GPU fan control channels were tested independently.

The following platform profile choices are exposed:
 - low-power, quiet, balanced, balanced-performance, and performance.
Platform profile switching was also tested successfully.

Tested on Acer Nitro ANV16-71 with Linux 7.4-rc4.

Signed-off-by: Mulky Fauzan <qapkyy3@gmail.com>
---
 drivers/platform/x86/acer-wmi.c | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index 60028fe9f..f9d92395e 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -493,6 +493,14 @@ static struct quirk_entry quirk_acer_nitro_anv15_51 = {
 	.pwm = true,
 };
 
+static struct quirk_entry quirk_acer_nitro_anv16_71 = {
+	.cpu_fans = 1,
+	.gpu_fans = 1,
+	.hwmon = true,
+	.platform_profile = true,
+	.pwm = true,
+};
+
 static struct quirk_entry quirk_acer_predator_ph16_72 = {
 	.turbo = true,
 	.cpu_fans = 1,
@@ -728,6 +736,15 @@ static const struct dmi_system_id acer_quirks[] __initconst = {
 		},
 		.driver_data = &quirk_acer_nitro_anv15_51,
 	},
+	{
+		.callback = dmi_matched,
+		.ident = "Acer Nitro ANV16-71",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Nitro ANV16-71"),
+		},
+		.driver_data = &quirk_acer_nitro_anv16_71,
+	},
 	{
 		.callback = dmi_matched,
 		.ident = "Acer Predator PH315-53",
-- 
2.56.1


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

* Re: [PATCH] platform/x86: acer-wmi: Add support for Acer Nitro ANV16-71
  2026-11-23 15:55 [PATCH] platform/x86: acer-wmi: Add support for Acer Nitro ANV16-71 Mulky Fauzan
@ 2026-11-24  7:12 ` Mulky Fauzan
  0 siblings, 0 replies; 2+ messages in thread
From: Mulky Fauzan @ 2026-11-24  7:12 UTC (permalink / raw)
  To: qapkyy3; +Cc: hansg, ilpo.jarvinen, jlee, linux-kernel, platform-driver-x86

Hi,

I did some additional testing of this patch on an Acer Nitro
ANV16-71 (BIOS v1.09) running Fedora with Linux
7.3.4-300.fc45.x86_64, with the patched acer-wmi built as an
out-of-tree module. This is in addition to my earlier testing on
7.4-rc4. I verified the exposed interfaces down to the WMI and EC
register level.

DMI and driver load:
 - The DMI product name matches "Nitro ANV16-71" and acer-wmi loads
   without any ACPI/WMI errors.

Hardware monitoring and manual PWM fan control:
 - CPU (fan1_input) and GPU (fan2_input) speeds are reported correctly.
 - Manual control (pwm1_enable=1 / pwm2_enable=1) works independently
   for both fans and returns to automatic control with =2.

Platform profiles (WMI and EC verification):
 - All five profiles (low-power, quiet, balanced,
   balanced-performance, performance) are accepted by the firmware via
   WMI method 22 (SetGamingMiscSetting, index 0x0b) with status 0x00,
   including performance (turbo). WMI calls were traced with bpftrace.
 - Reading the EC (read-only, via ec_sys), the thermal profile
   register 0x2C updates consistently:
     quiet                -> 0x00
     balanced             -> 0x01
     balanced-performance -> 0x04
     performance          -> 0x05
     low-power            -> 0x06

Tested-by: Mulky Fauzan <qapkyy3@gmail.com>

Thanks,
Mulky Fauzan

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

end of thread, other threads:[~2026-11-24  7:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 15:55 [PATCH] platform/x86: acer-wmi: Add support for Acer Nitro ANV16-71 Mulky Fauzan
2026-11-24  7:12 ` Mulky Fauzan

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

all inboxes | Powered by JetHome®