All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with SIM lock states not showing correctly in Ofono API.
@ 2011-02-18  7:56 Jussi Kangas
  2011-02-18 17:29 ` Denis Kenzior
  0 siblings, 1 reply; 4+ messages in thread
From: Jussi Kangas @ 2011-02-18  7:56 UTC (permalink / raw)
  To: ofono

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

Hi,

I would like to get rid of this problem. It's been on TODO list since
November. I haven't received any feedback about mail 

[RFC] sim: check if lock is locked after code changing attempt

I sent 4th of February. Could somebody check it? 

Br,
-Jussi


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem with SIM lock states not showing correctly in Ofono API.
  2011-02-18  7:56 Problem with SIM lock states not showing correctly in Ofono API Jussi Kangas
@ 2011-02-18 17:29 ` Denis Kenzior
  2011-02-21  9:46   ` Jussi Kangas
  0 siblings, 1 reply; 4+ messages in thread
From: Denis Kenzior @ 2011-02-18 17:29 UTC (permalink / raw)
  To: ofono

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

Hi Jussi,

On 02/18/2011 01:56 AM, Jussi Kangas wrote:
> Hi,
> 
> I would like to get rid of this problem. It's been on TODO list since
> November. I haven't received any feedback about mail 
> 
> [RFC] sim: check if lock is locked after code changing attempt
> 
> I sent 4th of February. Could somebody check it? 
> 

I have pushed experimental patch
e8553f53376a33504dd18c4d7bb6d6f309973e0a to take care of this.  Let me
know if this works for you.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem with SIM lock states not showing correctly in Ofono API.
  2011-02-18 17:29 ` Denis Kenzior
@ 2011-02-21  9:46   ` Jussi Kangas
  2011-02-21 15:21     ` Denis Kenzior
  0 siblings, 1 reply; 4+ messages in thread
From: Jussi Kangas @ 2011-02-21  9:46 UTC (permalink / raw)
  To: ofono

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

Hi,

On Fri, 2011-02-18 at 19:29 +0200, Denis Kenzior wrote:

> I have pushed experimental patch
> e8553f53376a33504dd18c4d7bb6d6f309973e0a to take care of this.  Let me
> know if this works for you.
> 
> Regards,
> -Denis

It seems to be showing the states correctly except in case when you make
PIN2 blocked using call meter API. If PIN2 goes blocked when using
callmeter nothing is shown in API. (My patch did not do that either.
Plan was to fix it in separate patch)

Another issue is that your patch brings the API:s down when PIN2 goes
blocked. ( using ChangePin ) That is not correct. Blocked PIN2 does not
force phone to drop from network and it does prevent the usage of SIM. 

There seems to be also some problem when API shows PUK2 required and PIN
and PIN2 locked. Reset-pin opens the PUK2 but API does not get the
response it's looking for and oFono needs to be booted before states are
showed correctly again. I suspect that's a separate issue however and
not caused by this patch. 

Br,
-Jussi




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem with SIM lock states not showing correctly in Ofono API.
  2011-02-21  9:46   ` Jussi Kangas
@ 2011-02-21 15:21     ` Denis Kenzior
  0 siblings, 0 replies; 4+ messages in thread
From: Denis Kenzior @ 2011-02-21 15:21 UTC (permalink / raw)
  To: ofono

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

Hi Jussi,

On 02/21/2011 03:46 AM, Jussi Kangas wrote:
> Hi,
> 
> On Fri, 2011-02-18 at 19:29 +0200, Denis Kenzior wrote:
> 
>> I have pushed experimental patch
>> e8553f53376a33504dd18c4d7bb6d6f309973e0a to take care of this.  Let me
>> know if this works for you.
>>
>> Regards,
>> -Denis
> 
> It seems to be showing the states correctly except in case when you make
> PIN2 blocked using call meter API. If PIN2 goes blocked when using
> callmeter nothing is shown in API. (My patch did not do that either.
> Plan was to fix it in separate patch)
> 

Please do.  Most modems do not support PIN2 entry via CPIN, and
implement this using a vendor extension.  PIN2 / PUK2 support seems to
be a rather recent addition to the specs.

> Another issue is that your patch brings the API:s down when PIN2 goes
> blocked. ( using ChangePin ) That is not correct. Blocked PIN2 does not
> force phone to drop from network and it does prevent the usage of SIM. 
> 

If your modem reports the PIN2 in CPIN, then yes that is a bug.

> There seems to be also some problem when API shows PUK2 required and PIN
> and PIN2 locked. Reset-pin opens the PUK2 but API does not get the
> response it's looking for and oFono needs to be booted before states are
> showed correctly again. I suspect that's a separate issue however and
> not caused by this patch. 
> 

I'm having trouble visualizing this one.  Can you provide an AT debug
log to illustrate?

Regards,
-Denis

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-21 15:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-18  7:56 Problem with SIM lock states not showing correctly in Ofono API Jussi Kangas
2011-02-18 17:29 ` Denis Kenzior
2011-02-21  9:46   ` Jussi Kangas
2011-02-21 15:21     ` Denis Kenzior

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.