1024#

Thomas HOCEDEZ thomas.hocedez at free.fr
Wed Oct 7 11:36:01 CEST 2009


David Garabana Barro a écrit :
> On Wednesday 07 October 2009 10:57:02 Christ van Willegen wrote:
>   
>> Hi,
>>
>> On Wed, Oct 7, 2009 at 10:50 AM, Ivan Shirokov <ivanshirokoff at gmail.com> 
>>     
> wrote:
>   
>>> I've been wondering if all the freerunners are affected by bug #1024?
>>>       
>
> No, not all FR are affected, AFAIK
>
>   
>> I've been wondering the same thing...
>>
>> It would seem that the extra current draw in suspend would affect all
>> FRs, so having a #1024 fix-party would be a good idea in any case (?).
>>     
>
> #1024 is not causing extra current drain, but the software solution to this 
> bug:
> Not allowing Calypso entering deep sleep mode.
>
> You can check if your FR is suffering from #1024 editting /etc/frameworkd.conf 
> and changing 
>
> ti_calypso_deep_sleep = never
>
> to
>
> ti_calypso_deep_sleep = always
>
> then restarting framework:
>
> /etc/init.d/frameworkd restart
>
> After doing so, if your FR suffers from this bug, your modem will continuously 
> register/unregister from GSM network when suspended, and you will lose calls
>
> On my case, it was nearly impossible to call FR when suspended + calypso deep 
> sleep.
>
> But not all FR suffer from this bug. You should try it after fixing it.
>
>   
Most of GTA02-A5/A6 have this bug.
Once TI_CALYPSO_DEEP_SLEEP set to "always", you can check with a little 
script done by KaZEr (see bleow)
Launch it on screen, and redirect output to a file.

If you have something like
[2009-09-09 12:36:09.189663] Signal : cid=3BB3, lac=0D48
[2009-09-09 12:36:15.088936] Signal : cid=3BB3, lac=0D48
[2009-09-09 12:38:10.442808] Signal : cid=3BB3, lac=0D48
[2009-09-09 12:38:13.020126] Signal : cid=3BB3, lac=0D48
[2009-09-09 12:40:25.772918] Signal : cid=3BB3, lac=0D48
[2009-09-09 12:40:28.620096] Signal : cid=3BB3, lac=0D48
[2009-09-09 12:41:17.557676] Signal : cid=3BB3, lac=0D48
[2009-09-09 12:41:20.404582] Signal : cid=3BB3, lac=0D48

Then you have the bug (trying to connect to GSM every second!)

regards

AstHrO

Here's KaZeR's script :
--------------------------
#!/usr/bin/python

import dbus
import dbus.glib
import gobject
import datetime
   
def onNetworkStatus(status ):
        print '[%s] Signal : cid=%s, lac=%s' % 
(datetime.datetime.now(),status['cid'],status['lac'] )

bus = dbus.SystemBus();

bus.add_signal_receiver( onNetworkStatus,
                         "Status",
                         "org.freesmartphone.GSM.Network",
                         "org.freesmartphone.ogsmd",
                         "/org/freesmartphone/GSM/Device" )

gobject.threads_init()
dbus.glib.init_threads()
main_loop = gobject.MainLoop()
main_loop.run()


--------------------------



More information about the community mailing list