Skip to contentSkip to conversation

platform/x86: acer-wmi: Add support for Acer Nitro ANV16-71

PATCH In review Mulky Fauzan 1 participant 2 messages Nov 23 – Nov 24

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

PATCH 1/1 platform/x86: acer-wmi: Add support for Acer Nitro ANV16-71

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.

---
 drivers/platform/x86/acer-wmi.c | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
drivers/platform/x86/acer-wmi.c +17 -0
index 60028fe9f..f9d92395e 100644
@@ -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",
Signature · 1 line
2.56.1
author Tested-by on v1 1/1
#1 lore raw

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

Thanks,
Mulky Fauzan