From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CA1AF3F12E2 for ; Wed, 29 Jul 2026 22:36:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785364566; cv=none; b=LT0YtFJa0tbgol4bv1O5SZZdLLNFOkKLCu4furgNWCbIWmBbxUhRnOxG1yWlk3W82Sclspohq1Q9Mk2nqhla7X9IqkSU4GcZPCZUON1JLc0aFzK2zLZP1k+hWbKgtR14rKikCmmNn6KkpUQenx8HBS1i3BVni+vK6gmCXIjBNIs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785364566; c=relaxed/simple; bh=xlsmi3u3/n3PwIaZaNdxIG53UDgFKHZO7Fzobi2NxOU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SnsKEpDeNi5ITF7IQqgx7xR/AdnaHmP/+Pp5c9TvRDwDv/8z/T9ro6oBnOTgQ4h+nOZ8LHbzfTib3V1qZeIYDO3eZYoYqCeTJOcKbf5IobqgL/YI2tvHL3lGC62zxQU8oSADgR/bc7W5gXkyvqcFL7Su47V196KlX0dxmGuw+n4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=aNbjsIvq; arc=none smtp.client-ip=209.85.160.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aNbjsIvq" Received: by mail-qt1-f179.google.com with SMTP id d75a77b69052e-51c01089e8aso10966631cf.2 for ; Wed, 29 Jul 2026 15:36:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785364564; x=1785969364; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=u5fCX6hAU/42AizwI+7/BCppJtMsQ0i9yaIaJ+tm93M=; b=aNbjsIvq44twss8lT3UUy3XwNDnWfN8s/rqxIhDfsBjPK6EZbUyVp880fMHOKMD0A7 XX4OkLGZ1634jLVbnPRu4FNNh2ENRT5X08K5RxxAmbIvLeItxcWadk21NsRyuQC4KCji XxJrSPrM8oOd52yoIvxTAjvdkSzcEPag9qEVQdvt3sUEJiLMnpPY99pE0duNUfIdKyfu VxB8taq4btFIwc+gFD/RXZJ7SVZ6CreGCcow7HghhM+Gd5bRfdaJPt50eUGFH1t/Fld1 jlxWcY6P8qrA8n55s0JxPO+m69jTNrcNGFnpGACfYnx8vJo9c1ldYAylFG61VA+Nh3Fl 9JIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785364564; x=1785969364; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=u5fCX6hAU/42AizwI+7/BCppJtMsQ0i9yaIaJ+tm93M=; b=IJPmbLNN7PbkomCXNR/l6dUetGGQXblrneqrWHYd85PLnPox+77r7FABp3ONXvFoxW 4aogAFyGxJxeGkYkiNy1J0qcIF84F/xYlNtiKJYdSWkoUetbDEXD9z6ICQCan0LIGV6V EDTM5IHeji/DK5lT39PDw/ES6SAdl8a9ReqlG7HrCwlDzfNmZCMf2NIUQSlbm5DGu3aI 6Ktc9lE9pIavj4xTtPGWQ/1hXkGDT8PMjn4ZHfCQQ/fH9AX6u8wx9tmUAm/Rz9tPF5CD urU2t4pY9aU6CCDrlDidVX2ZzZ7l74y3pGXXOZHkJ+2WKIrD6FBI5gk5boWZKgbZGn45 avNQ== X-Forwarded-Encrypted: i=1; AHgh+RqG0tLP6Iko0fD5Saf2+t05eVCQ1MSEralqLsQpXjUln9WAGFfYtUu+PjQFnumq8frqktMhlYBAvp6msBs=@vger.kernel.org X-Gm-Message-State: AOJu0YwnBqzT+iPUgAwZiXIFkrQYzXLMfysPItnfEFmuDLGx4z2KU0gA hJb8yxJcg4/CEWf1fLR8Ek5JWS0cp6Rn1WwQ0tPkfM+9ecNTnEZIGJg= X-Gm-Gg: AR+sD10fol/ftgbUlRAR44lC71O65aLjzJmbKxxHmB0N6lf/QeKm2uFcc8KMuElPBHp 8hzHKe80vsWsWlOQ3k835Qou/tIbd3XAesaZWqKe/H3jU+W5BhS/owmQnye6YAxIMMgAfTIWlDh fnHeV644WeAS+eAxbBPSIZpuZbg+sp1JTYbRdifruKKNSm5ASauKTKLQu/4Tly5KdXq/HtlWXG4 IvaLXFuROIk9z1IRAzSmJ1wqJRRJIuujlrWS075dFdDqYn5KIhlUZDJ1/JderZ1DXZUJsgtWytr EpBlpM0Em6Cp0ZQMzMlDK0utq15YJbBk9dTSNmFhcwpvo4ZEyLTh6ZZB7HPyWN2+QmWQjAuVKjk efjlV06rxlORIDkqkqr6/lsqtztlIJZVui72Dn/WjFAAKj+l4q7/3NgtxPUH5Saf3pj1b5QsPq6 bOf7+Eo4mhnmhOUbJlIykjDZ+WB9P8mPYBJKe0k2XRdDrfDuspqr6/eLlsb9Ugbjt2V7Sl0A2WF DK4ZuuVi4+HHse0/IW7g9EKL7Hrgw5QJGvek9QjrmQKuPQY9+a0//eXNg== X-Received: by 2002:a05:622a:110:b0:51c:1117:c6a with SMTP id d75a77b69052e-52b38369e63mr4179241cf.4.1785364563584; Wed, 29 Jul 2026 15:36:03 -0700 (PDT) Received: from localhost.localdomain (ool-4577f7ba.dyn.optonline.net. [69.119.247.186]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-529e30fc51fsm28415081cf.30.2026.07.29.15.36.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2026 15:36:03 -0700 (PDT) From: Justin Vargas 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 Subject: [PATCH] platform/x86: acer-wmi: Add support for Acer Nitro ANV15-51 Date: Wed, 29 Jul 2026 18:29:20 -0400 Message-ID: <20260729222920.6490-1-justinyvar@gmail.com> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Tested-by: Justin Vargas --- 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