]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commitdiff
ACPI: OSI: Add DMI quirk for Acer Aspire One D255
authorSofia Schneider <sofia@schn.dev>
Mon, 23 Feb 2026 02:52:40 +0000 (23:52 -0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 24 Feb 2026 14:43:51 +0000 (15:43 +0100)
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 <sofia@schn.dev>
Link: https://patch.msgid.link/20260223025240.518509-1-sofia@schn.dev
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/osi.c

index f2c943b934be0a12dc445fe90c89c4e759b4ce8a..9470f1830ff50ff61b0e2929d71d0b94a4ac2920 100644 (file)
@@ -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")