← Back to team overview

touch-packages team mailing list archive

[Bug 1413316] Re: Dialler shows 'No network' even though SIM is present (vivid)

 

Probably the problem is due to timing issues. ofono-setup issues a DBus
request to ofono to retrieve the list of modems. But it might be the
case that ofono is running but the modems have not been created yet. In
fact many times there is a delay between ofono starting and modem
creation, because even though ofono starts only when "/dev/socket/rild"
exists, in some cases the rild daemon starts accepting connection a few
seconds later. Even more, in some extreme cases it takes so long for
rild to start that ofono exits and upstart re-spawns it, and this second
ofono instance is the one that finally connects to rild. syslog might
help here to confirm this hypothesis.

Therefore, ofono-setup needs to be quite more complicated than it is
currently is to handle:

1. Delay between ofono starting and modem creation. An option would be to wait for ofono events that signal modem creation, but we need to know how many events we need to wait for (ril.num_slots Android property would help here).
2. Possible re-spawns of ofono. ofono-setup should be aware of ofono stopping it DBus interface.

A simpler solution would be to always create the accounts without the
DBus call to get the modems. Using ril.num_slots we know the number of
accounts, so this is feasible if we do not need any more information
from ofono.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to telepathy-ofono in Ubuntu.
https://bugs.launchpad.net/bugs/1413316

Title:
  Dialler shows 'No network' even though SIM is present (vivid)

Status in the base for Ubuntu mobile products:
  New
Status in telepathy-ofono package in Ubuntu:
  Confirmed

Bug description:
  I have a SIM inserted in the first SIM slot, but dialler is showing a
  'No network' message and messaging says 'No SIM card selected' when
  trying to send. The output of /usr/share/ofono/scripts/list-modems
  seems okay so I'm assuming this is a telepathy-ofono issue.

  https://pastebin.canonical.com/123899/

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: telepathy-ofono 0.2+15.04.20141216-0ubuntu1
  Uname: Linux 3.4.67 armv7l
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: armhf
  Date: Wed Jan 21 17:22:33 2015
  InstallationDate: Installed on 2015-01-21 (0 days ago)
  InstallationMedia: Ubuntu Vivid Vervet (development branch) - armhf (20150121-020205)
  SourcePackage: telepathy-ofono
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413316/+subscriptions


References