Skip to contentSkip to conversation

platform/x86: acer-wmi: Add support for Acer Nitro ANV15-51

PATCH Superseded Justin Vargas 3 participants 10 messages Jul 29 – Oct 5

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

PATCH 1/1 platform/x86: acer-wmi: Add support for Acer Nitro ANV15-51

The Acer Nitro ANV15-51 uses the Predator V4 WMI interface for thermal profile handling and hardware monitoring, but has no quirk entry, so these features are only available when the predator_v4 module parameter is passed manually.

Add a quirk entry for this model.

Note that this machine does not support the turbo thermal profile: its supported profiles bitmap (misc setting 0x0A) reads 0x53, and writing PLATFORM_PROFILE_PERFORMANCE is rejected by the firmware. The four remaining profiles work as expected.

---
Tested on an Acer Nitro ANV15-51, BIOS V1.60 (04/08/2026), kernel 7.0.11-1-cachyos:

  $ sudo dmidecode -s system-product-name
  Nitro ANV15-51
  $ sudo modprobe acer_wmi predator_v4=1
  $ cat /sys/firmware/acpi/platform_profile_choices
  low-power quiet balanced balanced-performance performance

Writing low-power, quiet, balanced and balanced-performance all succeed and audibly change fan behaviour. Writing performance is rejected by the firmware, consistent with the supported profiles bitmap (0x0A) reading 0x53, i.e. bit 5 (turbo) clear.

hwmon works: sensors reports acer-isa-0ace with fan1 3024 RPM, fan2 2685 RPM, temp1 +48.0 C.

The WMI mechanism was cross-checked on Windows, where NitroSense switches profiles via SetGamingMiscSetting with index 0x0B and the same profile values used by this driver.

Disclosure: this patch and the analysis behind it were produced with the assistance of an AI model (Anthropic Claude). All testing was performed by me on the physical machine, and I take responsibility for the patch as signed off above.

 drivers/platform/x86/acer-wmi.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/platform/x86/acer-wmi.c +9 -0
index e0eaaefb13d..a7290f85166 100644
@@ -662,6 +662,15 @@ static const struct dmi_system_id acer_quirks[] __initconst = {
 		},
 		.driver_data = &quirk_acer_nitro_an515_58,
 	},
+	{
+		.callback = dmi_matched,
+		.ident = "Acer Nitro ANV15-51",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Nitro ANV15-51"),
+		},
+		.driver_data = &quirk_acer_predator_v4,
+	},
 	{
 		.callback = dmi_matched,
 		.ident = "Acer Predator PH315-53",
Signature · 1 line
2.47.3
#1 lore raw

PATCH v2 1/1 platform/x86: acer-wmi: Add support for Acer Nitro ANV15-51

The Acer Nitro ANV15-51 uses the Predator V4 WMI interface for thermal profile handling and hardware monitoring, but has no quirk entry, so these features are only available when the predator_v4 module parameter is passed manually.

Add a quirk entry for this model.

Note that this machine does not support the turbo thermal profile: its supported profiles bitmap (misc setting 0x0A) reads 0x53, and writing PLATFORM_PROFILE_PERFORMANCE is rejected by the firmware. The four remaining profiles work as expected.

Assisted-by Claude:claude-opus-5

---
v2: Add Assisted-by trailer per
Documentation/process/coding-assistants.rst. No change to the code.

Tested on an Acer Nitro ANV15-51, BIOS V1.60 (04/08/2026), kernel 7.0.11-1-cachyos:

  $ sudo dmidecode -s system-product-name
  Nitro ANV15-51
  $ sudo modprobe acer_wmi predator_v4=1
  $ cat /sys/firmware/acpi/platform_profile_choices
  low-power quiet balanced balanced-performance performance

Writing low-power, quiet, balanced and balanced-performance all succeed and audibly change fan behaviour. Writing performance is rejected by the firmware, consistent with the supported profiles bitmap (0x0A) reading 0x53, i.e. bit 5 (turbo) clear.

hwmon works: sensors reports acer-isa-0ace with fan1 3024 RPM, fan2 2685 RPM, temp1 +48.0 C.

The WMI mechanism was cross-checked on Windows, where NitroSense switches profiles via SetGamingMiscSetting with index 0x0B and the same profile values used by this driver.

The analysis and patch were produced with AI assistance (see the Assisted-by trailer); all testing was performed by me on the physical machine, and I take responsibility for the patch as signed off above.

 drivers/platform/x86/acer-wmi.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/platform/x86/acer-wmi.c +9 -0
index e0eaaefb13d..a7290f85166 100644
@@ -662,6 +662,15 @@ static const struct dmi_system_id acer_quirks[] __initconst = {
 		},
 		.driver_data = &quirk_acer_nitro_an515_58,
 	},
