linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ACPI / video: Add a quirk to force acpi-video backlight on SAMSUNG 530U4E/540U4E
@ 2015-12-30  5:11 Aaron Lu
  2016-01-03  0:36 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Aaron Lu @ 2015-12-30  5:11 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: ACPI Devel Mailing List, adam bk, Jani Nikula

The native interface on SAMSUNG 530U4E/540U4E doesn't work even though
the firmware claims Win8 compatible while the acpi_video interface
works, add a quirk for this.

Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=108971
Reported-and-tested-by: adam bk <adamdd55@gmail.com>
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
---
 drivers/acpi/video_detect.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index daaf1c4e1e0f..518f9cdc929d 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -250,6 +250,15 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
 		DMI_MATCH(DMI_PRODUCT_NAME, "XPS L521X"),
 		},
 	},
+	{
+	 /* https://bugzilla.kernel.org/show_bug.cgi?id=108971 */
+	 .callback = video_detect_force_video,
+	 .ident = "SAMSUNG 530U4E/540U4E",
+	 .matches = {
+		DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+		DMI_MATCH(DMI_PRODUCT_NAME, "530U4E/540U4E"),
+		},
+	},
 
 	/* Non win8 machines which need native backlight nevertheless */
 	{
-- 
2.5.0


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

* Re: [PATCH] ACPI / video: Add a quirk to force acpi-video backlight on SAMSUNG 530U4E/540U4E
  2015-12-30  5:11 [PATCH] ACPI / video: Add a quirk to force acpi-video backlight on SAMSUNG 530U4E/540U4E Aaron Lu
@ 2016-01-03  0:36 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2016-01-03  0:36 UTC (permalink / raw)
  To: Aaron Lu; +Cc: ACPI Devel Mailing List, adam bk, Jani Nikula

On Wednesday, December 30, 2015 01:11:24 PM Aaron Lu wrote:
> The native interface on SAMSUNG 530U4E/540U4E doesn't work even though
> the firmware claims Win8 compatible while the acpi_video interface
> works, add a quirk for this.
> 
> Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=108971
> Reported-and-tested-by: adam bk <adamdd55@gmail.com>
> Signed-off-by: Aaron Lu <aaron.lu@intel.com>

Applied, thanks!

> ---
>  drivers/acpi/video_detect.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
> index daaf1c4e1e0f..518f9cdc929d 100644
> --- a/drivers/acpi/video_detect.c
> +++ b/drivers/acpi/video_detect.c
> @@ -250,6 +250,15 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
>  		DMI_MATCH(DMI_PRODUCT_NAME, "XPS L521X"),
>  		},
>  	},
> +	{
> +	 /* https://bugzilla.kernel.org/show_bug.cgi?id=108971 */
> +	 .callback = video_detect_force_video,
> +	 .ident = "SAMSUNG 530U4E/540U4E",
> +	 .matches = {
> +		DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
> +		DMI_MATCH(DMI_PRODUCT_NAME, "530U4E/540U4E"),
> +		},
> +	},
>  
>  	/* Non win8 machines which need native backlight nevertheless */
>  	{
> 

-- 
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:[~2016-01-03  0:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-30  5:11 [PATCH] ACPI / video: Add a quirk to force acpi-video backlight on SAMSUNG 530U4E/540U4E Aaron Lu
2016-01-03  0: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;
as well as URLs for NNTP newsgroup(s).