system settings displays 'cellular' control panel item when no modems are present

Bug #1545005 reported by John McAleely
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
High
John McAleely
connectivity-api (Ubuntu)
Invalid
Undecided
Unassigned
indicator-network (Ubuntu)
Invalid
Undecided
Unassigned
ofono (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

In bug #1541588 several items were removed from system settings for tablets which have no cellular modem.

In a related bug #1544712 ofono must still be present on such devices, in order for location to work.

It seems that when it was tested, the landing for bug #1541588 happened when ofono was not running.

I conclude therefore that the decision to display/not display cellular is keyed merely on the presence of ofono, rather than, say the count of modems ofono reports.

Revision history for this message
John McAleely (john.mcaleely) wrote :

Note that I think the real bug here is bug #1544712 in location service, and we do plan to remove ofono on devices like these (bug #1544210)

of course, there may be other situations, and other devices, where this bug is relevant.

Changed in canonical-devices-system-image:
importance: Undecided → Medium
importance: Medium → Low
Revision history for this message
Ken VanDine (ken-vandine) wrote :

The real bug is probably in ofono, see the output of list-modems from a device without a modem and ofono running:

http://pastebin.ubuntu.com/15024416/

So I think the real bug is that ofono reports a /ril_0 without any interfaces or features

Connectivity API could work around this by assuming the modem isn't real if those values are NULL, but I think it's really an ofono bug.

Changed in canonical-devices-system-image:
assignee: nobody → John McAleely (john.mcaleely)
importance: Low → High
milestone: none → ww08-2016
status: New → Confirmed
Pete Woods (pete-woods)
Changed in connectivity-api (Ubuntu):
status: New → Invalid
Changed in indicator-network (Ubuntu):
status: New → Invalid
Revision history for this message
Simon Fels (morphis) wrote :

Its a problem in ofono where still creates a modem instance (exposed as /ril_0) without any interfaces registered when the connection to the ril-daemon fails. IMHO ofono should not create the modem instance as long as it can't connect to rild. We agreed on keeping ofono running even on devices which doesn't have a modem.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ofono (Ubuntu):
status: New → Confirmed
Changed in canonical-devices-system-image:
milestone: ww08-2016 → backlog
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.