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

2015-06-09 Thread Sodkhuu Dalaikhuu
further to suspend to RAM that means someone is holding a wake_lock. -Girish -- Forwarded message -- From: Ashwin Bihari abi...@gmail.com javascript: Date: Fri, Feb 26, 2010 at 8:41 AM Subject: Re: [android-porting] Power button functionality

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

2010-04-10 Thread Ashwin Bihari
on the terminal? if it does and doesn't go any further to suspend to RAM that means someone is holding a wake_lock. -Girish -- Forwarded message -- From: Ashwin Bihari abih...@gmail.com Date: Fri, Feb 26, 2010 at 8:41 AM Subject: Re: [android-porting] Power button

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

2010-04-10 Thread Jebediah Huang
-- Forwarded message -- From: Ashwin Bihari abih...@gmail.com Date: Fri, Feb 26, 2010 at 8:41 AM Subject: Re: [android-porting] Power button functionality (sleep/resume/wakeup) To: girish neo.driz...@gmail.com Girish, No, I don't want the power button to turn

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

2010-04-09 Thread Ashwin Bihari
button functionality (sleep/resume/wakeup) To: girish neo.driz...@gmail.com Girish, No, I don't want the power button to turn the device off, I've already implemented that at the Kernel level through a different scheme. I want to invoke the Linux Power Manage suspend and resume

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

2010-04-09 Thread Jebediah Huang
a wake_lock. -Girish -- Forwarded message -- From: Ashwin Bihari abih...@gmail.com Date: Fri, Feb 26, 2010 at 8:41 AM Subject: Re: [android-porting] Power button functionality (sleep/resume/wakeup) To: girish neo.driz...@gmail.com Girish, No, I don't want

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

2010-03-09 Thread Ashwin Bihari
. -Girish -- Forwarded message -- From: Ashwin Bihari abih...@gmail.com Date: Fri, Feb 26, 2010 at 8:41 AM Subject: Re: [android-porting] Power button functionality (sleep/resume/wakeup) To: girish neo.driz...@gmail.com Girish, No, I don't want the power

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

2010-03-08 Thread girish
abih...@gmail.com Date: Fri, Feb 26, 2010 at 8:41 AM Subject: Re: [android-porting] Power button functionality (sleep/resume/wakeup) To: girish neo.driz...@gmail.com Girish, No, I don't want the power button to turn the device off, I've already implemented that at the Kernel

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

2010-02-26 Thread Ashwin Bihari
To list -- Ashwin -- Forwarded message -- From: Ashwin Bihari abih...@gmail.com Date: Fri, Feb 26, 2010 at 8:41 AM Subject: Re: [android-porting] Power button functionality (sleep/resume/wakeup) To: girish neo.driz...@gmail.com Girish, No, I don't want the power button

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

2010-02-26 Thread girish
] Power button functionality (sleep/resume/wakeup) To: girish neo.driz...@gmail.com Girish, No, I don't want the power button to turn the device off, I've already implemented that at the Kernel level through a different scheme. I want to invoke the Linux Power Manage suspend and resume

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

2010-02-25 Thread girish
I guess you intend to power off the device when you hit the power button right? First, the keycode as you mentioned should map Android power key. Secondly, you should have proper hook in baseport level for pm_power_off() for DEVICE OFF. -Girish On Wed, Feb 24, 2010 at 9:16 AM, Ashwin Bihari

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

2010-02-24 Thread Ashwin Bihari
I've got a custom board designed around the OMAP3530 and we have a power button the device that we want to use to cause Android to go to sleep or wakeup based on it's current state. I've done a few searches and have figured out the the function goToSleep within the PowerManager handles this