PINE64
Mobile connection vanishes on Phosh - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Manjaro on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=130)
+---- Thread: Mobile connection vanishes on Phosh (/showthread.php?tid=14342)

Pages: 1 2


Mobile connection vanishes on Phosh - Barugon - 07-02-2021

Occasionally, the mobile connection icon vanishes from the dropdown and is gone from the preferences. Does anyone know what's causing this? Is the modem manager crashing? Is there an update or workaround that I can try?


RE: Mobile connection vanishes on Phosh - Barugon - 07-06-2021

I should've also said that once this happens, I can no longer make or receive calls or text. Since it's so unreliable, I had to switch back to my old Android phone.   Sad 

Hopefully, this will be resolved soon.


RE: Mobile connection vanishes on Phosh - mouffa - 07-06-2021

it is a known issue, you will notice in dmesg that the usb hub also restarts, my opinion is that is a power surge of the modem, though you can restore it either restarting eg25-manager or giving `ofonoctl online` and entering the PIN with the qdbus command, still Plasma dialer won't be able to make calls and the best way is to restart the phone. The problem could be temporarily fixed by writing some script that regularly checks the modem and restores it if it's down.


RE: Mobile connection vanishes on Phosh - Barugon - 07-06-2021

(07-06-2021, 11:51 AM)mouffa Wrote: it is a known issue, you will notice in dmesg that the usb hub also restarts, my opinion is that is a power surge of the modem, though you can restore it either restarting eg25-manager or giving `ofonoctl online` and entering the PIN with the qdbus command, still Plasma dialer won't be able to make calls and the best way is to restart the phone. The problem could be temporarily fixed by writing some script that regularly checks the modem and restores it if it's down.

Thanks for the info.


RE: Mobile connection vanishes on Phosh - Barugon - 07-08-2021

(07-06-2021, 11:51 AM)mouffa Wrote: The problem could be temporarily fixed by writing some script that regularly checks the modem and restores it if it's down.

If I were to check dmesg say every minute, would that keep the phone in a higher power state?


RE: Mobile connection vanishes on Phosh - mouffa - 07-08-2021

(07-08-2021, 04:38 PM)Barugon Wrote:
(07-06-2021, 11:51 AM)mouffa Wrote: The problem could be temporarily fixed by writing some script that regularly checks the modem and restores it if it's down.

If I were to check dmesg say every minute, would that keep the phone in a higher power state?

I don't think so, you don't even need to wake up the Plasma from suspension, the idea of the script is very generic, I would probably use qdbus commands in conjunction with the modem pins controlled by the eg25-manager, have a look at my thread about the modem's hardware interface. I believe it is quite involved in practice though it sounds easy.


RE: Mobile connection vanishes on Phosh - lolgzs - 07-10-2021

I read this in https://forum.manjaro.org/t/manjaro-arm-beta11-with-phosh-pinephone/69068


[*]You may loose the modem often. If that is the case call

Code:
systemctl edit --full ModemManager
[*] and then edit


Code:
--test-quick-suspend-resume
[*] to become


Code:
--test-no-suspend-resume



RE: Mobile connection vanishes on Phosh - Barugon - 07-12-2021

(07-10-2021, 02:11 AM)lolgzs Wrote: I read this in https://forum.manjaro.org/t/manjaro-arm-beta11-with-phosh-pinephone/69068


[*]You may loose the modem often. If that is the case call

Code:
systemctl edit --full ModemManager
[*] and then edit


Code:
--test-quick-suspend-resume
[*] to become


Code:
--test-no-suspend-resume

I guess slow wake-up for calls is better than modem crashing.


RE: Mobile connection vanishes on Phosh - Barugon - 07-13-2021

I tried "--test-quick-suspend-resume" but I'm still regularly loosing the modem.


RE: Mobile connection vanishes on Phosh - Linux_First - 07-22-2021

I switched from --test-quick-suspend-resume to --test-no-suspend-resume a couple days ago and the modem has not disconnected at all. I don't know why we have broken things as the default.