Skip to contentSkip to conversation

ACPI: OSI: Add DMI quirk for Acer Aspire One D255

PATCH Applied Sofia Schneider 2 participants 2 messages Feb 23 – Feb 24 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: OSI: Add DMI quirk for Acer Aspire One D255

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.

---
 drivers/acpi/osi.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)
drivers/acpi/osi.c +13 -0
index f2c943b934be..9470f1830ff5 100644
@@ -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")
Signature · 1 line
2.53.0
maintainer Applied
#1 lore raw
Quoted 28 lines · Sofia Schneider

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.

---
 drivers/acpi/osi.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)
drivers/acpi/osi.c +7 -0
index f2c943b934be..9470f1830ff5 100644
@@ -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",

drivers/acpi/osi.c static const struct dmi_system_id acpi_osi_dmi_table[] __initconst = {

Quoted 10 lines
drivers/acpi/osi.c +6 -1
+       .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")
--

Applied as 7.0-rc material, thanks!