All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: regarding to simManager
Date: Tue, 05 Nov 2013 20:22:14 -0600	[thread overview]
Message-ID: <5279A7D6.20401@gmail.com> (raw)
In-Reply-To: <CAHtt_wmkN7qBKLJmWoeq1RaRuJ5t37St-3DFdx_bDb2gZPQU4w@mail.gmail.com>

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

Hi,

<snip>

 > ofonod[1566]: < AT+CPIN?
> ofonod[1566]: drivers/atmodem/sim.c:at_cpin_cb() crsm_pin_cb: READY
> ofonod[1566]: drivers/atmodem/sim.c:at_pin_retries_query()
> ofonod[1566]: <  AT+CPINR
> ofonod[1566]: < AT+CRSM=192,28590,0,0,255
> ofonod[1566]:Querying remaining pin retries failed
> ofonod[1566]: < AT+CRSM=192,28589,0,0,255
>
> Once this happens(ofono stop after AT+CRSM), I can only list the modem
> with the feature "sim"

It is hard to tell from your log what is going on.  Is your oFono 
modified in some way?  The AT command logging should print commands 
sent, echo (if any) and command responses.  I'm not seeing that here.

Do you get a response to the last CRSM command sent?  If not, then 
likely the modem crashed.  The two CRSM commands you see above are 
querying EFad and EFphase.  Right after there should be some more EFs 
being read followed by reading of the IMSI (+CIMI)

<snip>

>
> Here is my question,
> 1, why does it happen randomly?

Who knows.

> 2, what does "Querying remaining pin retries failed" mean? this message
> is showing up even when the ofono is working fine.

It just means that the sim atom driver does not implement this 
functionality.  It should probably be changed from a warning to a debug 
message.

> 3, sometimes all the module had been loaded, but the connection manager
> will disappear.

Impossible to tell without a log.

Regards,
-Denis

      reply	other threads:[~2013-11-06  2:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-06  1:35 regarding to simManager TengChou Yang
2013-11-06  2:22 ` 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=5279A7D6.20401@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.