All of lore.kernel.org
 help / color / mirror / Atom feed
* calypso does not power up from 0.17
@ 2010-04-14  8:52 Nicola Mfb
  2010-04-14  9:17 ` Zhenhua Zhang
  2010-04-14 10:43 ` Denis Kenzior
  0 siblings, 2 replies; 6+ messages in thread
From: Nicola Mfb @ 2010-04-14  8:52 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1161 bytes --]

Hi!

0.16 is the last release that works (well) on the openmoko freerunner
while from 0.17 to 0.20 I have:

root(a)om-gta02 ~ $ dbus-send --system --dest=org.ofono --print-reply
/freerunner org.ofono.Modem.SetProperty string:Powered
variant:boolean:true
Error org.ofono.Error.Timedout: Operation failure due to timeout

I'm sorry I do not have much time in this period to dig deeply, anyway
I found the commit that introduced the problem with git bisect.

Thanks and Regards

     Niko

commit aec5b8a44fa2fbece87441656eaf7ffb9a53fc6e
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Thu Jan 14 10:25:14 2010 -0600

    Fix: Make remote disconnect detection work

diff --git a/gatchat/gatchat.c b/gatchat/gatchat.c
index ea17335..8af927e 100644
--- a/gatchat/gatchat.c
+++ b/gatchat/gatchat.c
@@ -801,7 +801,7 @@ static gboolean received_data(GIOChannel *channel,
GIOCondition cond,
        if (cond & (G_IO_HUP | G_IO_ERR))
                return FALSE;

-       if (err != G_IO_ERROR_NONE && err != G_IO_ERROR_AGAIN)
+       if (rbytes == 0 && err != G_IO_ERROR_AGAIN)
                return FALSE;

        return TRUE;

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: calypso does not power up from 0.17
  2010-04-14  8:52 calypso does not power up from 0.17 Nicola Mfb
@ 2010-04-14  9:17 ` Zhenhua Zhang
  2010-04-14  9:57   ` Dario
  2010-04-14 10:43 ` Denis Kenzior
  1 sibling, 1 reply; 6+ messages in thread
From: Zhenhua Zhang @ 2010-04-14  9:17 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1767 bytes --]

Hi,

On 04/14/2010 04:52 PM, Nicola Mfb wrote:
> Hi!
>
> 0.16 is the last release that works (well) on the openmoko freerunner
> while from 0.17 to 0.20 I have:
>
> root(a)om-gta02 ~ $ dbus-send --system --dest=org.ofono --print-reply
> /freerunner org.ofono.Modem.SetProperty string:Powered
> variant:boolean:true
> Error org.ofono.Error.Timedout: Operation failure due to timeout
>
> I'm sorry I do not have much time in this period to dig deeply, anyway
> I found the commit that introduced the problem with git bisect.

You could set environment variable OFONO_AT_DEBUG to debug AT 
conversation, like:
	export set OFONO_AT_DEBUG=1

And I found the commit fb918d39ba275cdd327 in Jan 28th has changed the 
code to:
          if (read_count > 0 && rbytes == 0 && err != G_IO_ERROR_AGAIN)
                   return FALSE;

What's the err value in freerunner?

> Thanks and Regards
>
>       Niko
>
> commit aec5b8a44fa2fbece87441656eaf7ffb9a53fc6e
> Author: Denis Kenzior<denkenz@gmail.com>
> Date:   Thu Jan 14 10:25:14 2010 -0600
>
>      Fix: Make remote disconnect detection work
>
> diff --git a/gatchat/gatchat.c b/gatchat/gatchat.c
> index ea17335..8af927e 100644
> --- a/gatchat/gatchat.c
> +++ b/gatchat/gatchat.c
> @@ -801,7 +801,7 @@ static gboolean received_data(GIOChannel *channel,
> GIOCondition cond,
>          if (cond&  (G_IO_HUP | G_IO_ERR))
>                  return FALSE;
>
> -       if (err != G_IO_ERROR_NONE&&  err != G_IO_ERROR_AGAIN)
> +       if (rbytes == 0&&  err != G_IO_ERROR_AGAIN)
>                  return FALSE;
>
>          return TRUE;
> _______________________________________________
> ofono mailing list
> ofono(a)ofono.org
> http://lists.ofono.org/listinfo/ofono
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: calypso does not power up from 0.17
  2010-04-14  9:17 ` Zhenhua Zhang
@ 2010-04-14  9:57   ` Dario
  0 siblings, 0 replies; 6+ messages in thread
From: Dario @ 2010-04-14  9:57 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]

Hi Zhenhua,
>
> You could set environment variable OFONO_AT_DEBUG to debug AT 
> conversation, like:
>     export set OFONO_AT_DEBUG=1
>
> And I found the commit fb918d39ba275cdd327 in Jan 28th has changed the 
> code to:
>          if (read_count > 0 && rbytes == 0 && err != G_IO_ERROR_AGAIN)
>                   return FALSE;
>
> What's the err value in freerunner?

I discussed this problem with Denis some time ago sending in IRC the log 
of OFONO_AT_DEBUG=1, the problem seems a timeout in the response from 
the Calypso, we tried to patch (as suggested by Denis) the code waiting 
more than 20 secs (we used 40 secs) but this gave no results.
As Nicola mentioned, 0.16 version works very well and we use it as daily 
in our distro without any problem so we thought there could be some 
other difference since 0.17 because no other newer version solves the 
problem.
Is there any other test we can do on our devices to make you able to 
investigate the problem?
Thank you very much in advance,
best regards,
Dario.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: calypso does not power up from 0.17
  2010-04-14  8:52 calypso does not power up from 0.17 Nicola Mfb
  2010-04-14  9:17 ` Zhenhua Zhang
@ 2010-04-14 10:43 ` Denis Kenzior
  2010-04-14 11:45   ` Nicola Mfb
  1 sibling, 1 reply; 6+ messages in thread
From: Denis Kenzior @ 2010-04-14 10:43 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]

