Re: [PATCH] Delay full modem initialization until SIM is unlocked
- From: Dan Williams <dcbw redhat com>
- To: Tambet Ingo <tambet gmail com>
- Cc: networkmanager-list gnome org
- Subject: Re: [PATCH] Delay full modem initialization until SIM is unlocked
- Date: Wed, 28 May 2008 11:11:34 -0400
On Wed, 2008-05-28 at 11:14 +0300, Tambet Ingo wrote:
> 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.
Yes, they do, but I've never actually encountered one, so until I do...
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]