From 7fd1921ca2a3830c4d3ff650c22c65414596a992 Mon Sep 17 00:00:00 2001 From: Josh Boyer Date: Tue, 3 Jun 2014 10:06:29 -0400 Subject: [PATCH] Use native backlight for HP ProBook 4540s (rhbz 1025690) From: Hans de Goede --- ...se_native_backlight-quirk-for-HP-Pro.patch | 41 +++++++++++++++++++ kernel.spec | 3 ++ 2 files changed, 44 insertions(+) create mode 100644 acpi-video-Add-use_native_backlight-quirk-for-HP-Pro.patch diff --git a/acpi-video-Add-use_native_backlight-quirk-for-HP-Pro.patch b/acpi-video-Add-use_native_backlight-quirk-for-HP-Pro.patch new file mode 100644 index 000000000..c8c1f7aa2 --- /dev/null +++ b/acpi-video-Add-use_native_backlight-quirk-for-HP-Pro.patch @@ -0,0 +1,41 @@ +Bugzilla: 1025690 +Upstream-status: Waiting for feedback from reporter + +From dfe2c6722a6f6cb45f6b336b094b26a77acd8393 Mon Sep 17 00:00:00 2001 +From: Hans de Goede +Date: Mon, 2 Jun 2014 17:41:11 +0200 +Subject: [PATCH 14/14] acpi-video: Add use_native_backlight quirk for HP + ProBook 4540s + +As reported here: +https://bugzilla.redhat.com/show_bug.cgi?id=1025690 +This is yet another model which needs this quirk. + +Cc: stable@vger.kernel.org +Signed-off-by: Hans de Goede +--- + drivers/acpi/video.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c +index dcb0ef4c22f6..3db16753f88a 100644 +--- a/drivers/acpi/video.c ++++ b/drivers/acpi/video.c +@@ -548,6 +548,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = { + }, + { + .callback = video_set_use_native_backlight, ++ .ident = "HP ProBook 4540s", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), ++ DMI_MATCH(DMI_PRODUCT_VERSION, "HP ProBook 4540s"), ++ }, ++ }, ++ { ++ .callback = video_set_use_native_backlight, + .ident = "HP ProBook 2013 models", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), +-- +1.9.0 + diff --git a/kernel.spec b/kernel.spec index ede3b16be..828f11967 100644 --- a/kernel.spec +++ b/kernel.spec @@ -657,6 +657,8 @@ Patch26010: nouveau-Don-t-check-acpi_video_backlight_support-bef.patch Patch26011: backlight-Add-backlight-device-un-registration-notif.patch Patch26012: acpi-video-Unregister-the-backlight-device-if-a-raw-.patch Patch26013: acpi-video-Add-use-native-backlight-quirk-for-the-Th.patch +Patch26014: acpi-video-Add-use_native_backlight-quirk-for-HP-Pro.patch + # END OF PATCH DEFINITIONS %endif @@ -1390,6 +1392,7 @@ ApplyPatch nouveau-Don-t-check-acpi_video_backlight_support-bef.patch ApplyPatch backlight-Add-backlight-device-un-registration-notif.patch ApplyPatch acpi-video-Unregister-the-backlight-device-if-a-raw-.patch ApplyPatch acpi-video-Add-use-native-backlight-quirk-for-the-Th.patch +ApplyPatch acpi-video-Add-use_native_backlight-quirk-for-HP-Pro.patch # END OF PATCH APPLICATIONS