[PATCH] pcf50633 IRQ handler

Sean McNeil sean at mcneil.com
Wed Jan 14 12:34:35 CET 2009

Cédric Berger wrote:
> On Wed, Jan 14, 2009 at 12:18, Andy Green <andy at openmoko.com> wrote:
>> Michael AUX button on corner is not a supported wake source, due to
>> hardware problems it cannot wake the device reliably anyway.
>> Instead for now it is used as a probe for failed resume.  If we are
>> inside a suspend -resume and you press AUX (recall it is not a valid
>> wake source) then it will force a panic and dump pending syslog and a
>> backtrace of wherever we were stuck.
>> So if you are trying to wake by AUX, that's definitely bad idea for
>> those two reasons.
>> - -Andy
> Oh thanks I did not remember that.
> I am testing michael's Android image and indeed I sometimes have panic
> at resume...
> ...but since resume is not reliable (does not resume, or suspend again
> immediatly), I often "touch" more than power button... and it looks
> like I had panics when pressing Aux in the process..

I've found that holding the button until the screen wakes seems to 
behave a little better. I experience your fail to resume at times as 
well, but if I keep hammering on the power button it eventually clears 
up. It could be a race condition, a clock/timer issue, or any other 
number of reasons. I'm finishing up GPRS support in Android, so I 
haven't any time to look at it now.

More information about the openmoko-kernel mailing list