From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: context activation quickly after context deactivation fails
Date: Thu, 06 Sep 2012 10:13:15 -0500 [thread overview]
Message-ID: <5048BD8B.6070103@gmail.com> (raw)
In-Reply-To: <CABvLYuCBtJeCqGE1-iryBj44Owcv5KDct5bDFKFpP0UZRcHL2w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1668 bytes --]
Hi Cedric,
On 09/06/2012 09:09 AM, Cedric Jehasse wrote:
> Hi Denis,
>
> with the patch i don't get a reply when deactivating the context. From
> the on it's not possible to activate the context, because the
> operation is still in progress.
> This is a log of the deactivation:
>
> Jan 1 03:13:05 ofonod[6856]:
> drivers/atmodem/gprs-context.c:at_gprs_deactivate_primary() cid 1
> Jan 1 03:13:05 ofonod[6856]: PPP: lcp: pppcp_generate_event: current
> state 9:OPENED
> Jan 1 03:13:05 ofonod[6856]: PPP: event: 3 (Close), action: 8224,
> new_state: 4 (CLOSING)
> Jan 1 03:13:05 ofonod[6856]: PPP: lcp:
> pppcp_initialize_restart_count: current state 9:OPENED
> Jan 1 03:13:05 ofonod[6856]: PPP: lcp: pppcp_send_terminate_request:
> current state 9:OPENED
> Jan 1 03:13:05 ofonod[6856]: PPP: ipcp: pppcp_generate_event: current
> state 9:OPENED
> Jan 1 03:13:05 ofonod[6856]: PPP: event: 1 (Down), action: 201,
> new_state: 1 (STARTING)
> Jan 1 03:13:05 ofonod[6856]: PPP: gatchat/gatppp.c:ppp_enter_phase() 5
> Jan 1 03:13:07 ofonod[6856]: PCUI:< \r\n^MODE:5,4\r\n
> Jan 1 03:13:07 ofonod[6856]: Modem:< \r\nNO CARRIER\r\n
> Jan 1 03:13:08 ofonod[6856]: PCUI:< \r\n^RSSI:18\r\n
> Jan 1 03:13:11 ofonod[6856]: PCUI:< \r\n^RSSI:18\r\n
Looks like I got the chat instances mixed up since the NO CARRIER is not
being picked up.
Can you change:
+ g_at_chat_register(chat, "NO CARRIER", no_carrier_notify,
+ FALSE, gc, NULL);
to read:
+ g_at_chat_register(gcd->chat, "NO CARRIER", no_carrier_notify,
+ FALSE, gc, NULL);
Regards,
-Denis
next prev parent reply other threads:[~2012-09-06 15:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-03 12:50 context activation quickly after context deactivation fails Cedric Jehasse
2012-09-05 19:41 ` Denis Kenzior
2012-09-06 14:09 ` Cedric Jehasse
2012-09-06 15:13 ` Denis Kenzior [this message]
2012-09-07 9:27 ` Cedric Jehasse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5048BD8B.6070103@gmail.com \
--to=denkenz@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.