+	{
+		.callback = dmi_matched,
+		.ident = "Acer Nitro ANV15-51",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Nitro ANV15-51"),
+		},
+		.driver_data = &quirk_acer_predator_v4,
+	},
 	{
 		.callback = dmi_matched,
 		.ident = "Acer Predator PH315-53",
Signature · 1 line
2.47.3
#2 lore raw

Am 30.07.26 um 01:51 schrieb Justin Vargas:

Quoted 11 lines

The Acer Nitro ANV15-51 uses the Predator V4 WMI interface for thermal profile handling and hardware monitoring, but has no quirk entry, so these features are only available when the predator_v4 module parameter is passed manually.

Add a quirk entry for this model.

Note that this machine does not support the turbo thermal profile: its supported profiles bitmap (misc setting 0x0A) reads 0x53, and writing PLATFORM_PROFILE_PERFORMANCE is rejected by the firmware. The four remaining profiles work as expected.

Hi,

can you create a custom quirk entry and check if controlling the CPU/GPU fans works? For this you need to fill-in the number of CPU/GPU fans inside struct quirk_entry and set "pwm" to "1".

I think fo something like "quirk_acer_predator_ph16_72", just without ".tubo = 1".

Thanks,
Armin Wolf

Quoted 56 lines
Assisted-by Claude:claude-opus-5

---
v2: Add Assisted-by trailer per
Documentation/process/coding-assistants.rst. No change to the code.

Tested on an Acer Nitro ANV15-51, BIOS V1.60 (04/08/2026), kernel 7.0.11-1-cachyos:

   $ sudo dmidecode -s system-product-name
   Nitro ANV15-51
   $ sudo modprobe acer_wmi predator_v4=1
   $ cat /sys/firmware/acpi/platform_profile_choices
   low-power quiet balanced balanced-performance performance

Writing low-power, quiet, balanced and balanced-performance all succeed and audibly change fan behaviour. Writing performance is rejected by the firmware, consistent with the supported profiles bitmap (0x0A) reading 0x53, i.e. bit 5 (turbo) clear.

hwmon works: sensors reports acer-isa-0ace with fan1 3024 RPM, fan2 2685 RPM, temp1 +48.0 C.

The WMI mechanism was cross-checked on Windows, where NitroSense switches profiles via SetGamingMiscSetting with index 0x0B and the same profile values used by this driver.

The analysis and patch were produced with AI assistance (see the Assisted-by trailer); all testing was performed by me on the physical machine, and I take responsibility for the patch as signed off above.

  drivers/platform/x86/acer-wmi.c | 9 +++++++++
  1 file changed, 9 insertions(+)
drivers/platform/x86/acer-wmi.c +9 -0
index e0eaaefb13d..a7290f85166 100644
@@ -662,6 +662,15 @@ static const struct dmi_system_id acer_quirks[] __initconst = {
  		},
  		.driver_data = &quirk_acer_nitro_an515_58,
  	},
