From: Lan Tianyu Date: Fri, 30 Nov 2012 12:02:50 +0000 (+0100) Subject: ACPI / video: Add "Asus UL30VT" to ACPI video detect blacklist X-Git-Tag: v3.8-rc1~182^2~1^2~4 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=d0c2ce16bec0afa6013b4c5220ca4c9c67210215;p=linux-2.6-block.git ACPI / video: Add "Asus UL30VT" to ACPI video detect blacklist The ACPI video driver can't control backlight correctly on Asus UL30VT. Vendor driver (asus-laptop) can work. This patch is to add "Asus UL30VT" to ACPI video detect blacklist in order to use asus-laptop for video control on the "Asus UL30VT" rather than ACPI video driver. References: https://bugzilla.kernel.org/show_bug.cgi?id=32592 Reported-by: Alex Williamson Cc: Signed-off-by: Lan Tianyu Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index b728880ef10e..4ac2593234e7 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -156,6 +156,14 @@ static struct dmi_system_id video_detect_dmi_table[] = { DMI_MATCH(DMI_BOARD_NAME, "X360"), }, }, + { + .callback = video_detect_force_vendor, + .ident = "Asus UL30VT", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "UL30VT"), + }, + }, { }, };