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
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
-- 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
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
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
.
-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
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
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
] 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
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
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
11 matches
Mail list logo