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 57579823DD; Mon, 23 Mar 2026 14:15:28 +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=1774275328; cv=none; b=YjcIwOS+lM90ihn8+tMGAc6oie+9+V8uW7JSdkh4f1hgWwq4I3uXRwiL2XBogHsvdLKhoUthLjGq/Qu4H4bb86eo4ktvV2o//58mHFfylixR0OIzNCCa8g4//FflR1Z52rj6YcDpLDbMQV8GJR+pFfUJClsqC86i2G3KXmk+SBg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774275328; c=relaxed/simple; bh=nApvM6kscr5FImhaeEbAtO467ZW/yH3Fi+SqoDziSMo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=X+iSk21Db6WUi63oCnOpm1K6dMfkxkTOvgpreBvx1NJT4dDkrMX7zXjAHXtD4ATV/D8Jz8VU6pRkZmHB6N+L7P5NCpkxJIoJOXt7KSEtg8cYVI/2/RCBW5m9OPUXs0txTYrFMwfi5eNmFyMU/0VJk116u44+YUzjzf+P3NVxw3k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=F6Qe1rid; 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="F6Qe1rid" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDF75C2BC9E; Mon, 23 Mar 2026 14:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774275328; bh=nApvM6kscr5FImhaeEbAtO467ZW/yH3Fi+SqoDziSMo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F6Qe1ridaJre9Drzy6Pj56/QeG6RIOiev4eE/7xEUzHGIGUKruF8IZaBHkr/EC2/H LNIoUVSL1j32C8Zb2gWlqJX+IKcjGy5yVTkgXvKTv7s0ev595B7BLU7M1VyXg8d5RJ 0u7f2ICYf7KCw3OghVYpgE26SCzv2ZTjlv2uNd9Y= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Sofia Schneider , "Rafael J. Wysocki" , Sasha Levin Subject: [PATCH 6.12 007/460] ACPI: OSI: Add DMI quirk for Acer Aspire One D255 Date: Mon, 23 Mar 2026 14:40:03 +0100 Message-ID: <20260323134526.835282399@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260323134526.647552166@linuxfoundation.org> References: <20260323134526.647552166@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-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Sofia Schneider [ Upstream commit 5ede90206273ff156a778254f0f972a55e973c89 ] The screen backlight turns off during boot (specifically during udev device initialization) when returning true for _OSI("Windows 2009"). Analyzing the device's DSDT reveals that the firmware takes a different code path when Windows 7 is reported, which leads to the backlight shutoff. Add a DMI quirk to invoke dmi_disable_osi_win7 for this model. Signed-off-by: Sofia Schneider Link: https://patch.msgid.link/20260223025240.518509-1-sofia@schn.dev Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- drivers/acpi/osi.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/drivers/acpi/osi.c b/drivers/acpi/osi.c index f2c943b934be0..9470f1830ff50 100644 --- a/drivers/acpi/osi.c +++ b/drivers/acpi/osi.c @@ -389,6 +389,19 @@ static const struct dmi_system_id acpi_osi_dmi_table[] __initconst = { }, }, + /* + * The screen backlight turns off during udev device creation + * when returning true for _OSI("Windows 2009") + */ + { + .callback = dmi_disable_osi_win7, + .ident = "Acer Aspire One D255", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Acer"), + DMI_MATCH(DMI_PRODUCT_NAME, "AOD255"), + }, + }, + /* * The wireless hotkey does not work on those machines when * returning true for _OSI("Windows 2012") -- 2.51.0