+	{
+		.callback = dmi_matched,
+		.ident = "Acer Nitro ANV15-51",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Nitro ANV15-51"),
+		},
+		.driver_data = &quirk_acer_predator_v4,
+	},
  	{
  		.callback = dmi_matched,
  		.ident = "Acer Predator PH315-53",
#3 lore raw
Quoted 5 lines

can you create a custom quirk entry and check if controlling the CPU/GPU fans works? For this you need to fill-in the number of CPU/GPU fans inside struct quirk_entry and set "pwm" to "1".

I think fo something like "quirk_acer_predator_ph16_72", just without ".tubo = 1".

Sure. The machine has two fans - with predator_v4=1 loaded, sensors reports fan1 and fan2 under acer-isa-0ace - so I'll use:

static struct quirk_entry quirk_acer_nitro_anv15_51 = {
    .cpu_fans = 1,
    .gpu_fans = 1,
    .predator_v4 = 1,
    .pwm = 1,
};

One note on timing: this laptop runs Windows day to day and I've been testing from a live USB, so I need to set up an environment that can build and load a patched module on the hardware before I can report back on fan control. That may take me a few days, but I'll follow up with results either way, and send a v3 once I can confirm whether PWM control works.

Thanks for the quick review,
Justin

Quoted 82 lines · Armin Wolf

Am 30.07.26 um 01:51 schrieb Justin Vargas:

Quoted 11 lines

The Acer Nitro ANV15-51 uses the Predator V4 WMI interface for thermal profile handling and hardware monitoring, but has no quirk entry, so these features are only available when the predator_v4 module parameter is passed manually.

Add a quirk entry for this model.

Note that this machine does not support the turbo thermal profile: its supported profiles bitmap (misc setting 0x0A) reads 0x53, and writing PLATFORM_PROFILE_PERFORMANCE is rejected by the firmware. The four remaining profiles work as expected.

Hi,

can you create a custom quirk entry and check if controlling the CPU/GPU fans works? For this you need to fill-in the number of CPU/GPU fans inside struct quirk_entry and set "pwm" to "1".

I think fo something like "quirk_acer_predator_ph16_72", just without ".tubo = 1".

Thanks,
Armin Wolf

Quoted 56 lines
Assisted-by Claude:claude-opus-5

---
v2: Add Assisted-by trailer per
Documentation/process/coding-assistants.rst. No change to the code.

Tested on an Acer Nitro ANV15-51, BIOS V1.60 (04/08/2026), kernel 7.0.11-1-cachyos:

   $ sudo dmidecode -s system-product-name
   Nitro ANV15-51
   $ sudo modprobe acer_wmi predator_v4=1
   $ cat /sys/firmware/acpi/platform_profile_choices
   low-power quiet balanced balanced-performance performance

Writing low-power, quiet, balanced and balanced-performance all succeed and audibly change fan behaviour. Writing performance is rejected by the firmware, consistent with the supported profiles bitmap (0x0A) reading 0x53, i.e. bit 5 (turbo) clear.

hwmon works: sensors reports acer-isa-0ace with fan1 3024 RPM, fan2 2685 RPM, temp1 +48.0 C.

The WMI mechanism was cross-checked on Windows, where NitroSense switches profiles via SetGamingMiscSetting with index 0x0B and the same profile values used by this driver.

The analysis and patch were produced with AI assistance (see the Assisted-by trailer); all testing was performed by me on the physical machine, and I take responsibility for the patch as signed off above.

  drivers/platform/x86/acer-wmi.c | 9 +++++++++
  1 file changed, 9 insertions(+)
drivers/platform/x86/acer-wmi.c +9 -0
index e0eaaefb13d..a7290f85166 100644
@@ -662,6 +662,15 @@ static const struct dmi_system_id acer_quirks[] __initconst = {
              },
              .driver_data = &quirk_acer_nitro_an515_58,
      },
