1 From: Thomas Renninger <trenn@suse.de>
2 Subject: Blacklist HP laptop (6530b) to not use generic ACPI backlight interface
4 Patch-Mainline: never, this will be IGD driven which is too risky to backport
7 Signed-off-by: Thomas Renninger <trenn@suse.de>
10 drivers/acpi/video_detect.c | 20 ++++++++++++++++++++
11 1 file changed, 20 insertions(+)
13 Index: linux-2.6.27-SLE11_BRANCH/drivers/acpi/video_detect.c
14 ===================================================================
15 --- linux-2.6.27-SLE11_BRANCH.orig/drivers/acpi/video_detect.c
16 +++ linux-2.6.27-SLE11_BRANCH/drivers/acpi/video_detect.c
17 @@ -142,6 +142,25 @@ find_video(acpi_handle handle, u32 lvl,
21 +static int set_dmi_blacklisting(const struct dmi_system_id *id)
23 + printk(KERN_NOTICE "%s detected - adjusting backlight video\n",
25 + acpi_video_support |= (long)id->driver_data;
29 +static struct dmi_system_id video_backlight_blacklist[] = {
30 + { set_dmi_blacklisting,
32 + DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
33 + DMI_MATCH(DMI_PRODUCT_NAME, "6530b")
35 + (void *) ACPI_VIDEO_BACKLIGHT_DMI_VENDOR
41 * Returns the video capabilities of a specific ACPI graphics device
43 @@ -176,6 +195,7 @@ long acpi_video_get_capabilities(acpi_ha
44 * ACPI_VIDEO_BACKLIGHT_DMI_VENDOR;
47 + dmi_check_system(video_backlight_blacklist);
49 status = acpi_bus_get_device(graphics_handle, &tmp_dev);
50 if (ACPI_FAILURE(status)) {