From: Viallard Anthony <viallard@syscom-instruments.com>
To: ofono@ofono.org
Subject: Re: Problem when disable GPRS context and try to re-enable it
Date: Tue, 21 May 2013 16:11:09 +0200 [thread overview]
Message-ID: <519B807D.6080306@syscom-instruments.com> (raw)
In-Reply-To: <519B7582.4050102@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1141 bytes --]
Hi Denis,
On 21. 05. 13 15:24, Denis Kenzior wrote:
> On 05/17/2013 05:33 AM, Viallard Anthony wrote:
>> ofonod[10347]: drivers/atmodem/gprs-context.c:at_gprs_activate_primary()
>> cid 1
>> ofonod[10347]: src/gprs.c:pri_activate_callback() 0x108698
>> ofonod[10347]: src/gprs.c:pri_activate_callback() Activating context
>> failed with error: Unknown error type
>> ---------------------------
>>
>> I read the code, added some logs and found the function
>> at_chat_send_common() doesn't do his job because chat->command_queue is
>> NULL.
>>
>> I guess chat->command_queue is free and set to NULL in
>> chat_cleanup(struct at_chat *chat) but I don't dig more why this
>> function is call...
>>
>> Any ideas ?
>
> I think I've seen this before, or something similar. It may be that when
> the modem hangs up the PPP link it also hangs up the serial port (e.g.
> using a HUP). GAtChat thinks that the port has been closed and things no
> longer work.
>
> On most devices this behavior can be turned off by sending AT&C0 init
> string. Try that?
>
AT&C0 fixes the wrong behavior. Thanks !
Regards,
Anthony.
prev parent reply other threads:[~2013-05-21 14:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-17 10:33 Problem when disable GPRS context and try to re-enable it Viallard Anthony
2013-05-21 13:24 ` Denis Kenzior
2013-05-21 14:11 ` Viallard Anthony [this message]
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=519B807D.6080306@syscom-instruments.com \
--to=viallard@syscom-instruments.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox