Plasma Mobile airplane / aeroplane mode / mobile off
#1
Hi,

Evening here and I normally put my phone in airplane / aeroplane mode i.e. would look for a toggle to disable modem / mobile data / wifi / BT if any are on.

I could find no such thing on Manjaro Plasma Mobile 20210221.
I panicked when I went to settings and saw internet had a tick - even though the Mobile Data icon in the top bar settings is not on....does that toggle not work?

So surprise, no mobile modem off either. Or could the Mobile Data icon actually toggle mobile / mobile data on / off?

I have my mobile modem on with data off due to cost.

I did not find a quick way to turn data on / off via ofono command.
Neither a way to turn mobile modem on / off via ofono.

I did a brutal
Code:
sudo pkill ofonod
and that worked - no more mobile icon in the top bar.

I lodged a bug report at https://gitlab.manjaro.org/manjaro-arm/i.../issues/69

I appreciate any comments from anyone with more Plasma Mobile experience. Mobian has quirks including with their Airplane toggle (still not fixed....) but you can turn mobile on / off, data on / off.

I assume this bug report covers the mobile data icon toggle:
https://gitlab.manjaro.org/manjaro-arm/i...-/issues/9
Pinephone v1.2 UBports CE. Adelaide, Australia using Aldimobile SIM with Mobian SD card.
Manjaro Plasma Mobile on EMMC.
  Reply
#2
I hoped the ofonoctl command as per https://git.sr.ht/~martijnbraam/ofonoctl

Code:
sudo ofonoctl offline
would work but it doesn't.

Same with modem power off command
Code:
sudo ofonoctl poweroff
it doesn't do anything.

and service start / stop / restart doesn't work either for ofonod, I don't know how to start / stop it properly.

Worked it out:

Stop ofono:
Code:
sudo systemctl stop ofono

Start ofono:
Code:
sudo systemctl start ofono

After ofono start (if turned off before), modem power is off and offline, so you need to do:
Code:
ofonoctl poweron && ofonoctl online

You can check the status with:
Code:
ofonoctl list
and for WWAN:
Code:
ofonoctl wan

Note that
Code:
ip a
and
Code:
ip route
do not show any WWAN routes so perhaps mobile data is actually off?
Pinephone v1.2 UBports CE. Adelaide, Australia using Aldimobile SIM with Mobian SD card.
Manjaro Plasma Mobile on EMMC.
  Reply
#3
(02-22-2021, 05:54 AM)dcinoz Wrote: Hi,

Evening here and I normally put my phone in airplane / aeroplane mode i.e. would look for a toggle to disable modem / mobile data / wifi / BT if any are on.

I could find no such thing on Manjaro Plasma Mobile 20210221.
I panicked when I went to settings and saw internet had a tick - even though the Mobile Data icon in the top bar settings is not on....does that toggle not work?

So surprise, no mobile modem off either. Or could the Mobile Data icon actually toggle mobile / mobile data on / off?

I have my mobile modem on with data off due to cost.

I did not find a quick way to turn data on / off via ofono command.
Neither a way to turn mobile modem on / off via ofono.

I did a brutal
Code:
sudo pkill ofonod
and that worked - no more mobile icon in the top bar.

I lodged a bug report at https://gitlab.manjaro.org/manjaro-arm/i.../issues/69

I appreciate any comments from anyone with more Plasma Mobile experience. Mobian has quirks including with their Airplane toggle (still not fixed....) but you can turn mobile on / off, data on / off.

I assume this bug report covers the mobile data icon toggle:
https://gitlab.manjaro.org/manjaro-arm/i...-/issues/9


I just installed the same image, and see a "Mobile Data" button in the action center at upper right corner. Enable/Disable there
  Reply
#4
Mobile data doesn't actually turn it on / off it is always on, apparently, but ofonoctl doesn't get an ip address and set up a wwan route. If you do it manually and toggle mobile data 'off' it doesn't do anything. Missing scripts somewhere to do that?

Part of my post was about mobile being on without data and switching mobile off. There is no toggle option in the current settings to 'just' turn mobile on / off.
Pinephone v1.2 UBports CE. Adelaide, Australia using Aldimobile SIM with Mobian SD card.
Manjaro Plasma Mobile on EMMC.
  Reply
#5
Script to turn modem on / off and enable / disable data is available here:
https://forum.pine64.org/showthread.php?...8#pid90498
Pinephone v1.2 UBports CE. Adelaide, Australia using Aldimobile SIM with Mobian SD card.
Manjaro Plasma Mobile on EMMC.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Plasma Mobile telephony broken? Testing / Unstable dcinoz 1 101 03-01-2021, 01:16 AM
Last Post: dcinoz
  KDE Plasma Interface Scaling anhilde 2 128 02-28-2021, 10:54 AM
Last Post: anhilde
  Plasma Mobile, screen is upside down when in landscape orientation? gamerminstrel 0 46 02-28-2021, 12:28 AM
Last Post: gamerminstrel
  Plasma mobile email client Athansor 6 379 02-27-2021, 12:57 PM
Last Post: NormandC
  Latest dev build of plasma manjaro not booting paju1986 10 390 02-26-2021, 10:44 PM
Last Post: lsitongia
  Plasma Mobile - no data connection KNERD 9 299 02-25-2021, 03:44 AM
Last Post: dcinoz
  Disabling screen timeout for plasma mobile rp3 6 486 02-24-2021, 09:35 PM
Last Post: jbloodwo
  Wi-Fi Issues (Plasma and Lomiri) PineSupporter 10 658 02-23-2021, 02:48 PM
Last Post: ashleymills
  Plasma Mobile phone rings first ring from suspend! dcinoz 0 132 02-22-2021, 03:43 AM
Last Post: dcinoz
  Add new APN on plasma mobile Athansor 0 109 02-20-2021, 04:45 PM
Last Post: Athansor

Forum Jump:


Users browsing this thread: 1 Guest(s)