Re: [PATCH] Delay full modem initialization until SIM is unlocked



On Sat, May 24, 2008 at 11:02 PM, Dennis Noordsij
<dennis noordsij helsinki fi> wrote:
> Some modems return ERROR to most AT commands when the SIM is still locked, specifically the "ATZ E0" in the initialization.
>
> The attached patch modifies the initialization sequence to disable the local echo (the E0 part) first, perform the SIM check, and only then continue with the "ATZ" and further network registration, etc.
>
> For me, on fresh boot (SIM locked), this NetworkManager now unlocks the SIM (it has my PIN in the keyring) and makes a perfect connection every time.

The patch looks good to me, thanks!

> PS I imagine this might apply to CDMA as well.

Does CDMA even have PIN codes? At least our code doesn't think it does.

Tambet


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]