From f22ebd0b2b7a7d5d07367c5c50f81185b9fa672b Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: May 01 2014 12:51:32 +0000 Subject: Add use_native_backlight quirk for 4 laptops (rhbz 983342 1093120) --- diff --git a/0001-acpi-video-Add-4-new-models-to-the-use_native_backli.patch b/0001-acpi-video-Add-4-new-models-to-the-use_native_backli.patch new file mode 100644 index 0000000..dd7f273 --- /dev/null +++ b/0001-acpi-video-Add-4-new-models-to-the-use_native_backli.patch @@ -0,0 +1,89 @@ +From 5573624261ab5d54f2dea2a3e09a98729db9ecd9 Mon Sep 17 00:00:00 2001 +From: Hans de Goede +Date: Wed, 30 Apr 2014 15:24:19 +0200 +Subject: [PATCH 1/2] acpi-video: Add 4 new models to the use_native_backlight + dmi list + +Acer Aspire V5-171 +https://bugzilla.redhat.com/show_bug.cgi?id=983342 + +Acer Aspire V5-471G +Lenovo Yoga 2 11 +Reported-and-tested-by: Vincent Gerris + +HP EliteBook 8470p +https://bugzilla.redhat.com/show_bug.cgi?id=1093120 + +Cc: stable@vger.kernel.org +Signed-off-by: Hans de Goede +--- + drivers/acpi/video.c | 32 ++++++++++++++++++++++++++++++++ + 1 file changed, 32 insertions(+) + +diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c +index 8b6990e..48146fc 100644 +--- a/drivers/acpi/video.c ++++ b/drivers/acpi/video.c +@@ -488,6 +488,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = { + }, + }, + { ++ .callback = video_set_use_native_backlight, ++ .ident = "Lenovo Yoga 2 11", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), ++ DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo Yoga 2 11"), ++ }, ++ }, ++ { + .callback = video_set_use_native_backlight, + .ident = "Thinkpad Helix", + .matches = { +@@ -513,6 +521,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = { + }, + { + .callback = video_set_use_native_backlight, ++ .ident = "Acer Aspire V5-171", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "Acer"), ++ DMI_MATCH(DMI_PRODUCT_NAME, "V5-171"), ++ }, ++ }, ++ { ++ .callback = video_set_use_native_backlight, + .ident = "Acer Aspire V5-431", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Acer"), +@@ -520,6 +536,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = { + }, + }, + { ++ .callback = video_set_use_native_backlight, ++ .ident = "Acer Aspire V5-471G", ++ .matches = { ++ DMI_MATCH(DMI_BOARD_VENDOR, "Acer"), ++ DMI_MATCH(DMI_PRODUCT_NAME, "Aspire V5-471G"), ++ }, ++ }, ++ { + .callback = video_set_use_native_backlight, + .ident = "HP ProBook 4340s", + .matches = { +@@ -571,6 +595,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = { + }, + { + .callback = video_set_use_native_backlight, ++ .ident = "HP EliteBook 8470p", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), ++ DMI_MATCH(DMI_PRODUCT_NAME, "HP EliteBook 8470p"), ++ }, ++ }, ++ { ++ .callback = video_set_use_native_backlight, + .ident = "HP EliteBook 8780w", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), +-- +1.9.0 + diff --git a/kernel.spec b/kernel.spec index 716a3c5..06d95d8 100644 --- a/kernel.spec +++ b/kernel.spec @@ -632,6 +632,9 @@ Patch25067: ACPICA-Tables-Fix-bad-pointer-issue-in-acpi_tb_parse_root_table.patc #rhbz 696821 Patch25068: fanotify-fix-EOVERFLOW-on-64-bit.patch +#rhbz 983342 1093120 +Patch25069: 0001-acpi-video-Add-4-new-models-to-the-use_native_backli.patch + # END OF PATCH DEFINITIONS %endif @@ -1338,6 +1341,9 @@ ApplyPatch ACPICA-Tables-Fix-bad-pointer-issue-in-acpi_tb_parse_root_table.patch #rhbz 696821 ApplyPatch fanotify-fix-EOVERFLOW-on-64-bit.patch +#rhbz 983342 1093120 +ApplyPatch 0001-acpi-video-Add-4-new-models-to-the-use_native_backli.patch + # END OF PATCH APPLICATIONS %endif @@ -2202,6 +2208,9 @@ fi # ||----w | # || || %changelog +* Thu May 1 2014 Hans de Goede +- Add use_native_backlight quirk for 4 laptops (rhbz 983342 1093120) + * Wed Apr 30 2014 Josh Boyer - 3.15.0-0.rc3.git3.1 - Linux v3.15-rc3-82-g8aa9e85adac6