ACPI / video: Add a quirk to force acpi-video backlight on SAMSUNG 530U4E/540U4E
authorAaron Lu <aaron.lu@intel.com>
Wed, 30 Dec 2015 05:11:24 +0000 (13:11 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 1 Jan 2016 02:14:57 +0000 (03:14 +0100)
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.

Link: 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>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video_detect.c

index 8fe2682..90e2d54 100644 (file)
@@ -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 */
        {