ubports / ubuntu-touch

Ubuntu Touch's issue inbox is now migrated to GitLab.
https://gitlab.com/ubports/ubuntu-touch
1.28k stars 110 forks source link

[xenial] cellular data switch is inactive and cellular-data-usage cannot be switched between sim-cards #775

Open luksus42 opened 6 years ago

luksus42 commented 6 years ago

Steps to reproduce

  1. Slide down the connection-settings-panel and try to switch the cellular-data switch. or
  2. Go to settings/network (cellular settings) and try to switch the cellular-data switch and watch the setting-options.

Expected behavior

The cellular data switch can be turned off. In cellular settings, one could decide between first and second sim-card to be used for cellular-data.

Actual behavior

The switch is turned on and greyed out/inactive. In cellular settings beneath the switch, for each sim-card-slot a message says: "No simcard found [...]".

But the simcards are there and I can use them. I also can decide which simcard should be used for phone and messaging. But not which simcard should be used for data.

Logfiles and additional information

https://docs.ubports.com/ gives me a cloudflare error 1014 "CNAME Cross-User Banned".

ruedigerkupper commented 6 years ago

Not confirmed on hammerhead (Nexus 5). All fine here.

luksus42 commented 6 years ago

One or two simcards? I can confirm that it's working fine with one simcard only.

While testing for one simcard I also found a fix:

Now everything works like exspected.

Flohack74 commented 6 years ago

I can confirm smth is fishy here, but not with the cellular data switch, which works fine for me:

Workaround for me for switching SIM cards:

Workaround for me for switching speeds:

Sorry that I cannot provide an ofono or logcat log ATM, I am on the run, maybe tomorrow ;)

UniversalSuperBox commented 6 years ago

Mobile data switch stuck "On"

I was able to reproduce this bug in both 15.04 and 16.04. To do so:

  1. Insert at least one SIM into your Fairphone 2 and boot it
  2. Enter flight mode
  3. Leave flight mode

After doing this, the Cellular Data switch will be disabled in the "On" position and mobile data will not function. Sometimes it'll take a try or two to actually reproduce the issue.

This is possibly related to #382. However, because it is also found in 15.04 it is NOT a regression and can be removed from this milestone.

Unable to switch mobile data between SIMs

I was also able to reproduce this, but I'm not sure if it's just my American mobile network being weird with having the same phone contact it using two radios. Specifically, I have to do as Florian mentioned to switch data between cards. However, I am able to reproduce this in both 15.04 and 16.04 so we'll be removing this issue from the backlog and re-targeting it along with bug fixes for other devices in later releases.

Danfro commented 6 years ago

Hi, have you picked one of your SIM-cards to be used for mobile data? Today I did a clean install of 16.04 stable (using ubports installer, device: BQ E5 vegetahd). After that I thought I had the same problem. But I found that I had to tap on one of the SIM-cards to be used for mobile data [settings/network (cellular settings), just underneath the switch for mobile data]. Then I could switch mobile data on and off as usual.

UniversalSuperBox commented 4 years ago

Unable to switch mobile data between SIMs

This has been fixed by https://github.com/ubports/ofono/pull/5. The cellular data switch becoming inactive is still an issue.