Dialer Issues

Michael 'Mickey' Lauer mickey at openmoko.org
Wed May 30 00:56:58 CEST 2007


Hi Thomas,

> * It's not possible to retrieve the current connection status (e.g.
> whether the phone is registered with a network)

That's missing some support API in libgsmd.

> * What should the dialer use to play ring tones?

Probably something like moko_ui_event_trigger( "incoming call", "" )
which is the top level API for the forthcoming event API.
It's not yet implemented though, but will hopefully be by the end of next week.

> * How should speaker mode work?

Should use a forthcoming API in libmokoui to reconfigure the sound settings,
i.e. something like moko_ui_set_sound_scenario( "handsfree" ). This
API will reconfigure ASoC then to make this happen in a way that
(hopefully) doesn't conflict with concurrent scenarios (which is the
reason for not directly calling alsactl from the dialer btw.).

> * What should the dialer do if it finds gsmd has crashed?

Nothing. I guess in production images we want to launch gsmd
respawning due to init.

> * There appears to be problems getting the gsm chip to reliably register
> with the network (i.e. no response even using libgsm-tool)

*nod* same here. See bug 574. We need to work on that.

> I've also found that gsmd occasionally crashes. I believe this is the 
> log from the latest crash I had:

> Thu Jan  1 01:04:53 1970 <1> atcmd.c:446:atcmd_submit() submitting 
> command `AT+COPS=0'
> Thu Jan  1 01:04:53 1970 <1> atcmd.c:180:ml_parse() buf=`AT%CSQ=1'(8)
> Thu Jan  1 01:04:53 1970 <1> atcmd.c:332:ml_parse() Calling cmd->cb()
> Thu Jan  1 01:04:53 1970 <1> atcmd.c:180:ml_parse() buf=`AT%CSQ=1'(8)
> Thu Jan  1 01:04:53 1970 <1> atcmd.c:332:ml_parse() Calling cmd->cb()
> Thu Jan  1 01:04:53 1970 <1> atcmd.c:180:ml_parse() buf=`%CSQ: 1 '(8)
> Thu Jan  1 01:04:53 1970 <1> atcmd.c:242:ml_parse() extd reply `%CSQ: 1
> ' to cmd `%CPRI=1', must be unsolicited
> Thu Jan  1 01:04:53 1970 <1> vendor_ti.c:78:csq_parse() entering 
> csq_parse param=`1 '
> *** glibc detected *** gsmd: free(): invalid pointer: 0x00018c50 ***

D'oh.

- Michael Lauer <mickey at openmoko.org>                   http://openmoko.org/
============================================================================
Software for the worlds' first truly open Free Software mobile phone




More information about the framework-devel mailing list