Skip to contentSkip to conversation

samsung-laptop: Add broken-acpi-video quirk for NC210/NC110

PATCH Applied Hans de Goede 2 participants 4 messages Oct 22, 2014 – Oct 28, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 samsung-laptop: Add broken-acpi-video quirk for NC210/NC110

The acpi-video backlight interface on the NC210 does not work, blacklist it and use the samsung-laptop interface instead.

--
Changes in v2: Improve commit message

---
 drivers/platform/x86/samsung-laptop.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
drivers/platform/x86/samsung-laptop.c +10 -0
index 5a59665..ff765d8 100644
@@ -1561,6 +1561,16 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = {
 	},
 	{
 	 .callback = samsung_dmi_matched,
+	 .ident = "NC210",
+	 .matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+		DMI_MATCH(DMI_PRODUCT_NAME, "NC210/NC110"),
+		DMI_MATCH(DMI_BOARD_NAME, "NC210/NC110"),
+		},
+	 .driver_data = &samsung_broken_acpi_video,
+	},
+	{
+	 .callback = samsung_dmi_matched,
 	 .ident = "730U3E/740U3E",
 	 .matches = {
 		DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
Signature · 1 line
2.1.0
#1 lore raw

PATCH v2 2/2 acer-wmi: Add acpi_backlight=video quirk for the Acer KAV80

The acpi-video backlight interface on the Acer KAV80 is broken, and worse it causes the entire machine to slow down significantly after a suspend/resume.

Blacklist it, and use the acer-wmi backlight interface instead. Note that the KAV80 is somewhat unique in that it is the only Acer model where we fall back to acer-wmi after blacklisting, rather then using the native (e.g. intel) backlight driver. This is done because there is no native backlight interface on this model.

--
Changes in v2: Improve commit message

---
 drivers/platform/x86/acer-wmi.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
drivers/platform/x86/acer-wmi.c +11 -0
index 96a0b75..26c4fd1 100644
@@ -579,6 +579,17 @@ static const struct dmi_system_id video_vendor_dmi_table[] __initconst = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5741"),
 		},
 	},
+	{
+		/*
+		 * Note no video_set_backlight_video_vendor, we must use the
+		 * acer interface, as there is no native backlight interface.
+		 */
+		.ident = "Acer KAV80",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "KAV80"),
+		},
+	},
 	{}
 };
 
Signature · 1 line
2.1.0
Applied
#2 lore raw

Re: [PATCH v2 2/2] acer-wmi: Add acpi_backlight=video quirk for the Acer KAV80

Quoted 9 lines · Hans de Goede

The acpi-video backlight interface on the Acer KAV80 is broken, and worse it causes the entire machine to slow down significantly after a suspend/resume.

Blacklist it, and use the acer-wmi backlight interface instead. Note that the KAV80 is somewhat unique in that it is the only Acer model where we fall back to acer-wmi after blacklisting, rather then using the native (e.g. intel) backlight driver. This is done because there is no native backlight interface on this model.

Quoted 6 lines

--
Changes in v2: Improve commit message

Queued, thanks Hans.

Signature · 2 lines
Darren Hart
Intel Open Source Technology Center
Applied
#3 lore raw
In reply to Hans de Goede
Quoted 9 lines · Hans de Goede

The acpi-video backlight interface on the NC210 does not work, blacklist it and use the samsung-laptop interface instead.

--
Changes in v2: Improve commit message

Queued, thanks Hans.

(In the future, please use my infradead email address for submissions as
documented in MAINTAINERS. Kernel patches to dvhart.com will be lost)

Signature · 2 lines
Darren Hart
Intel Open Source Technology Center