[lkml]   [2011]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[29/55] ideapad: read brightness setting on brightness key notify
2.6.38-stable review patch.  If anyone has any objections, please let us know.


From: Ike Panhc <>

commit 2165136585b5c7d6f118f1d90fbde550bb7de212 upstream.


On ideapad Y530, the brightness key notify will be blocked if the last notify
is not responsed by getting the brightness value. Read value when we get the
notify shall fix the problem and will not have any difference on other ideapads.

Signed-off-by: Ike Panhc <>
Signed-off-by: Matthew Garrett <>
Signed-off-by: Greg Kroah-Hartman <>

drivers/platform/x86/ideapad-laptop.c | 2 ++
1 file changed, 2 insertions(+)

--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -459,6 +459,8 @@ static void ideapad_acpi_notify(struct a
if (test_bit(vpc_bit, &vpc1)) {
if (vpc_bit == 9)
+ else if (vpc_bit == 4)
+ read_ec_data(handle, 0x12, &vpc2);
ideapad_input_report(priv, vpc_bit);

 \ /
  Last update: 2011-04-29 21:07    [W:0.187 / U:6.244 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site