summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-05-05 14:09:17 +0200
committerHans de Goede <hdegoede@redhat.com>2014-05-05 14:09:17 +0200
commitb2aa988fdb0a7e6eee57757852164136229034b9 (patch)
treea9a6635a9a561de2772aeca39c13c5c9ef69c61a
parent001ef40b869b9eb7792adadd41dc23a9aaf76dfe (diff)
downloadkernel-b2aa988fdb0a7e6eee57757852164136229034b9.tar.gz
kernel-b2aa988fdb0a7e6eee57757852164136229034b9.tar.xz
kernel-b2aa988fdb0a7e6eee57757852164136229034b9.zip
Add use_native_brightness quirk for the ThinkPad T530 (rhbz 1089545)
-rw-r--r--0001-acpi-video-Add-use_native_backlight-quirks-for-Think.patch76
-rw-r--r--kernel.spec9
2 files changed, 85 insertions, 0 deletions
diff --git a/0001-acpi-video-Add-use_native_backlight-quirks-for-Think.patch b/0001-acpi-video-Add-use_native_backlight-quirks-for-Think.patch
new file mode 100644
index 00000000..80e72221
--- /dev/null
+++ b/0001-acpi-video-Add-use_native_backlight-quirks-for-Think.patch
@@ -0,0 +1,76 @@
+From fdf69c4a4cfbc24694f58014e536ea5110fff9c1 Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Mon, 5 May 2014 10:15:53 +0200
+Subject: [PATCH] acpi-video: Add use_native_backlight quirks for ThinkPad
+ T430, T530 and Acer Aspire 5742G
+
+ThinkPad T430: extend the T430s entry to also cover the T430 (note we also
+have another entry for T430's with a different DMI_PRODUCT_VERSION).
+
+Reported-and-tested-by: edm <fuffi.il.fuffo@gmail.com>
+Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=51231
+
+Thinkpad T530
+Reported-and-tested-by: Balint Szigeti <balint.szgt@gmail.com>
+Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1089545
+
+Acer Aspire 5742G
+Reported-and-tested-by: AnAkkk <anakin.cs@gmail.com>
+Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=35622
+
+Cc: stable@vger.kernel.org
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+---
+ drivers/acpi/video.c | 20 ++++++++++++++++++--
+ 1 file changed, 18 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
+index 48146fc..4d14b27 100644
+--- a/drivers/acpi/video.c
++++ b/drivers/acpi/video.c
+@@ -457,10 +457,10 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
+ },
+ {
+ .callback = video_set_use_native_backlight,
+- .ident = "ThinkPad T430s",
++ .ident = "ThinkPad T430 and T430s",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+- DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T430s"),
++ DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T430"),
+ },
+ },
+ {
+@@ -472,6 +472,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
+ },
+ },
+ {
++ .callback = video_set_use_native_backlight,
++ .ident = "ThinkPad T530",
++ .matches = {
++ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
++ DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T530"),
++ },
++ },
++ {
+ .callback = video_set_use_native_backlight,
+ .ident = "ThinkPad X1 Carbon",
+ .matches = {
+@@ -521,6 +529,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
+ },
+ {
+ .callback = video_set_use_native_backlight,
++ .ident = "Acer Aspire 5742G",
++ .matches = {
++ DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
++ DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5742G"),
++ },
++ },
++ {
++ .callback = video_set_use_native_backlight,
+ .ident = "Acer Aspire V5-171",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+--
+1.9.0
+
diff --git a/kernel.spec b/kernel.spec
index c12b202d..6e939170 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -763,6 +763,9 @@ Patch25071: drm-fix-qxl-mode-flags-backport.patch
#rhbz 1093931
Patch25073: net-Start-with-correct-mac_len-in-skb_network_protoc.patch
+#rhbz 1089545
+Patch25074: 0001-acpi-video-Add-use_native_backlight-quirks-for-Think.patch
+
# END OF PATCH DEFINITIONS
%endif
@@ -1479,6 +1482,9 @@ ApplyPatch drm-fix-qxl-mode-flags-backport.patch
#rhbz 1093931
ApplyPatch net-Start-with-correct-mac_len-in-skb_network_protoc.patch
+#rhbz 1089545
+ApplyPatch 0001-acpi-video-Add-use_native_backlight-quirks-for-Think.patch
+
# END OF PATCH APPLICATIONS
%endif
@@ -2290,6 +2296,9 @@ fi
# ||----w |
# || ||
%changelog
+* Mon May 05 2014 Hans de Goede <hdegoede@redhat.com>
+- Add use_native_brightness quirk for the ThinkPad T530 (rhbz 1089545)
+
* Sat May 03 2014 Josh Boyer <jwboyer@fedoraproject.org>
- Fix TUN performance regression (rhbz 1093931)
- Add patch to fix HID rmi driver from Benjamin Tissoires (rhbz 1090161)