Im having the same problem man, gpio_kp is up 95% of the time, my phone 
never goes to sleep, thou i dont know how to do the time out things, maybe 
u can explain this to me?

On Sunday, March 27, 2011 12:42:57 PM UTC+2, philhaz wrote:
>
> My HTC Hero has developed a fault that makes the system believe the 
> trackball is being constantly held. I managed to block this at the OS 
> level, but it still seems to be affecting power management (the device 
> never goes to sleep, so battery life is abysmal). Reading the 
> explanation below suggests that I would have to block this input at 
> the keypad driver level to prevent keypad-scan wakelocks. 
>
>
> http://source.android.com/porting/power_management.html#androidPowerWakeLocks 
>
> Examining "/proc/wakelocks" shows that "gpio_kp" has significantly 
> larger "active since", "total time" "sleep time" and "max time" values 
> than anything else, which supports my assumption that it is the kepad 
> driver keeping the phone awake. 
>
> I have very little experience when it comes to C and Linux, so I'm 
> struggling to work out where and how to block these signals. I've 
> found the "input.h" file under "include/linux", and the problem key is 
> defined on line 393: 
>
> #define BTN_MOUSE                0x110 
>
> But here is where I come unstuck. Any help would be greatly 
> appreciated!

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to