gta02, 2007.2: frequent wakeups -- creating workaround

arne anka openmoko at ginguppin.de
Mon Aug 11 12:14:10 CEST 2008


i logged the resume_reason for the past days and all undesired wakeups are  
caused by EINT01_GSM -- as expected.
so, i'd like to catch that events and send the phone back to sleep  
immediately.
but, and it's a big but, EINT01_GSM is triggered even when a call comes in  
(and probably an sms, too). so it's not sufficient.

how do i the following three things in sh/bash:

- how do i check if a call is coming in or ongoing?
- how do i check if an sms causing the wake up?
- how do i disable the touchscreen temporarily?

someone told that raster is creating a daemon handling this kind of  
things, but ther was no answer to my inquiry if it would be asu specific,  
and anyway with raster leaving and the 2008.8 just released i don't expect  
it to be finished in a near future.
the phone waking up every 6 or 7 minutes as it hours on end does _is_  
annoying and i like to create a workaround at least.




More information about the support mailing list