On 20 October 2010 15:21, Pekka Pessi <[email protected]> wrote:
> 2010/10/19 Denis Kenzior <[email protected]>:
>> Unfortunately some modems report CPIN: READY even though they're not
>> ready.  The only reliable way to poll for this is to poll the IMSI, then
>> the phonebook and the sms store and report ready only once all of them
>> can be manipulated.
>
> I seems to me that Caiwen is proposing SIM presence polling. Each and
> every modem does it now separately. Unfortunately this seems to be
> even trickier than PIN lock polling, at least MBM returns different
> error codes depending on how far its own initialization has got.

My MBM seems to only detect the SIM if it is inserted during the modem
enumeration (on USB or PCI).  If you there's no SIM during modem
initialisation, or you extract the SIM, then inserting a new SIM is
never detected, the modem will always return "SIM not inserted" until
reset.

Caiwen, have you looked at drivers/atmodem/sim-poll.c?

Best regards
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to