Skip to contentSkip to conversation

ACPI: video: DMI workaround broken Acer 5710 BIOS enabling display brightness

PATCH In review Ozan Çağlayan 2 participants 4 messages Jun 14, 2010 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: video: DMI workaround broken Acer 5710 BIOS enabling display brightness

Acer Aspire 5710 suffers from a similar ACPI problem reported at:
http://bugzilla.kernel.org/show_bug.cgi?id=13121

like the 5710Z and 7720.

---
 drivers/acpi/video.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
drivers/acpi/video.c +8 -0
index 9865d46..e2436d1 100644
@@ -571,6 +571,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
 	},
 	{
 	 .callback = video_set_bqc_offset,
+	 .ident = "Acer Aspire 5710",
+	 .matches = {
+		DMI_MATCH(DMI_BOARD_VENDOR, "Acer"),
+		DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5710"),
+		},
+	},
+	{
+	 .callback = video_set_bqc_offset,
 	 .ident = "Acer Aspire 5710Z",
 	 .matches = {
 		DMI_MATCH(DMI_BOARD_VENDOR, "Acer"),
Signature · 6 lines
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw
Quoted 2 lines · Ozan Çağlayan

Acer Aspire 5710 suffers from a similar ACPI problem reported at:
http://bugzilla.kernel.org/show_bug.cgi?id=13121

Bleah. Is this really necessary? If we set maximum brightness and then read back something other than maximum brightness, then that gives us the offset.

Signature · 5 lines
Matthew Garrett | [email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
Quoted 7 lines · Matthew Garrett
Quoted 2 lines · Ozan Çağlayan

Acer Aspire 5710 suffers from a similar ACPI problem reported at:
http://bugzilla.kernel.org/show_bug.cgi?id=13121

Bleah. Is this really necessary? If we set maximum brightness and then read back something other than maximum brightness, then that gives us the offset.

By *this* do you mean the specific quirk that I sent or the whole offset workaround suggested and upstreamed in the bug report?

Actually I sync'ed the video driver from linux-2.6 on top of 2.6.31.13 and applied this patch. The user reported that it fixed the issue but it is possible that this quirk
is NOOP and the bug is already fixed with what I've backported.

I'll let him try without the patch, and report back.

Thanks,
Regards.
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 2 lines · Ozan Çağlayan

By *this* do you mean the specific quirk that I sent or the whole offset workaround suggested and upstreamed in the bug report?

Sorry, yeah, the entire workaround. I'll look into producing something more generic. Right now the quirk is the only thing that'll work.

Signature · 5 lines
Matthew Garrett | [email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html