From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [RFC sim-ready-v1 PATCH 0/3] ofono_sim_ready_notify
Date: Fri, 22 Oct 2010 13:54:19 -0500 [thread overview]
Message-ID: <4CC1DDDB.5010903@gmail.com> (raw)
In-Reply-To: <1287416435-4307-1-git-send-email-Pekka.Pessi@nokia.com>
[-- Attachment #1: Type: text/plain, Size: 1411 bytes --]
Hi Pekka,
On 10/18/2010 10:40 AM, Pekka.Pessi(a)nokia.com wrote:
> Hi all,
>
> Here is my 2nd stab at the ofono_sim_ready_notify().
>
> Main difference from Denis's and Kristen's patch is that the modem
> driver now has a way to indicate that is ready or not: if SIM is not
> ready, the ofono_sim_driver indicates that with query_passwd_state
> callback returning OFONO_SIM_PASSWORD_INVALID. A separate enum and a
I really question the need for this. The core should simply wait for
ready in both cases. If the modem driver knows the modem is ready, then
it can simply call ofono_sim_ready_notify after the cpin query callback.
Reusing OFONO_SIM_PASSWORD_INVALID seems really unclean...
> string value for PinRequired property for that case would probably be
> nice, however, it is not very clear to me how the modems handle the
> transition from PIN-locked SIM to SIM-locked modem.
Having recently peeked at 22.022, it seems pretty clear that all other
personalization types depend on the knowledge of the IMSI. EFimsi
requires PIN entry, so the modems must all go through the PIN check
first before all other locks.
>
> After the driver determines that the SIM is ready, it calls
> ofono_sim_ready_notify().
>
Can you guys try the patch from
http://lists.ofono.org/pipermail/ofono/2010-August/004203.html
Does this one still work as well?
Regards,
-Denis
prev parent reply other threads:[~2010-10-22 18:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-18 15:40 [RFC sim-ready-v1 PATCH 0/3] ofono_sim_ready_notify Pekka.Pessi
2010-10-18 15:40 ` [RFC sim-ready-v1 PATCH 1/3] sim: add ofono_sim_ready_notify Pekka.Pessi
2010-10-18 15:40 ` [RFC sim-ready-v1 PATCH 2/3] isimodem/sim: added PIN and SIM state handling Pekka.Pessi
2010-10-18 15:40 ` [RFC sim-ready-v1 PATCH 3/3] atmodem/sim: use ofono_sim_ready_notify Pekka.Pessi
2010-10-22 18:55 ` Denis Kenzior
2010-10-19 9:43 ` [RFC sim-ready-v1 PATCH 0/3] ofono_sim_ready_notify Marcel Holtmann
2010-10-19 9:56 ` Pekka Pessi
2010-10-22 18:54 ` 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=4CC1DDDB.5010903@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.