Hi Niko,

> Hi!
> 
> 0.16 is the last release that works (well) on the openmoko freerunner
> while from 0.17 to 0.20 I have:
> 
> root(a)om-gta02 ~ $ dbus-send --system --dest=org.ofono --print-reply
> /freerunner org.ofono.Modem.SetProperty string:Powered
> variant:boolean:true
> Error org.ofono.Error.Timedout: Operation failure due to timeout
> 
> I'm sorry I do not have much time in this period to dig deeply, anyway
> I found the commit that introduced the problem with git bisect.

I have a hunch that the GAtMux code might need some love.  Can you try the 
following patch?

diff --git a/gatchat/gatmux.c b/gatchat/gatmux.c
index b70f6a0..139edd2 100644
--- a/gatchat/gatmux.c
+++ b/gatchat/gatmux.c
@@ -433,6 +433,9 @@ static GIOStatus channel_read(GIOChannel *channel, gchar 
*buf, gsize count,
 
        *bytes_read = ring_buffer_read(mux_channel->buffer, buf, avail);
 
+       if (*bytes_read == 0)
+               return G_IO_STATUS_AGAIN;
+
        return G_IO_STATUS_NORMAL;
 }
 
Regards,
-Denis

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: calypso does not power up from 0.17
  2010-04-14 10:43 ` Denis Kenzior
@ 2010-04-14 11:45   ` Nicola Mfb
  2010-04-14 15:41     ` Denis Kenzior
  0 siblings, 1 reply; 6+ messages in thread
From: Nicola Mfb @ 2010-04-14 11:45 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 14941 bytes --]

On Wed, Apr 14, 2010 at 12:43 PM, Denis Kenzior <denkenz@gmail.com> wrote:
[...]
> I have a hunch that the GAtMux code might need some love.  Can you try the
> following patch?
>
[...]

It works :)

Just need a couple of days to verify how the version bump affects our
freerunners.

Thanks!

    Niko

log following:

ofonod[856]: plugins/calypso.c:write_file()
/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on, 0
ofonod[856]: plugins/calypso.c:write_file()
/sys/bus/platform/devices/neo1973-pm-gsm.0/reset, 0
ofonod[856]: plugins/calypso.c:write_file()
/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on, 1
ofonod[856]: plugins/calypso.c:write_file()
/sys/bus/platform/devices/neo1973-pm-gsm.0/reset, 1
ofonod[856]: plugins/calypso.c:write_file()
/sys/bus/platform/devices/neo1973-pm-gsm.0/reset, 0
ofonod[856]: plugins/calypso.c:modem_initialize()
ofonod[856]: src/modem.c:get_modem_property() modem 0x86928 property Device
ofonod[856]: Setup: > AT\r
ofonod[856]: Setup: < AT-Command Interpreter ready\r\n
ofonod[856]: Setup: Wakeup got no response
ofonod[856]: Setup: > AT\r
ofonod[856]: Setup: < AT\r\r\nOK\r\n
ofonod[856]: Setup: Finally woke up the modem
ofonod[856]: Setup: > ATE0\r
ofonod[856]: Setup: < ATE0\r
ofonod[856]: Setup: < \r\nOK\r\n
ofonod[856]: Setup: > AT+CMUX=?\r
ofonod[856]: Setup: < \r\n+CMUX: (1),(0),(1-5),(10-100),(1-255),(0-100),(2-255),
ofonod[856]: Setup: < (1-255),(1-7)\r\n\r\nOK\r\n
ofonod[856]: Setup: > AT+CMUX=1,0,5,64\r
ofonod[856]: Setup: < \r\nOK\r\n
ofonod[856]: plugins/calypso.c:mux_setup() 0x87e80
ofonod[856]: DLC3: > AT\r
denis patch
ofonod[856]: DLC0: < AT-Command Interpreter ready\r\n
denis patch
denis patch
ofonod[856]: DLC1: < AT-Command Interpreter ready\r\n
denis patch
denis patch
ofonod[856]: DLC2: < AT-Command Interpreter ready\r\n
denis patch
denis patch
ofonod[856]: DLC3: < AT-Command Interpreter ready\r\n
denis patch
ofonod[856]: DLC3: Wakeup got no response
ofonod[856]: DLC3: > AT\r
denis patch
ofonod[856]: DLC3: < AT\r
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: DLC3: Finally woke up the modem
ofonod[856]: DLC3: > AT+CFUN=1\r
denis patch
ofonod[856]: DLC3: < AT+CFUN=1\r
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: plugins/calypso.c:cfun_set_on_cb()
ofonod[856]: plugins/calypso.c:calypso_pre_sim()
ofonod[856]: DLC0: > AT\r
ofonod[856]: DLC1: > AT\r
ofonod[856]: DLC2: > AT\r
ofonod[856]: DLC3: > AT\r
ofonod[856]: src/sim.c:ofono_sim_add_ready_watch() 0x86f20
ofonod[856]: src/sim.c:ofono_sim_add_ready_watch() 0x86f20
denis patch
ofonod[856]: DLC0: < \r\nOK\r\n
denis patch
ofonod[856]: DLC0: Finally woke up the modem
ofonod[856]: DLC0: > ATE0\r
denis patch
ofonod[856]: DLC1: < AT\r\r\nOK\r\n
denis patch
ofonod[856]: DLC1: Finally woke up the modem
denis patch
ofonod[856]: DLC2: < AT\r\r\nOK\r\n
denis patch
ofonod[856]: DLC2: Finally woke up the modem
denis patch
ofonod[856]: DLC3: < AT\r\r\nOK\r\n
denis patch
ofonod[856]: DLC3: Finally woke up the modem
denis patch
ofonod[856]: DLC0: < \r\nOK\r\n
denis patch
ofonod[856]: DLC0: > AT%CUNS=0\r
ofonod[856]: DLC1: > ATE0\r
ofonod[856]: DLC2: > ATE0\r
ofonod[856]: DLC3: > ATE0\r
denis patch
ofonod[856]: DLC0: < \r\nOK\r\n
denis patch
ofonod[856]: DLC0: > AT%CPI=3\r
denis patch
ofonod[856]: DLC1: < ATE0\r
denis patch
denis patch
ofonod[856]: DLC2: < ATE0\r
denis patch
denis patch
ofonod[856]: DLC3: < ATE0\r
denis patch
denis patch
ofonod[856]: DLC1: < \r\nOK\r\n
denis patch
ofonod[856]: DLC1: > AT%CUNS=0\r
denis patch
ofonod[856]: DLC0: < \r\nOK\r\n
denis patch
ofonod[856]: drivers/calypsomodem/voicecall.c:calypso_voicecall_initialized()
voicecall_init: registering to notifications
denis patch
ofonod[856]: DLC2: < \r\nOK\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: DLC2: > AT%CUNS=0\r
ofonod[856]: DLC3: > AT%CUNS=0\r
denis patch
ofonod[856]: DLC1: < \r\nOK\r\n
denis patch
denis patch
ofonod[856]: DLC2: < \r\nOK\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: DLC3: > AT%CSTAT=1\r
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: DLC3: > AT(a)ST="-26"\r
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: DLC3: > AT%SLEEP=2\r
denis patch
ofonod[856]: DLC3: < \r\nEXT: I\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: DLC3: > AT+CGMI\r
denis patch
ofonod[856]: DLC3: < \r\n+CGMI: FIC/OpenMoko\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: DLC3: > AT+CRSM=176,28590,0,0,1\r
denis patch
ofonod[856]: DLC3: < \r\n+CRSM: 144,0,03\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 1
ofonod[856]: DLC3: > AT+CRSM=192,28599\r
denis patch
ofonod[856]: DLC3: < \r\n+CRSM:
148,4,00000E187F20020000000000099300190C00838A838A\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: src/voicecall.c:ecc_g2_read_cb() 0
ofonod[856]: DLC3: > AT+CGMM\r
denis patch
ofonod[856]: DLC3: < \r\n+CGMM: "Neo1973 GTA01/GTA02 Embedded GSM
Modem"\r\n\r\nOK\r\n
denis patch
ofonod[856]: DLC3: > AT+CPIN?\r
denis patch
ofonod[856]: DLC3: < \r\n+CPIN: READY\r\n\r\nOK\r\n
denis patch
ofonod[856]: drivers/atmodem/sim.c:at_cpin_cb() crsm_pin_cb: READY
ofonod[856]: DLC3: > AT+CRSM=192,28599\r
denis patch
ofonod[856]: DLC3: < \r\n+CRSM:
148,4,00000E187F20020000000000099300190C00838A838A\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: src/voicecall.c:ecc_g3_read_cb() 0
ofonod[856]: DLC3: > AT+CGMR\r
denis patch
ofonod[856]: DLC3: < \r\n+CGMR: "GSM:
gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0
denis patch
denis patch
ofonod[856]: DLC3: < -Moko11"\r\n\r\nOK\r\n
denis patch
ofonod[856]: DLC3: > AT+CIMI\r
denis patch
ofonod[856]: DLC3: < \r\n222108201031578\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: drivers/atmodem/sim.c:at_cimi_cb() cimi_cb: 222108201031578
ofonod[856]: DLC3: > AT+CRSM=192,28421\r
denis patch
ofonod[856]: DLC3: < \r\n+CRSM: 111,0\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: DLC3: > AT+CGSN\r
denis patch
ofonod[856]: DLC3: < \r\n+CGSN: 354651011629286\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: DLC3: > AT+CRSM=192,12037\r
denis patch
ofonod[856]: DLC3: < \r\n+CRSM:
148,4,00000E183F00010000000000099302160C00838A838A\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: DLC3: > AT+CRSM=192,28438\r
denis patch
ofonod[856]: DLC3: < \r\n+CRSM:
148,4,00000E187F20020000000000099300190C00838A838A\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: plugins/calypso.c:calypso_post_sim()
ofonod[856]: drivers/atmodem/call-volume.c:at_call_volume_probe() 0x876d8
ofonod[856]: DLC1: > AT+CREG=?\r
ofonod[856]: DLC3: > AT+CUSD=1\r
denis patch
ofonod[856]: DLC1: < \r\n+CREG: (0-2)\r\n
denis patch
denis patch
ofonod[856]: DLC1: < \r\nOK\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: DLC1: > AT+CREG=2\r
ofonod[856]: DLC3: > AT+CAOC=2\r
denis patch
ofonod[856]: DLC1: < \r\nOK\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: DLC1: > AT%CSQ=1\r
ofonod[856]: DLC3: > AT+CCWE=1\r
denis patch
ofonod[856]: DLC1: < \r\n%CSQ: 1 \r\n
denis patch
ofonod[856]: drivers/atmodem/network-registration.c:report_signal_strength()
csq_notify: 1
denis patch
ofonod[856]: DLC1: < \r\nOK\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: DLC1: > AT+CREG?\r
ofonod[856]: DLC3: > AT+CSSN=1,1\r
denis patch
ofonod[856]: DLC1: < \r\n+CREG: 2,0\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: src/ssn.c:__ofono_ssn_mo_watch_add() 0x87658, 6
ofonod[856]: src/ssn.c:__ofono_ssn_mo_watch_add() 0x87658, 5
denis patch
ofonod[856]: DLC1: < \r\nOK\r\n
denis patch
ofonod[856]: src/network.c:current_operator_callback() 0x87270, (nil)
ofonod[856]: DLC1: > AT+COPS=0\r
ofonod[856]: DLC3: > AT+CMUT?\r
denis patch
ofonod[856]: DLC1: < \r\n+CREG: 2\r\n
denis patch
ofonod[856]: src/network.c:current_operator_callback() 0x87270, (nil)
denis patch
ofonod[856]: DLC3: < \r\n+CMUT: 0\r\n\r\nOK\r\n
denis patch
ofonod[856]: DLC3: > AT+CLVL=?\r
denis patch
ofonod[856]: DLC3: < \r\n+CLVL: (0-255)\r\n\r\nOK\r\n
denis patch
ofonod[856]: DLC3: > AT+CLVL?\r
denis patch
ofonod[856]: DLC3: < \r\n+CLVL: 175\r\n\r\nOK\r\n
denis patch
ofonod[856]: DLC3: > AT+CRSM=192,28480\r
denis patch
ofonod[856]: DLC3: < \r\n+CRSM: 111,0\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: DLC3: > AT+CRSM=192,28589\r
denis patch
ofonod[856]: DLC3: < \r\n+CRSM: 111,0\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: DLC3: > AT+CRSM=192,28489\r
denis patch
ofonod[856]: DLC3: < \r\n+CRSM: 111,0\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: DLC3: > AT+CRSM=192,28618\r
denis patch
ofonod[856]: DLC3: < \r\n+CRSM:
148,4,00000E187F20020000000000099300190C00838A838A\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: Unable to read waiting messages numbers from SIM
ofonod[856]: DLC3: > AT+CRSM=192,28617\r
denis patch
ofonod[856]: DLC3: < \r\n+CRSM:
148,4,00000E187F20020000000000099300190C00838A838A\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: Unable to read mailbox identifies from SIM
ofonod[856]: DLC3: > AT+CRSM=192,28433\r
denis patch
ofonod[856]: DLC3: < \r\n+CRSM:
148,4,00000E187F20020000000000099300190C00838A838A\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: src/message-waiting.c:mw_cphs_mwis_read_cb() No CPHS MWIS on SIM
ofonod[856]: DLC3: > AT+CRSM=192,28613\r
denis patch
ofonod[856]: DLC3: < \r\n+CRSM:
148,4,00000E187F20020000000000099300190C00838A838A\r\n
denis patch
denis patch
ofonod[856]: DLC3: < \r\nOK\r\n
denis patch
ofonod[856]: DLC3: > AT+CRSM=192,28486\r
denis patch
ofonod[856]: DLC3: < \r\n+CRSM: 111,0\r\n\r\nOK\r\n
denis patch
denis patch
ofonod[856]: DLC1: < \r\n+CREG: 1,"9C50","596D"\r\n
denis patch
denis patch
ofonod[856]: DLC1: < \r\nOK\r\n\r\n%CSQ:  8, 99, 0\r\n
denis patch
ofonod[856]: drivers/atmodem/network-registration.c:report_signal_strength()
csq_notify: 8
ofonod[856]: DLC1: > AT\r
denis patch
ofonod[856]: DLC1: < \r\nOK\r\n
denis patch
ofonod[856]: DLC1: Finally woke up the modem
ofonod[856]: DLC1: > AT+COPS=3,2\r
denis patch
ofonod[856]: DLC1: < \r\nOK\r\n
denis patch
ofonod[856]: DLC1: > AT+COPS?\r
denis patch
ofonod[856]: DLC1: < \r\n+COPS: 0,2,"22210"\r\n
denis patch
denis patch
ofonod[856]: DLC1: < \r\nOK\r\n
denis patch
ofonod[856]: drivers/atmodem/network-registration.c:cops_numeric_cb()
Cops numeric got mcc: 222, mnc: 10
ofonod[856]: DLC1: > AT+COPS=3,0\r
denis patch
ofonod[856]: DLC1: < \r\nOK\r\n
denis patch
ofonod[856]: DLC1: > AT+COPS?\r
denis patch
ofonod[856]: DLC1: < \r\n+COPS: 0,0,"vodafone IT"\r\n\r\nOK\r\n
denis patch
ofonod[856]: drivers/atmodem/network-registration.c:cops_cb() cops_cb:
vodafone IT, 222 10 0
ofonod[856]: src/network.c:current_operator_callback() 0x87270, (nil)
ofonod[856]: DLC1: > AT+CREG?\r
denis patch
ofonod[856]: DLC1: < \r\n+CREG: 2,1,"9C50","596D"\r\n
denis patch
denis patch
ofonod[856]: DLC1: < \r\nOK\r\n
denis patch
ofonod[856]: DLC1: > AT+COPS=3,2\r
denis patch
ofonod[856]: DLC1: < \r\nOK\r\n
denis patch
ofonod[856]: DLC1: > AT+COPS?\r
denis patch
ofonod[856]: DLC1: < \r\n+COPS: 0,2,"22210"\r\n
denis patch
denis patch
ofonod[856]: DLC1: < \r\nOK\r\n
denis patch
ofonod[856]: drivers/atmodem/network-registration.c:cops_numeric_cb()
Cops numeric got mcc: 222, mnc: 10
ofonod[856]: DLC1: > AT+COPS=3,0\r
denis patch
ofonod[856]: DLC1: < \r\nOK\r\n
denis patch
ofonod[856]: DLC1: > AT+COPS?\r
denis patch
ofonod[856]: DLC1: < \r\n+COPS: 0,0,"vodafone IT"\r\n\r\nOK\r\n
denis patch
ofonod[856]: drivers/atmodem/network-registration.c:cops_cb() cops_cb:
vodafone IT, 222 10 0
ofonod[856]: src/network.c:current_operator_callback() 0x87270, 0x87780
denis patch
ofonod[856]: DLC3: < %CSTAT: EONS, 0\r\n
denis patch
ofonod[856]: plugins/calypso.c:cstat_notify() phonebook: 0, sms: 0
ofonod[856]: plugins/calypso.c:cstat_notify() stat: EONS, enabled: 0
denis patch
ofonod[856]: DLC3: < %CSTAT: PHB, 0\r\n
denis patch
ofonod[856]: plugins/calypso.c:cstat_notify() phonebook: 0, sms: 0
ofonod[856]: plugins/calypso.c:cstat_notify() stat: PHB, enabled: 0
denis patch
ofonod[856]: DLC3: < %CSTAT: SMS, 1\r\n
denis patch
ofonod[856]: plugins/calypso.c:cstat_notify() phonebook: 0, sms: 0
ofonod[856]: plugins/calypso.c:cstat_notify() stat: SMS, enabled: 1
ofonod[856]: DLC2: > AT\r
denis patch
ofonod[856]: DLC2: < \r\nOK\r\n
denis patch
ofonod[856]: DLC2: Finally woke up the modem
ofonod[856]: DLC2: > AT+CSMS=?\r
denis patch
ofonod[856]: DLC2: < \r\n+CSMS: (0,1)\r\n
denis patch
denis patch
ofonod[856]: DLC2: < \r\nOK\r\n
denis patch
ofonod[856]: drivers/atmodem/sms.c:at_csms_query_cb() CSMS query
parsed successfully
ofonod[856]: DLC2: > AT+CSMS=1\r
denis patch
ofonod[856]: DLC2: < \r\n+CSMS: 1,1,1\r\n
denis patch
denis patch
ofonod[856]: DLC2: < \r\nOK\r\n
denis patch
ofonod[856]: DLC2: > AT+CSMS?\r
denis patch
ofonod[856]: DLC2: < \r\n+CSMS: 1,1,1,1\r\n\r\nOK\r\n
denis patch
ofonod[856]: DLC2: > AT+CMGF=?\r
denis patch
ofonod[856]: DLC2: < \r\n+CMGF: (0,1)\r\n
denis patch
denis patch
ofonod[856]: DLC2: < \r\nOK\r\n
denis patch
ofonod[856]: DLC2: > AT+CPMS=?\r
denis patch
ofonod[856]: DLC2: < \r\n+CPMS: ("ME","SM"),("ME","SM"),("ME","SM")\r\n
denis patch
denis patch
ofonod[856]: DLC2: < \r\nOK\r\n
denis patch
ofonod[856]: DLC2: > AT+CMGF=0\r
denis patch
ofonod[856]: DLC2: < \r\nOK\r\n
denis patch
ofonod[856]: DLC2: > AT+CPMS="ME","ME","ME"\r
denis patch
ofonod[856]: DLC2: < \r\n+CPMS: 0,0,0,0,0,0\r\n\r\nOK\r\n
denis patch
ofonod[856]: DLC2: > AT+CNMI=?\r
denis patch
ofonod[856]: DLC2: < \r\n+CNMI: (0-2),(0-3),(0,2),(0,1),(0,1)\r\n\r\nOK\r\n
denis patch
ofonod[856]: DLC2: > AT+CNMI=2,2,2,1,0\r
denis patch
ofonod[856]: DLC2: < \r\nOK\r\n
denis patch
ofonod[856]: DLC2: > AT+CMGL=4\r
denis patch
ofonod[856]: DLC2: < \r\nERROR\r\n
denis patch
ofonod[856]: drivers/atmodem/sms.c:at_cmgl_cb() Initial listing SMS
storage failed!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: calypso does not power up from 0.17
  2010-04-14 11:45   ` Nicola Mfb
@ 2010-04-14 15:41     ` Denis Kenzior
  0 siblings, 0 replies; 6+ messages in thread
From: Denis Kenzior @ 2010-04-14 15:41 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 478 bytes --]

Hi Niko,

> On Wed, Apr 14, 2010 at 12:43 PM, Denis Kenzior <denkenz@gmail.com> wrote:
> [...]
> 
> > I have a hunch that the GAtMux code might need some love.  Can you try
> > the following patch?
> 
> [...]
> 
> It works :)
> 
> Just need a couple of days to verify how the version bump affects our
> freerunners.

Good to know, thanks for doing the hard work that made the problem much more 
obvious.  Patch has now been pushed upstream.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-04-14 15:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-14  8:52 calypso does not power up from 0.17 Nicola Mfb
2010-04-14  9:17 ` Zhenhua Zhang
2010-04-14  9:57   ` Dario
2010-04-14 10:43 ` Denis Kenzior
2010-04-14 11:45   ` Nicola Mfb
2010-04-14 15:41     ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.