+     {
+             .callback = dmi_matched,
+             .ident = "Acer Nitro ANV15-51",
+             .matches = {
+                     DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+                     DMI_MATCH(DMI_PRODUCT_NAME, "Nitro ANV15-51"),
+             },
+             .driver_data = &quirk_acer_predator_v4,
+     },
      {
              .callback = dmi_matched,
              .ident = "Acer Predator PH315-53",
#4 lore raw
Quoted 5 lines

can you create a custom quirk entry and check if controlling the CPU/GPU fans works? For this you need to fill-in the number of CPU/GPU fans inside struct quirk_entry and set "pwm" to "1".

I think fo something like "quirk_acer_predator_ph16_72", just without ".tubo = 1".

Happy to. Based on sensors output with predator_v4=1 loaded, this machine has two fans (fan1 and fan2 under acer-isa-0ace), so the quirk would be:

static struct quirk_entry quirk_acer_nitro_anv15_51 = {
    .cpu_fans = 1,
    .gpu_fans = 1,
    .predator_v4 = 1,
    .pwm = 1,
};

On testing: this laptop runs Windows day to day, and my earlier results came from a live USB session, which turns out not to work for loading a self-built module - the live image's kernel and the current repo headers are different versions. I'm setting up a persistent Linux install on a separate drive so I can build and load a patched module properly, but I've hit some snags there.

So it will likely be about a week before I can report back on fan control. If you'd rather not wait, I'm equally happy for the patch to go in as tested with &quirk_acer_predator_v4, and to follow up with a separate patch adding the fan fields once I've verified them.

Either way I'll report back with results rather than leaving it open.

Thanks,
Justin

Quoted 110 lines · Justin Vargas
Quoted 6 lines

can you create a custom quirk entry and check if controlling the CPU/GPU fans works? For this you need to fill-in the number of CPU/GPU fans inside struct quirk_entry and set "pwm" to "1".

I think fo something like "quirk_acer_predator_ph16_72", just without ".tubo = 1".

Sure. The machine has two fans - with predator_v4=1 loaded, sensors reports fan1 and fan2 under acer-isa-0ace - so I'll use:

static struct quirk_entry quirk_acer_nitro_anv15_51 = {
    .cpu_fans = 1,
    .gpu_fans = 1,
    .predator_v4 = 1,
    .pwm = 1,
};

One note on timing: this laptop runs Windows day to day and I've been testing from a live USB, so I need to set up an environment that can build and load a patched module on the hardware before I can report back on fan control. That may take me a few days, but I'll follow up with results either way, and send a v3 once I can confirm whether PWM control works.

Thanks for the quick review,
Justin

Quoted 82 lines · Armin Wolf

Am 30.07.26 um 01:51 schrieb Justin Vargas:

Quoted 11 lines

The Acer Nitro ANV15-51 uses the Predator V4 WMI interface for thermal profile handling and hardware monitoring, but has no quirk entry, so these features are only available when the predator_v4 module parameter is passed manually.

Add a quirk entry for this model.

Note that this machine does not support the turbo thermal profile: its supported profiles bitmap (misc setting 0x0A) reads 0x53, and writing PLATFORM_PROFILE_PERFORMANCE is rejected by the firmware. The four remaining profiles work as expected.

Hi,

can you create a custom quirk entry and check if controlling the CPU/GPU fans works? For this you need to fill-in the number of CPU/GPU fans inside struct quirk_entry and set "pwm" to "1".

I think fo something like "quirk_acer_predator_ph16_72", just without ".tubo = 1".

Thanks,
Armin Wolf

Quoted 56 lines
Assisted-by Claude:claude-opus-5

---
v2: Add Assisted-by trailer per
Documentation/process/coding-assistants.rst. No change to the code.

Tested on an Acer Nitro ANV15-51, BIOS V1.60 (04/08/2026), kernel 7.0.11-1-cachyos:

   $ sudo dmidecode -s system-product-name
   Nitro ANV15-51
   $ sudo modprobe acer_wmi predator_v4=1
   $ cat /sys/firmware/acpi/platform_profile_choices
   low-power quiet balanced balanced-performance performance

Writing low-power, quiet, balanced and balanced-performance all succeed and audibly change fan behaviour. Writing performance is rejected by the firmware, consistent with the supported profiles bitmap (0x0A) reading 0x53, i.e. bit 5 (turbo) clear.

hwmon works: sensors reports acer-isa-0ace with fan1 3024 RPM, fan2 2685 RPM, temp1 +48.0 C.

The WMI mechanism was cross-checked on Windows, where NitroSense switches profiles via SetGamingMiscSetting with index 0x0B and the same profile values used by this driver.

The analysis and patch were produced with AI assistance (see the Assisted-by trailer); all testing was performed by me on the physical machine, and I take responsibility for the patch as signed off above.

  drivers/platform/x86/acer-wmi.c | 9 +++++++++
  1 file changed, 9 insertions(+)
drivers/platform/x86/acer-wmi.c +9 -0
index e0eaaefb13d..a7290f85166 100644
@@ -662,6 +662,15 @@ static const struct dmi_system_id acer_quirks[] __initconst = {
              },
              .driver_data = &quirk_acer_nitro_an515_58,
      },
