All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: ICCID not requested when PIN is locked
Date: Tue, 28 Oct 2014 11:19:34 -0500	[thread overview]
Message-ID: <544FC216.9060905@gmail.com> (raw)
In-Reply-To: <CAH4ZQwsXibijyOySYBo2M8SvdN2CTKUSveFNffZmmHK1jcc90Q@mail.gmail.com>

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

Hi Enrico,

On 10/28/2014 06:50 AM, Enrico Sau wrote:
> Hi all,
> I have a problem with SimManager interface.
> When I start ofono with pin locked it starts to read the sim file
> manager but the first message fails:
>
> ofonod[29427]: Aux: > AT+CRSM=192,12258\r
> ofonod[29427]: Aux: < \r\n+CME ERROR: 4\r\n
>
> The callback of this message contains the following call which would
> success but it is never called because of the error.

This is a modem firmware problem.  The ICCID request should always 
succeed, even if the PIN is locked.

>
> This results in the problem that ICCID is never retried even if I enter
> the pin.
>
> How can I solve this problem?
>

You can disable the PIN, or power-cycle the modem.

You can also add code to try re-reading the ICCID when PIN is entered. 
Patches are always welcome.

Regards,
-Denis

  reply	other threads:[~2014-10-28 16:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-28 11:50 ICCID not requested when PIN is locked Enrico Sau
2014-10-28 16:19 ` Denis Kenzior [this message]
2014-10-29  8:42   ` Enrico Sau
2014-11-02  3:09     ` 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=544FC216.9060905@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.