Skip to contentSkip to conversation

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

PATCH Superseded Hans de Goede 2 participants 4 messages Oct 16, 2014 – Oct 21, 2014

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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

Reported (and tested) here:
https://bugzilla.redhat.com/show_bug.cgi?id=861573

---
 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 2/2 acer-wmi: Add acpi_backlight=video quirk for the Acer KAV80

https://bugzilla.redhat.com/show_bug.cgi?id=1128309

---
 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
#2 lore raw

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

Quoted 1 line · Hans de Goede

https://bugzilla.redhat.com/show_bug.cgi?id=1128309

Hi Hans,

As with 1/2, the content is fine, but please take the time to provide enough context in the commit log that a reader of git log can understand what is going on without requiring them to follow a bugzilla link.

Thanks,

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

On Thu, Oct 16, 2014 at 02:36:30PM +0200, Hans de Goede wrote:

Hi Hans,

Apoligies for the late response, travel and illness are taking their toll.

Quoted 2 lines

Reported (and tested) here:
https://bugzilla.redhat.com/show_bug.cgi?id=861573

The patch header is required to be sufficient to describe the problem and the solution without depending on an external bugzilla or other reference.

Please include a complete git commit message.

Quoted 31 lines
---
 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
Signature · 2 lines
Darren Hart
Intel Open Source Technology Center