Open Source Telephony
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: bug reactivating primary context?
Date: Wed, 27 May 2015 12:14:08 -0500	[thread overview]
Message-ID: <5565FB60.7000502@gmail.com> (raw)
In-Reply-To: <CANPyyuMeLV+UTUVzYqnH8rWwCJ4_mjUYDnVxje9KDYpw1V4YSQ@mail.gmail.com>

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

Hi Mike,

>
> It looks like AT&C0 is correctly being issued, from the logs here:
>
> ofonod[1398]: plugins/huawei.c:sysinfo_enable_cb() 255 -> 1
> ofonod[1398]: Modem: > AT&C0\r
> ofonod[1398]: PCUI: > AT&C0\r
> ofonod[1398]: PCUI: < \r\nOK\r\n
>
> I'm using a Huawei e173:
> ofonod[2008]: Modem: < ATE0 +CMEE=1\r\r\nOK\r\n
> ofonod[2008]: PCUI: < \r\nManufacturer: huawei\r\nModel:
> E173L\r\nRevision: 21.106.04.00.982\r\nIMEI: 868387000063372\r\n+GCAP:
> +CGSM,+DS,+ES\r\n\r\nOK\r\n

Yes, certain models of Huawei modems are the main culprits.  There have 
been a few suggestions on how to solve this, but it is quite nasty & 
requires re-opening the AT modem port.  Nobody had the itch to fix it 
properly.

>
> Is there any way I can see if the modem is closing the command port?
>

strace, or use g_at_chat_set_disconnect_function() and see if that gets 
called.

Regards,
-Denis


  reply	other threads:[~2015-05-27 17:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-26 15:38 bug reactivating primary context? Mike Williams
2015-05-26 16:20 ` Alex J Lennon
2015-05-27 16:58   ` Mike Williams
2015-05-27 17:02     ` Alex J Lennon
2015-05-26 16:21 ` Denis Kenzior
2015-05-27 16:52   ` Mike Williams
2015-05-27 17:14     ` Denis Kenzior [this message]
2015-05-27 18:52       ` Mike Williams
2015-05-27 20:35         ` Denis Kenzior
2015-05-27 17:07   ` Alex J Lennon
2015-05-27 17:16     ` Denis Kenzior

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=5565FB60.7000502@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox