Re: [android-porting] Re: How to implement android Hardware HOME_KEY Function.

2015-06-09 Thread Sodkhuu Dalaikhuu
The button driver code example is attached. Button driver code directory is: /drivers/input/button You should edit this code for your hardware. On Tue, 9 Jun 2015 at 14:32 中外 wrote: > Dear sir. >our democode download from our chipset office web. but the democode > don't have this function. >

Re: [android-porting] Power button functionality (sleep/resume/wakeup)

2015-06-09 Thread Sodkhuu Dalaikhuu
Hi all, My custom board is sleeping with both power button event and screen timeout suspend. However, after suspend, LCD is not sleeping but changing RED, GREEN, BLUE and WHITE colors. When I press the power button again it wakes up. I have no clue about it. Could you please help me on this