public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ACPI / video: Add some samsung models to disable_native_backlight list
@ 2014-12-22  7:18 Aaron Lu
  2014-12-22 22:36 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Aaron Lu @ 2014-12-22  7:18 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: ACPI Devel Mailing List, Brent Saner, Vitaliy Filippov,
	Laszlo KREKACS, Vladimir Perepechin

The SAMSUNG 870Z5E/880Z5E/680Z5E and SAMSUNG
370R4E/370R4V/370R5E/3570RE/370R5V do not have a working native
backlight control interface so restore their acpi_videoX interface.

Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=84221
Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=84651
For SAMSUNG 870Z5E/880Z5E/680Z5E:
Reported-and-tested-by: Brent Saner <brent.saner@gmail.com>
Reported-by: Vitaliy Filippov <vitalif@yourcmc.ru>
Reported-by: Laszlo KREKACS <laszlo.krekacs.list@gmail.com>
For SAMSUNG 370R4E/370R4V/370R5E/3570RE/370R5V:
Reported-by: Vladimir Perepechin <vovochka13@gmail.com>
Cc: 3.17+ <stable@vger.kernel.org> # 3.17+
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
---
 drivers/acpi/video.c | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index adf4b4cf0be6..43384360c2b1 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -492,6 +492,23 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
 		DMI_MATCH(DMI_PRODUCT_NAME, "HP ENVY 15 Notebook PC"),
 		},
 	},
+
+	{
+	 .callback = video_disable_native_backlight,
+	 .ident = "SAMSUNG 870Z5E/880Z5E/680Z5E",
+	 .matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+		DMI_MATCH(DMI_PRODUCT_NAME, "870Z5E/880Z5E/680Z5E"),
+		},
+	},
+	{
+	 .callback = video_disable_native_backlight,
+	 .ident = "SAMSUNG 370R4E/370R4V/370R5E/3570RE/370R5V",
+	 .matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+		DMI_MATCH(DMI_PRODUCT_NAME, "370R4E/370R4V/370R5E/3570RE/370R5V"),
+		},
+	},
 	{}
 };
 
-- 
1.9.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ACPI / video: Add some samsung models to disable_native_backlight list
  2014-12-22  7:18 [PATCH] ACPI / video: Add some samsung models to disable_native_backlight list Aaron Lu
@ 2014-12-22 22:36 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2014-12-22 22:36 UTC (permalink / raw)
  To: Aaron Lu
  Cc: ACPI Devel Mailing List, Brent Saner, Vitaliy Filippov,
	Laszlo KREKACS, Vladimir Perepechin

On Monday, December 22, 2014 03:18:05 PM Aaron Lu wrote:
> The SAMSUNG 870Z5E/880Z5E/680Z5E and SAMSUNG
> 370R4E/370R4V/370R5E/3570RE/370R5V do not have a working native
> backlight control interface so restore their acpi_videoX interface.
> 
> Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=84221
> Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=84651
> For SAMSUNG 870Z5E/880Z5E/680Z5E:
> Reported-and-tested-by: Brent Saner <brent.saner@gmail.com>
> Reported-by: Vitaliy Filippov <vitalif@yourcmc.ru>
> Reported-by: Laszlo KREKACS <laszlo.krekacs.list@gmail.com>
> For SAMSUNG 370R4E/370R4V/370R5E/3570RE/370R5V:
> Reported-by: Vladimir Perepechin <vovochka13@gmail.com>
> Cc: 3.17+ <stable@vger.kernel.org> # 3.17+
> Signed-off-by: Aaron Lu <aaron.lu@intel.com>

Applied, thanks!

> ---
>  drivers/acpi/video.c | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
> 
> diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
> index adf4b4cf0be6..43384360c2b1 100644
> --- a/drivers/acpi/video.c
> +++ b/drivers/acpi/video.c
> @@ -492,6 +492,23 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
>  		DMI_MATCH(DMI_PRODUCT_NAME, "HP ENVY 15 Notebook PC"),
>  		},
>  	},
> +
> +	{
> +	 .callback = video_disable_native_backlight,
> +	 .ident = "SAMSUNG 870Z5E/880Z5E/680Z5E",
> +	 .matches = {
> +		DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
> +		DMI_MATCH(DMI_PRODUCT_NAME, "870Z5E/880Z5E/680Z5E"),
> +		},
> +	},
> +	{
> +	 .callback = video_disable_native_backlight,
> +	 .ident = "SAMSUNG 370R4E/370R4V/370R5E/3570RE/370R5V",
> +	 .matches = {
> +		DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
> +		DMI_MATCH(DMI_PRODUCT_NAME, "370R4E/370R4V/370R5E/3570RE/370R5V"),
> +		},
> +	},
>  	{}
>  };
>  
> 

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-22 22:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-22  7:18 [PATCH] ACPI / video: Add some samsung models to disable_native_backlight list Aaron Lu
2014-12-22 22:36 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox