* [gentoo-commits] linux-patches r2789 - genpatches-2.6/trunk/3.4
@ 2014-05-15 18:55 Tom Wijsman (tomwij)
0 siblings, 0 replies; only message in thread
From: Tom Wijsman (tomwij) @ 2014-05-15 18:55 UTC (permalink / raw
To: gentoo-commits
Author: tomwij
Date: 2014-05-15 18:55:59 +0000 (Thu, 15 May 2014)
New Revision: 2789
Added:
genpatches-2.6/trunk/3.4/2700_thinkpad-acpi_fix-issuing-duplicated-keyevents-for-brightness.patch
Modified:
genpatches-2.6/trunk/3.4/0000_README
Log:
Add Thinkpad ACPI backport brightness control fix; fixes bug #508146, reported by Andreas Sturmlechner.
Modified: genpatches-2.6/trunk/3.4/0000_README
===================================================================
--- genpatches-2.6/trunk/3.4/0000_README 2014-05-15 13:30:10 UTC (rev 2788)
+++ genpatches-2.6/trunk/3.4/0000_README 2014-05-15 18:55:59 UTC (rev 2789)
@@ -427,6 +427,10 @@
From: Seth Forshee <seth.forshee@canonical.com>
Desc: ACPI: Disable Windows 8 compatibility for some Lenovo ThinkPads
+Patch: 2700_thinkpad-acpi_fix-issuing-duplicated-keyevents-for-brightness.patch
+From: http://www.spinics.net/lists/ibm-acpi-devel/msg02805.html
+Desc: thinkpad-acpi: fix issuing duplicated key events for brightness up/down
+
Patch: 4200_fbcondecor-0.9.6.patch
From: http://dev.gentoo.org/~spock
Desc: Bootsplash successor by Michal Januszewski ported by Alexxy
Added: genpatches-2.6/trunk/3.4/2700_thinkpad-acpi_fix-issuing-duplicated-keyevents-for-brightness.patch
===================================================================
--- genpatches-2.6/trunk/3.4/2700_thinkpad-acpi_fix-issuing-duplicated-keyevents-for-brightness.patch (rev 0)
+++ genpatches-2.6/trunk/3.4/2700_thinkpad-acpi_fix-issuing-duplicated-keyevents-for-brightness.patch 2014-05-15 18:55:59 UTC (rev 2789)
@@ -0,0 +1,26 @@
+The tp_features.bright_acpimode will not be set correctly for brightness
+control because ACPI_VIDEO_HID will not be located in ACPI. As a result,
+a duplicated key event will always be sent. acpi_video_backlight_support()
+is sufficient to detect standard ACPI brightness control.
+
+Signed-off-by: Alex Hung <alex.hung@xxxxxxxxxxxxx>
+---
+ drivers/platform/x86/thinkpad_acpi.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
+index 7b82868..7d032d5 100644
+--- a/drivers/platform/x86/thinkpad_acpi.c
++++ b/drivers/platform/x86/thinkpad_acpi.c
+@@ -3405,7 +3405,7 @@ static int __init hotkey_init(struct ibm_init_struct *iibm)
+ /* Do not issue duplicate brightness change events to
+ * userspace. tpacpi_detect_brightness_capabilities() must have
+ * been called before this point */
+- if (tp_features.bright_acpimode && acpi_video_backlight_support()) {
++ if (acpi_video_backlight_support()) {
+ pr_info("This ThinkPad has standard ACPI backlight "
+ "brightness control, supported by the ACPI "
+ "video driver\n");
+--
+1.7.0.4
+
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-15 18:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-15 18:55 [gentoo-commits] linux-patches r2789 - genpatches-2.6/trunk/3.4 Tom Wijsman (tomwij)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox