RadioSettings interface is not created some times

Bug #1374029 reported by Alfonso Sanchez-Beato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ofono (Ubuntu)
Fix Released
Critical
Alfonso Sanchez-Beato
ofono (Ubuntu RTM)
Fix Released
Critical
Unassigned

Bug Description

In some occasions the RadioSettings interface is not exposed by ofono. When this happens, the command

# /usr/share/ofono/scripts/list-modems | grep RadioSettings

produces no output.

Additionally, the following message appears in syslog:

"ril_delayed_register: cannot set default fast dormancy"

I have been able to see this using two SIMs, but might happen in more cases.

Tags: rtm14

Related branches

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

A PR with a fix can be found at

https://github.com/rilmodem/ofono/pull/123

Revision history for this message
Tony Espy (awe) wrote :

Does this happen on both devices? What image did you use?

Please see comments in the pull request.

Changed in ofono (Ubuntu):
status: New → Incomplete
Revision history for this message
Tony Espy (awe) wrote :

Based on the pull-request above, this looks like a MTK/krillin-specific bug?

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

Right, it is MTK specific.

phablet@ubuntu-phablet:~$ system-image-cli -i
current build number: 57
device name: krillin
channel: ubuntu-touch/ubuntu-rtm/14.09-proposed
last update: 2014-09-22 10:15:10
version version: 57
version ubuntu: 20140923.1
version device: 20140919-1b3e670
version custom: 1411084873

Tony Espy (awe)
Changed in ofono (Ubuntu):
status: Incomplete → Fix Committed
assignee: nobody → Alfonso Sanchez-Beato (alfonsosanchezbeato)
importance: Undecided → Critical
tags: added: rtm14
Revision history for this message
Tony Espy (awe) wrote :

This was fixed in version:

1.12.bzr6878+14.10.20140926-0ubuntu1

...which has been released to RTM, and is awaiting migration from -proposed in utopic.

Changed in ofono (Ubuntu RTM):
status: New → Fix Released
importance: Undecided → Critical
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ofono - 1.12.bzr6878+14.10.20140926-0ubuntu1

---------------
ofono (1.12.bzr6878+14.10.20140926-0ubuntu1) 14.09; urgency=medium

  [ Alfonso Sanchez-Beato ]
  * include, plugins/mtk.c, src/modem.c,sim.c: Fix PUK crash (LP: #1365481)
    If the SIM gets locked in particular sequence, ofono will crash
    while trying to free the list of SIM SPN watch events ( which
    have already been freed ). MTK fix is a bit more involved than
    the stanard RIL logic.

  * plugins/mtk.c,ril.c: Show emergency numbers in flight-mode (LP: #1366188)
    Modify plugin logic to create the SimManager interface even if
    no SIM is present.

  * gril, unit: fix indicator-network crash (LP: #1368675)
    RIL defines a set of network registration states for emergency
    calling that don't map directly to ofono's states. This results
    in NetworkRegistration Status not being set at all, which in
    turn crashes the indicator.

  * rilmodem/gprs.c: fix crash due to stale timer event (LP: # 1373351)
    A 5s timer is set to retry a STATUS request to RIL, however if
    FlightMode is enabled, the gprs atom is destroyed, and the pending
    timer callback has a stale gprs reference. Now the timer id is
    stored, and when the atom destroyed, the timer event is cancelled.

  * mtkmodem/radio-setttings.c: fix RadioSettings creation (LP: #1374029 )
    If the MTK modem returns a RADIO_NOT_AVAIL error in response
    to a FastDormany RIL request, the RadioSetting initialization
    callback sequence is broken, and thus the RadioSettings interface
    isn't created. This in turn prevents powerd from enabling
    FastDorancy whenever the screen is turned off, and also has
    implications for system-settings too.

  [ Tony Espy ]
  * plugins/ubuntu-apndb.c: allow MMS APNs w/out proxy (LP: #1362008)
    Prior to this change, MMS APNs w/out a proxy were skipped.
    Now APNs are skipped if message center is missing, which makes
    more sense.

  [ Ubuntu daily release ]
  * New rebuild forced

ofono (1.12.bzr6876+14.10.20140904-0ubuntu1) utopic; urgency=medium

  [ Jussi Kangas ]
  * src/gprs.c: Fix to allow MMS properties to be set (LP: #1362068)

  [ Tony Espy ]
  * rilmodem/sim.c: Fix EnterPIN logic (LP: #1363413)

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Fri, 26 Sep 2014 17:34:10 +0000

Changed in ofono (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.