From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Dealing with modem hangs
Date: Mon, 24 Mar 2014 16:04:54 -0500 [thread overview]
Message-ID: <53309DF6.9000003@gmail.com> (raw)
In-Reply-To: <CADV-EXG+jXowODbok4Yqf1OCYQxKGA9oodsQmVt0MqpJ08ZGUw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1401 bytes --]
Hi Yevhen,
On 03/24/2014 03:45 PM, Yevhen Kyriukha wrote:
> I use 3G modems connected to unattended terminals for a long time.
> I use ofono for managing 2G connections.
>
> All this time I'm suffering from modem hangs: during establishing 2G
> connection modem may hang, i.e. it stops reacting on AT commands to
> specific port.
> I'd tested a lot of modems of different brands before selecting one.
> And I have to say that *every* model has such issue.
>
Most commonly this is a sign that the AT command responses are not
formatted properly. Are you running the v250 parser by any chance? The
permissive parser is more forgiving.
> So I created a workaround for this (patched ofono):
> When I send AT command I start a timer that fires when no response is
> received during some timeout. So if timeout is reached I send
> AT+CFUN=1,1
> command that makes modem reset.
> After that modem can be usable again.
If the modem responds to AT commands, then the likely cause is something
else. Most 'real' hardware deals with true modem firmware crashes
differently.
>
> I was surprised that ofono doesn't have such functionality.
>
> So I think ofono should have some sort of mechanism to reset the modem
> if it stops responding.
> What do you think?
>
Share the AT command logs of when this happens, maybe there is a simpler
fix.
Regards,
-Denis
prev parent reply other threads:[~2014-03-24 21:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-24 20:45 Dealing with modem hangs Yevhen Kyriukha
2014-03-24 21:04 ` Denis Kenzior [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=53309DF6.9000003@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.