From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 66ED02D73B4; Thu, 15 Jan 2026 17:42:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768498944; cv=none; b=R9YmWIadsYDXqJjyuk0P9Tr0i7FpRbfB7LRNYXnkxg00cLFbjse3or0wIPI3hYb0aGuzDAvZTfTx1GjbmZbdnH/fIhm879cw7OVHyEEkxByvZQGT2e7TDhfUYl+rmu+gpk4cSG8/dOXpyv5K/jYA5QiCoj9NamvggVuNDdIdwOc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768498944; c=relaxed/simple; bh=2zl+N7UkyPAEmt1JHZDjGR5jYu0Ld5afuF4JOR+e9U0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lYWe7NU5qWd02ogNBrDlVaJxrp9UtWvRvwhOFXukfVmYvpT8u7GAqEeCqggR41gGj5HDR8RxGoVD0nC6iB+oLOa37GJkZPIE6hHg8ND8sIucCcrT9O5cO9/btVlt7hXY9RYkpXAG80U7AplRurBh5/mNquy/dJT9CeReK+Vp5dQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GDJE8ENX; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="GDJE8ENX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCDDEC116D0; Thu, 15 Jan 2026 17:42:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768498944; bh=2zl+N7UkyPAEmt1JHZDjGR5jYu0Ld5afuF4JOR+e9U0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GDJE8ENXhz0ubEQOpyWpLbtltaWj7AF8KDpwE+xl1sFci0L4CckEeezbKOk8Sqf+d AaSnyFnQcU4Ho278ApOZ9jOAzteDZXwcQUJ/RH7klBHlIiOPa9+p78xOiIlqTApdif XbOK0zfQ9dSfDPOenluRk6yzMRcM5qjK9b9zWvE4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Bugaddr , Armin Wolf , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Sasha Levin Subject: [PATCH 5.10 021/451] platform/x86: acer-wmi: Ignore backlight event Date: Thu, 15 Jan 2026 17:43:42 +0100 Message-ID: <20260115164231.656424278@linuxfoundation.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260115164230.864985076@linuxfoundation.org> References: <20260115164230.864985076@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Armin Wolf [ Upstream commit 444a9256f8d106e08a6bc2dc8ef28a8699e4b3ba ] On the Acer Nitro AN515-58, the event 4 - 0 is send by the ACPI firmware when the backlight up/down keys are pressed. Ignore this event to avoid spamming the kernel log with error messages, as the acpi-video driver already handles brightness up/down events. Reported-by: Bugaddr Closes: https://bugaddr.tech/posts/2025-11-16-debugging-the-acer-nitro-5-an515-58-fn-f10-keyboard-backlight-bug-on-linux/#wmi-interface-issues Tested-by: Bugaddr Signed-off-by: Armin Wolf Link: https://patch.msgid.link/20251117155938.3030-1-W_Armin@gmx.de Reviewed-by: Ilpo Järvinen Signed-off-by: Ilpo Järvinen Signed-off-by: Sasha Levin --- drivers/platform/x86/acer-wmi.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index ebec49957ed09..b35a0539a99c6 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -81,6 +81,7 @@ MODULE_ALIAS("wmi:676AA15E-6A47-4D9F-A2CC-1E6D18D14026"); enum acer_wmi_event_ids { WMID_HOTKEY_EVENT = 0x1, + WMID_BACKLIGHT_EVENT = 0x4, WMID_ACCEL_OR_KBD_DOCK_EVENT = 0x5, }; @@ -1890,6 +1891,9 @@ static void acer_wmi_notify(u32 value, void *context) sparse_keymap_report_event(acer_wmi_input_dev, scancode, 1, true); } break; + case WMID_BACKLIGHT_EVENT: + /* Already handled by acpi-video */ + break; case WMID_ACCEL_OR_KBD_DOCK_EVENT: acer_gsensor_event(); acer_kbd_dock_event(&return_value); -- 2.51.0