+     {
+             .callback = dmi_matched,
+             .ident = "Acer Nitro ANV15-51",
+             .matches = {
+                     DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+                     DMI_MATCH(DMI_PRODUCT_NAME, "Nitro ANV15-51"),
+             },
+             .driver_data = &quirk_acer_predator_v4,
+     },
      {
              .callback = dmi_matched,
              .ident = "Acer Predator PH315-53",
#5 lore raw

Sorry for the delay - my "about a week" was optimistic, and life got busy with other stuff.

Still on it though. The hold-up is getting a Linux install onto this machine that can actually build and load a module: the live USB route doesn't work (its kernel and the current repo headers are different versions), and my dual-boot attempt ran into Acer firmware weirdness with the bootloader.

If you'd rather not sit on the patch, I'm happy for it to go in as tested with &quirk_acer_predator_v4, and to send the fan fields as a follow-up patch once I can verify them. Otherwise I'll report back once I have results.

Thanks,
Justin

Quoted 144 lines · Justin Vargas
Quoted 6 lines

can you create a custom quirk entry and check if controlling the CPU/GPU fans works? For this you need to fill-in the number of CPU/GPU fans inside struct quirk_entry and set "pwm" to "1".

I think fo something like "quirk_acer_predator_ph16_72", just without ".tubo = 1".

Happy to. Based on sensors output with predator_v4=1 loaded, this machine has two fans (fan1 and fan2 under acer-isa-0ace), so the quirk would be:

static struct quirk_entry quirk_acer_nitro_anv15_51 = {
    .cpu_fans = 1,
    .gpu_fans = 1,
    .predator_v4 = 1,
    .pwm = 1,
};

On testing: this laptop runs Windows day to day, and my earlier results came from a live USB session, which turns out not to work for loading a self-built module - the live image's kernel and the current repo headers are different versions. I'm setting up a persistent Linux install on a separate drive so I can build and load a patched module properly, but I've hit some snags there.

So it will likely be about a week before I can report back on fan control. If you'd rather not wait, I'm equally happy for the patch to go in as tested with &quirk_acer_predator_v4, and to follow up with a separate patch adding the fan fields once I've verified them.

Either way I'll report back with results rather than leaving it open.

Thanks,
Justin

Quoted 110 lines · Justin Vargas
Quoted 6 lines

can you create a custom quirk entry and check if controlling the CPU/GPU fans works? For this you need to fill-in the number of CPU/GPU fans inside struct quirk_entry and set "pwm" to "1".

I think fo something like "quirk_acer_predator_ph16_72", just without ".tubo = 1".

Sure. The machine has two fans - with predator_v4=1 loaded, sensors reports fan1 and fan2 under acer-isa-0ace - so I'll use:

static struct quirk_entry quirk_acer_nitro_anv15_51 = {
    .cpu_fans = 1,
    .gpu_fans = 1,
    .predator_v4 = 1,
    .pwm = 1,
};

One note on timing: this laptop runs Windows day to day and I've been testing from a live USB, so I need to set up an environment that can build and load a patched module on the hardware before I can report back on fan control. That may take me a few days, but I'll follow up with results either way, and send a v3 once I can confirm whether PWM control works.

Thanks for the quick review,
Justin

Quoted 82 lines · Armin Wolf

Am 30.07.26 um 01:51 schrieb Justin Vargas:

Quoted 11 lines

The Acer Nitro ANV15-51 uses the Predator V4 WMI interface for thermal profile handling and hardware monitoring, but has no quirk entry, so these features are only available when the predator_v4 module parameter is passed manually.

Add a quirk entry for this model.

Note that this machine does not support the turbo thermal profile: its supported profiles bitmap (misc setting 0x0A) reads 0x53, and writing PLATFORM_PROFILE_PERFORMANCE is rejected by the firmware. The four remaining profiles work as expected.

Hi,

can you create a custom quirk entry and check if controlling the CPU/GPU fans works? For this you need to fill-in the number of CPU/GPU fans inside struct quirk_entry and set "pwm" to "1".

I think fo something like "quirk_acer_predator_ph16_72", just without ".tubo = 1".

Thanks,
Armin Wolf

Quoted 56 lines
Assisted-by Claude:claude-opus-5

---
v2: Add Assisted-by trailer per
Documentation/process/coding-assistants.rst. No change to the code.

Tested on an Acer Nitro ANV15-51, BIOS V1.60 (04/08/2026), kernel 7.0.11-1-cachyos:

   $ sudo dmidecode -s system-product-name
   Nitro ANV15-51
   $ sudo modprobe acer_wmi predator_v4=1
   $ cat /sys/firmware/acpi/platform_profile_choices
   low-power quiet balanced balanced-performance performance

Writing low-power, quiet, balanced and balanced-performance all succeed and audibly change fan behaviour. Writing performance is rejected by the firmware, consistent with the supported profiles bitmap (0x0A) reading 0x53, i.e. bit 5 (turbo) clear.

hwmon works: sensors reports acer-isa-0ace with fan1 3024 RPM, fan2 2685 RPM, temp1 +48.0 C.

The WMI mechanism was cross-checked on Windows, where NitroSense switches profiles via SetGamingMiscSetting with index 0x0B and the same profile values used by this driver.

The analysis and patch were produced with AI assistance (see the Assisted-by trailer); all testing was performed by me on the physical machine, and I take responsibility for the patch as signed off above.

  drivers/platform/x86/acer-wmi.c | 9 +++++++++
  1 file changed, 9 insertions(+)
drivers/platform/x86/acer-wmi.c +9 -0
index e0eaaefb13d..a7290f85166 100644
@@ -662,6 +662,15 @@ static const struct dmi_system_id acer_quirks[] __initconst = {
              },
              .driver_data = &quirk_acer_nitro_an515_58,
      },
