ACPI / video: Add "Asus UL30A" to ACPI video detect blacklist
authorBastian Triller <[email protected]>
Sun, 19 May 2013 11:52:33 +0000 (11:52 +0000)
committerRafael J. Wysocki <[email protected]>
Wed, 22 May 2013 23:41:45 +0000 (01:41 +0200)
Like on UL30VT, the ACPI video driver can't control backlight correctly on
Asus UL30A.  Vendor driver (asus-laptop) can work.  This patch is to
add "Asus UL30A" to ACPI video detect blacklist in order to use
asus-laptop for video control on the "Asus UL30A" rather than ACPI
video driver.

Signed-off-by: Bastian Triller <[email protected]>
Cc: All <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
drivers/acpi/video_detect.c

index 66f67626f02ec42c5324085fc0a026f2ffca783d..e6bd910bc6edee4b55e3b6de7888bdd5c5ec06f6 100644 (file)
@@ -161,6 +161,14 @@ static struct dmi_system_id video_detect_dmi_table[] = {
                DMI_MATCH(DMI_PRODUCT_NAME, "UL30VT"),
                },
        },
+       {
+       .callback = video_detect_force_vendor,
+       .ident = "Asus UL30A",
+       .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
+               DMI_MATCH(DMI_PRODUCT_NAME, "UL30A"),
+               },
+       },
        { },
 };