Messaging ask to select a SIM card while there only is one

Bug #1456501 reported by Ed Kapitein
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Incomplete
Undecided
Unassigned
messaging-app (Ubuntu)
New
Undecided
Unassigned

Bug Description

The phone was low on battery and switched off at some point, while playing music.
Later, while charging, i powered on the phone and tried to send a textmessage.
But i got a pop-up, saying:

----------------------
No SIM card selected
You need to select a SIM card
close
----------------------

I have only one SIM card installed and it was registered to the provider (t-mobile)
And with only one SIM, there is no option to select a SIM.

So i had to restart the phone in order to be able to send the textmessage.
After the restart, the phone worked normaly again.

Revision history for this message
Tiago Salem Herrmann (tiagosh) wrote :

Hi, thanks for the report.

could you enable developer mode (system settings->about this phone->developer mode) and run "adb shell mc-tool dump" on your desktop?

If you don't have adb, you can also get the same information by typing "mc-tool dump" in the terminal application on your phone. Feel free to remove any private information before posting the log (like your phone number).

Revision history for this message
Ed Kapitein (ed-kapitein) wrote : Re: [Bug 1456501] Re: Messaging ask to select a SIM card while there only is one

On Tue, 2015-05-19 at 17:19 +0000, Tiago Salem Herrmann wrote:
> Hi, thanks for the report.
>
> could you enable developer mode (system settings->about this
> phone->developer mode) and run "adb shell mc-tool dump" on your desktop?
>
> If you don't have adb, you can also get the same information by typing
> "mc-tool dump" in the terminal application on your phone. Feel free to
> remove any private information before posting the log (like your phone
> number).
>

Hi,

Here is the requested info, good luck with hunting this bug down!

phablet@hydra:~$ mc-tool dump
     Account: ofono/ofono/account1
Display Name: SIM 2
  Normalized: <SelfHandle>
     Enabled: enabled
        Icon: im-ofono
    Connects: automatically
    Nickname: <SelfHandle>
     Service: ofono

Presences:
   Automatic: available (2) ""
     Current: nosim (1) ""
   Requested: available (2) ""
    Changing: no

      (string) modem-objpath = /ril_1

------------------------------------------------------------

     Account: ofono/ofono/account0
Display Name: SIM 1
  Normalized: <SelfHandle>
     Enabled: enabled
        Icon: im-ofono
    Connects: automatically
    Nickname: <SelfHandle>
     Service: ofono

Presences:
   Automatic: available (2) ""
     Current: registered (2) "T-Mobile NL"
   Requested: available (2) ""
    Changing: no

      (string) modem-objpath = /ril_0

Revision history for this message
Tiago Salem Herrmann (tiagosh) wrote :

Thanks for the info.

Could you also provide the output of the following command?

adb shell gsettings list-recursively | grep com.ubuntu.phone

Revision history for this message
Ed Kapitein (ed-kapitein) wrote :

On 05/19/2015 09:22 PM, Tiago Salem Herrmann wrote:
> Thanks for the info.
>
> Could you also provide the output of the following command?
>
> adb shell gsettings list-recursively | grep com.ubuntu.phone
>
Sure, here they are.

phablet@ubuntu-phablet:~$ gsettings list-recursively | grep com.ubuntu.phone
com.ubuntu.phone default-sim-for-calls 'ask'
com.ubuntu.phone default-sim-for-messages 'ask'
com.ubuntu.phone sim-names {'/ril_0': 'SIM 1', '/ril_1': 'SIM 2'}

ask seems unnecessary with just one SIM installed... :-)

Kind regards,
Ed

Revision history for this message
Tiago Salem Herrmann (tiagosh) wrote :

The 'ask' is only used in case you decide to use two sim cards at some point. It is the default value.

All configuration seems to be correct. In case you manage to reproduce the bug again, please provide the logs running the same commands without rebooting the device.

Thank you.

Revision history for this message
Ed Kapitein (ed-kapitein) wrote :

On Tue, 2015-05-19 at 22:05 +0200, Ed Kapitein wrote:
> On 05/19/2015 09:22 PM, Tiago Salem Herrmann wrote:
> > Thanks for the info.
> >
> > Could you also provide the output of the following command?
> >
> > adb shell gsettings list-recursively | grep com.ubuntu.phone
> >
> Sure, here they are.
>
> phablet@ubuntu-phablet:~$ gsettings list-recursively | grep com.ubuntu.phone
> com.ubuntu.phone default-sim-for-calls 'ask'
> com.ubuntu.phone default-sim-for-messages 'ask'
> com.ubuntu.phone sim-names {'/ril_0': 'SIM 1', '/ril_1': 'SIM 2'}
>
> ask seems unnecessary with just one SIM installed... :-)
>
> Kind regards,
> Ed
>

Hi,
Today i had the same situation, when sending a text message i was asked
to choose a SIM.
I did manage to get a hold of the logs:

com.ubuntu.phone default-sim-for-calls 'ask'
com.ubuntu.phone default-sim-for-messages 'ask'
com.ubuntu.phone sim-names {'/ril_0': 'SIM 1', '/ril_1': 'SIM 2'}

(same as before )

and:
mc-tool dump: Failed to connect to D-Bus: Unable to autolaunch a
dbus-daemon without a $DISPLAY for X11

So it seems that dbus had crashed?

Hope this helps!

Kind regards,
Ed

Revision history for this message
Zsombor Egri (zsombi) wrote :

After few reboots I managed to get messages sent, but since then I cannot make any calls, Phone app keeps telling me No network, however the SIM settings said it si registered successfully to Orange.

Revision history for this message
Allan LeSage (allanlesage) wrote :

alesage@dioptrique:⟫ adb shell gsettings list-recursively | grep com.ubuntu.phone
com.ubuntu.phone default-sim-for-calls 'ask'
com.ubuntu.phone default-sim-for-messages 'ask'
com.ubuntu.phone mms-group-chat-enabled false
com.ubuntu.phone sim-names @a{ss} {}
alesage@dioptrique:⟫ adb shell mc-tool dump
     Account: ofono/ofono/account1
Display Name: SIM 2
     Enabled: enabled
        Icon: im-ofono
    Connects: automatically
     Service: ofono

Presences:
   Automatic: available (2) ""
     Current: nosim (1) ""
   Requested: available (2) ""
    Changing: no

Storage:
    Provider: im.telepathy.Account.Storage.Ofono
  Identifier: uint32 1
Restrictions: Cannot_Set_Parameters, Cannot_Set_Enabled, Cannot_Set_Presence, Cannot_Set_Service

      (string) modem-objpath = /ril_1

------------------------------------------------------------

     Account: ofono/ofono/account0
Display Name: SIM 1
  Normalized: 12244251676
     Enabled: enabled
        Icon: im-ofono
    Connects: automatically
    Nickname: 12244251676
     Service: ofono

Presences:
   Automatic: available (2) ""
     Current: registered (2) "T-Mobile"
   Requested: available (2) ""
    Changing: no

Storage:
    Provider: im.telepathy.Account.Storage.Ofono
  Identifier: uint32 0
Restrictions: Cannot_Set_Parameters, Cannot_Set_Enabled, Cannot_Set_Presence, Cannot_Set_Service

      (string) modem-objpath = /ril_0

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

@allen did you comment because you reproduced this recently? this is a year old report

Changed in canonical-devices-system-image:
status: New → Incomplete
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.