I have seen the same problem with a SIM card that sometimes takes 3
minutes to register, and another that takes 30 seconds. The problem is
that the modem is trying to register first in a network to which the SIM
does not belong. This is triggered whenever ofonod takes a bit longer
than expected to register: this makes NetworkManager a bit nervous, and
it calls to interface=org.ofono.NetworkRegistration; member=Register.

There is nothing with this call, but ofono sends because of this a
RIL_REQUEST_SET_NETWORK_SELECTION_AUTOMATIC message to RILd. This is
equivalent to doing AT+COPS=0 in an AT modem, which *almost for sure*
removes the EF_LOCI file in the SIM card. This file contains information
of the latest network to which the SIM was registered and the TMSI: this
information speeds up considerably the registration.

Summarizing: the call to RIL_REQUEST_SET_NETWORK_SELECTION_AUTOMATIC
makes the SIM to register like if it had woken up in another country or
for the very first time.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1226145

Title:
  Modem can sometimes take more than 20s to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1226145/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to