All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Alcatel Onetouch X515 support
Date: Thu, 08 Nov 2012 09:43:03 -0600	[thread overview]
Message-ID: <509BD307.2010108@gmail.com> (raw)
In-Reply-To: <CABvLYuCg20pYAfkLmaAMFDJO8u6xpvX=gC2mfm9228_iGruQEA@mail.gmail.com>

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

Hi Cedric,

On 11/08/2012 09:29 AM, Cedric Jehasse wrote:
>     The design philosophy is to not perform any polling in the core.
>       The modem driver has to take care of this.
>
> Ok. So in case of the atmodem driver, would it be correct to move this
> retrying of AT+CPIN? to at_cpin_cb and only call the cb from the core
> once the reply is not CME Error SIM Busy?

The SIM busy stuff is tricky.  oFono reads lots of files from the SIM 
before even checking CPIN.  So you need to check the CPIN SIM busy 
condition before signaling that the SIM is inserted.  As I said, check 
how other Qualcomm based devices are doing this.  E.g. Huawei, ZTE, etc.

Regards,
-Denis

  reply	other threads:[~2012-11-08 15:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-08 10:12 Alcatel Onetouch X515 support Cedric Jehasse
2012-11-08 14:16 ` Denis Kenzior
2012-11-08 15:02   ` Cedric Jehasse
2012-11-08 15:10     ` Denis Kenzior
2012-11-08 15:29       ` Cedric Jehasse
2012-11-08 15:43         ` Denis Kenzior [this message]
2012-11-08 16:43           ` Cedric Jehasse
2012-11-08 17:29             ` 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=509BD307.2010108@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.