+     {
+             .callback = dmi_matched,
+             .ident = "Acer Nitro ANV15-51",
+             .matches = {
+                     DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+                     DMI_MATCH(DMI_PRODUCT_NAME, "Nitro ANV15-51"),
+             },
+             .driver_data = &quirk_acer_predator_v4,
+     },
      {
              .callback = dmi_matched,
              .ident = "Acer Predator PH315-53",
#6 lore raw

PATCH v3 1/1 platform/x86: acer-wmi: Add support for Acer Nitro ANV15-51

In reply to Justin Vargas

The Acer Nitro ANV15-51 uses the Predator V4 WMI interface for thermal profile handling, hardware monitoring and fan control, but has no quirk entry, so none of these features are available.

Add a quirk entry for this model.

Note that this machine does not support the turbo thermal profile: its supported profiles bitmap (misc setting 0x0A) reads 0x53, and writing PLATFORM_PROFILE_PERFORMANCE is rejected by the firmware. The four remaining profiles work as expected.

Assisted-by Claude:claude-opus-5

---
v3: Use a model-specific quirk_entry with cpu_fans, gpu_fans and pwm
set, as suggested by Armin Wolf, instead of reusing quirk_acer_predator_v4. Fan control is now tested (see below).
v2: Add Assisted-by trailer per
Documentation/process/coding-assistants.rst.

Tested on an Acer Nitro ANV15-51, BIOS V1.60 (04/08/2026), by building this patch as an out-of-tree acer-wmi module against kernel 7.1.8-1-cachyos and loading it on the machine.

Thermal profiles:

  $ cat /sys/firmware/acpi/platform_profile_choices
  low-power quiet balanced balanced-performance performance

low-power, quiet, balanced and balanced-performance all apply successfully and audibly change fan behaviour. Writing performance fails with -EIO, consistent with the supported profiles bitmap (misc setting 0x0A) reading 0x53, i.e. bit 5 (turbo) clear.

hwmon and fan control, via the acer hwmon device:

  pwm_enable  pwm    fan1 (CPU)  fan2 (GPU)
  2 (auto)    229    2311 RPM    2057 RPM
  1 (manual)  255    8167 RPM    2077 RPM
  1 (manual)  128    4482 RPM    2065 RPM

Setting pwm2 to 255 raised fan2 to 7284 RPM while fan1 was unaffected, so the two fans are independently controllable. Restoring pwm1_enable/pwm2_enable to 2 returned both fans to automatic control (2267 / 2000 RPM at idle).

temp1_input, temp2_input and temp3_input are also exposed.

The WMI mechanism was cross-checked on Windows, where NitroSense switches profiles via SetGamingMiscSetting with index 0x0B and the same profile values used by this driver.

The analysis and patch were produced with AI assistance (see the Assisted-by trailer); all testing was performed by me on the physical machine, and I take responsibility for the patch as signed off above.

 drivers/platform/x86/acer-wmi.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
drivers/platform/x86/acer-wmi.c +16 -0
index e0eaaefb13d..86c212df49f 100644
@@ -466,6 +466,13 @@ static struct quirk_entry quirk_acer_predator_ph315_53 = {
 	.gpu_fans = 1,
 };
 
+static struct quirk_entry quirk_acer_nitro_anv15_51 = {
+	.cpu_fans = 1,
+	.gpu_fans = 1,
+	.predator_v4 = 1,
+	.pwm = 1,
+};
+
 static struct quirk_entry quirk_acer_predator_ph16_72 = {
 	.turbo = 1,
 	.cpu_fans = 1,
@@ -662,6 +669,15 @@ static const struct dmi_system_id acer_quirks[] __initconst = {
 		},
 		.driver_data = &quirk_acer_nitro_an515_58,
 	},
+	{
+		.callback = dmi_matched,
+		.ident = "Acer Nitro ANV15-51",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Nitro ANV15-51"),
+		},
+		.driver_data = &quirk_acer_nitro_anv15_51,
+	},
 	{
 		.callback = dmi_matched,
 		.ident = "Acer Predator PH315-53",
Signature · 1 line
2.47.3
maintainer
#7 lore raw
Quoted 8 lines · Justin Vargas

The Acer Nitro ANV15-51 uses the Predator V4 WMI interface for thermal profile handling, hardware monitoring and fan control, but has no quirk entry, so none of these features are available.

Add a quirk entry for this model.

Note that this machine does not support the turbo thermal profile: its supported profiles bitmap (misc setting 0x0A) reads 0x53, and writing

Armin removed support for trusting the "supported bitmap" in b0908e03fdd4 ("platform/x86: acer-wmi: Stop using ACPI bitmap for platform profile choices") as it was unclear if we'd interpreted their meaning correctly.

Quoted 57 lines

PLATFORM_PROFILE_PERFORMANCE is rejected by the firmware. The four remaining profiles work as expected.

Assisted-by Claude:claude-opus-5

---
v3: Use a model-specific quirk_entry with cpu_fans, gpu_fans and pwm
set, as suggested by Armin Wolf, instead of reusing quirk_acer_predator_v4. Fan control is now tested (see below).
v2: Add Assisted-by trailer per
Documentation/process/coding-assistants.rst.

Tested on an Acer Nitro ANV15-51, BIOS V1.60 (04/08/2026), by building this patch as an out-of-tree acer-wmi module against kernel 7.1.8-1-cachyos and loading it on the machine.

Thermal profiles:

  $ cat /sys/firmware/acpi/platform_profile_choices
  low-power quiet balanced balanced-performance performance

low-power, quiet, balanced and balanced-performance all apply successfully and audibly change fan behaviour. Writing performance fails with -EIO, consistent with the supported profiles bitmap (misc setting 0x0A) reading 0x53, i.e. bit 5 (turbo) clear.

hwmon and fan control, via the acer hwmon device:

  pwm_enable  pwm    fan1 (CPU)  fan2 (GPU)
  2 (auto)    229    2311 RPM    2057 RPM
  1 (manual)  255    8167 RPM    2077 RPM
  1 (manual)  128    4482 RPM    2065 RPM

Setting pwm2 to 255 raised fan2 to 7284 RPM while fan1 was unaffected, so the two fans are independently controllable. Restoring pwm1_enable/pwm2_enable to 2 returned both fans to automatic control (2267 / 2000 RPM at idle).

temp1_input, temp2_input and temp3_input are also exposed.

The WMI mechanism was cross-checked on Windows, where NitroSense switches profiles via SetGamingMiscSetting with index 0x0B and the same profile values used by this driver.

The analysis and patch were produced with AI assistance (see the Assisted-by trailer); all testing was performed by me on the physical machine, and I take responsibility for the patch as signed off above.

 drivers/platform/x86/acer-wmi.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
drivers/platform/x86/acer-wmi.c +0 -0
index e0eaaefb13d..86c212df49f 100644

drivers/platform/x86/acer-wmi.c static struct quirk_entry quirk_acer_predator_ph315_53 = { · line 472

Quoted 7 lines
drivers/platform/x86/acer-wmi.c +4 -0
@@ -466,6 +466,13 @@ static struct quirk_entry quirk_acer_predator_ph315_53 = {
 	.gpu_fans = 1,
 };
 
+static struct quirk_entry quirk_acer_nitro_anv15_51 = {
+	.cpu_fans = 1,
+	.gpu_fans = 1,
+	.predator_v4 = 1,

Can you respin this on top of the commits in the review-ilpo-next branch which contains the commit 2502b3d92132 ("platform/x86: acer-wmi: split hwmon from platform profile quirk"). Note that the commit id may change if I need to do a force push due to some issue.

Signature · 1 line
 i.
#8 lore raw

PATCH v4 1/1 platform/x86: acer-wmi: Add support for Acer Nitro ANV15-51

In reply to Justin Vargas

The Acer Nitro ANV15-51 uses the Predator V4 WMI interface for thermal profile handling, hardware monitoring and fan control, but has no quirk entry, so none of these features are available.

Add a quirk entry for this model.

Note that this machine does not support the turbo thermal profile:
writing PLATFORM_PROFILE_PERFORMANCE is rejected by the firmware with -EIO. The four remaining profiles work as expected.

Assisted-by Claude:claude-opus-5

---
v4: Rebased onto review-ilpo-next as requested. The quirk now sets
.hwmon and .platform_profile separately following 4bee415640e ("platform/x86: acer-wmi: split hwmon from platform profile quirk"), and uses bool values following 93f8ae8a26b ("platform/x86: acer-wmi:
use bool for boolean quirk fields"). Dropped the reference to the supported profiles bitmap from the commit message, since b0908e03fdd4 ("platform/x86: acer-wmi: Stop using ACPI bitmap for platform profile choices") stopped trusting it; the turbo claim now rests only on the firmware rejecting the write. Retested on the new base.
v3: Use a model-specific quirk_entry with cpu_fans, gpu_fans and pwm
set, as suggested by Armin Wolf, instead of reusing quirk_acer_predator_v4. Fan control tested.
v2: Add Assisted-by trailer per
Documentation/process/coding-assistants.rst.

Tested on an Acer Nitro ANV15-51, BIOS V1.60 (04/08/2026), by building this patch as an out-of-tree acer-wmi module against kernel 7.2.6-1-cachyos and loading it on the machine. No module parameter was needed - the DMI quirk matches on its own.

Thermal profiles:

  $ cat /sys/firmware/acpi/platform_profile_choices
  low-power quiet balanced balanced-performance performance

low-power, quiet, balanced and balanced-performance all apply successfully. Writing performance fails with -EIO.

hwmon and fan control, via the acer hwmon device:

  pwm1_enable  pwm1   fan1 (CPU)  fan2 (GPU)
  2 (auto)     229    2501 RPM    2286 RPM
  1 (manual)   255    8136 RPM    2303 RPM
  1 (manual)   128    4464 RPM    2293 RPM

Driving pwm2 to 255 raised fan2 to 7309 RPM while fan1 was unaffected, so the two fans are independently controllable. Restoring pwm1_enable/pwm2_enable to 2 returned both fans to automatic control.

temp1_input, temp2_input and temp3_input are also exposed.

Note: .cpu_fans and .gpu_fans are set here following quirk_acer_predator_ph16_72, and this is the configuration that was tested. If you would prefer them dropped, as in quirk_acer_nitro_an515_58, I am happy to send a v5.

The analysis and patch were produced with AI assistance (see the Assisted-by trailer); all testing was performed by me on the physical machine, and I take responsibility for the patch as signed off above.

 drivers/platform/x86/acer-wmi.c | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
drivers/platform/x86/acer-wmi.c +17 -0
index d3d741aad55..51b2ae9e57a 100644
@@ -474,6 +474,14 @@ static struct quirk_entry quirk_acer_predator_ph315_53 = {
 	.gpu_fans = 1,
 };
 
+static struct quirk_entry quirk_acer_nitro_anv15_51 = {
+	.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,
@@ -682,6 +690,15 @@ static const struct dmi_system_id acer_quirks[] __initconst = {
 		},
 		.driver_data = &quirk_acer_nitro_an515_58,
 	},
+	{
+		.callback = dmi_matched,
+		.ident = "Acer Nitro ANV15-51",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Nitro ANV15-51"),
+		},
+		.driver_data = &quirk_acer_nitro_anv15_51,
+	},
 	{
 		.callback = dmi_matched,
 		.ident = "Acer Predator PH315-53",

base-commit: f475845eaf3d749114a63270bf2efea459e14dd2

Signature · 1 line
2.47.3
maintainer
#9 lore raw
Quoted 11 lines · Justin Vargas

The Acer Nitro ANV15-51 uses the Predator V4 WMI interface for thermal profile handling, hardware monitoring and fan control, but has no quirk entry, so none of these features are available.

Add a quirk entry for this model.

Note that this machine does not support the turbo thermal profile:
writing PLATFORM_PROFILE_PERFORMANCE is rejected by the firmware with -EIO. The four remaining profiles work as expected.

[...]

Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while.

FYI [if applicable to your patch], as per Linus' policy change, also fixes are mostly routed through for-next unless the fix is for a commit introduced in the most recent cycle or is clearly a regression fix.

The list of commits applied:
[1/1] platform/x86: acer-wmi: Add support for Acer Nitro ANV15-51

      commit: 71019d2a13e0766ca174846e68dc5c0bde2e6494

--
i.