[PATCH] sim: check if lock is locked after code input attempt

2011-01-17 Thread Jussi Kangas
Hi again, This is third attempt to fix the problem where PUK required information is not shown correctly after user tries to change pin code too many times with wrong passwords. Basically solution is pretty much as in original made by Marit Henriksen except it does not do the sim interface initial

Re: [PATCH] sim: check if lock is locked after code input attempt

2011-01-24 Thread Denis Kenzior
Hi Jussi, On 01/17/2011 05:34 AM, Jussi Kangas wrote: > Hi again, > > This is third attempt to fix the problem where PUK required information > is not shown correctly after user tries to change pin code too many > times with wrong passwords. Basically solution is pretty much as in > original made

Re: [PATCH] sim: check if lock is locked after code input attempt

2011-01-25 Thread Jussi Kangas
Hi, Denis. > So I'm mostly happy with this approach except that ofono_modem_reset is > too big of a hammer to use here. We need something that drops us back > to pre-sim state without having to re-power on the device (which is what > reset does). > > Can you try using sim_inserted / sim_removed

Re: [PATCH] sim: check if lock is locked after code input attempt

2011-01-25 Thread Denis Kenzior
Hi Jussi, On 01/25/2011 09:34 AM, Jussi Kangas wrote: > > Hi, Denis. > >> So I'm mostly happy with this approach except that ofono_modem_reset is >> too big of a hammer to use here. We need something that drops us back >> to pre-sim state without having to re-power on the device (which is what