X86 platform drivers
 help / color / mirror / Atom feed
From: Justin Vargas <justinyvar@gmail.com>
To: jlee@suse.com, hansg@kernel.org, ilpo.jarvinen@linux.intel.com
Cc: W_Armin@gmx.de, platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Justin Vargas <justinyvar@gmail.com>
Subject: [PATCH] platform/x86: acer-wmi: Add support for Acer Nitro ANV15-51
Date: Wed, 29 Jul 2026 18:29:20 -0400	[thread overview]
Message-ID: <20260729222920.6490-1-justinyvar@gmail.com> (raw)

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.

Signed-off-by: Justin Vargas <justinyvar@gmail.com>
Tested-by: Justin Vargas <justinyvar@gmail.com>
---
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(+)

diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index e0eaaefb13d..a7290f85166 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -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",
-- 
2.47.3


             reply	other threads:[~2026-07-29 22:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-29 22:29 Justin Vargas [this message]
2026-07-29 23:51 ` [PATCH v2] platform/x86: acer-wmi: Add support for Acer Nitro ANV15-51 Justin Vargas
2026-07-30  9:17   ` Armin Wolf
2026-07-30 14:05     ` Justin Vargas
2026-07-31  7:15       ` Justin Vargas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260729222920.6490-1-justinyvar@gmail.com \
    --to=justinyvar@gmail.com \
    --cc=W_Armin@gmx.de \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=jlee@suse.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox