Pine64-Arch icon indicating copy to clipboard operation
Pine64-Arch copied to clipboard

Mobile Internet broken after modemmanager and libmm-glib update

Open dariox86 opened this issue 3 years ago • 8 comments

Since modemmanager-1.18.0-1 and libmm-glib-1.18.0-1 mobile Internet is completely unusable about 4 out of 5 times. Available coverage is almost invariably reported as 2G whereas it is supposed to be 4G. In fact no connection is available at all. Mobile signal strength seems correctly reported. Inbound and outbound calls seem to work as usual. Downgrading to modemmanager-1.16.8-1 and libmm-glib-1.16.8-1 fixes the issue. I am using Biktorgj's open source modem firmware version 0.3.1.

dariox86 avatar Sep 15 '21 21:09 dariox86

4G mobile internet works fine on my end though, can you provide journalctl -b?

Danct12 avatar Sep 16 '21 17:09 Danct12

Attached the requested log with modemmanager-1.18.0-2 and libmm-glib-1.18.0-2. The moment I saved the log there was 4G network connectivity and it was working as expected, though the phone would report 2G instead. The reported signal quality seems accurate. Most of the time it is reported as 2G but there is no network connectivity at all, not even the reported 2G coverage.

Log for journalctl -b

dariox86 avatar Sep 16 '21 21:09 dariox86

This is news from nine days ago: https://dylanvanassche.be/blog/2021/pinephone-modem-myths/ Please, read myth number 2. I don't know if this is still relevant though.

dariox86 avatar Sep 18 '21 15:09 dariox86

Don't think that's relevant, currently 1.18.0 is a stable release which can be safely upgraded to.

Anyway I looked at the log but can't find anything, maybe I missed something? Would be a smarter idea to have @DylanVanAssche looking at the log.

Danct12 avatar Sep 19 '21 03:09 Danct12

Hmm, after I looked again I found

set 16 23:38:58 danctnix ModemManager[3761]: <info>  [modem0/bearer2] couldn't start network: QMI protocol error (14): 'CallFailed'
set 16 23:38:58 danctnix ModemManager[3761]: <info>  [modem0/bearer2] verbose call end reason (2,210): [internal] pdn-ipv6-call-disallowed

After a look up, this seems to be relevant: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/430

Danct12 avatar Sep 19 '21 03:09 Danct12

@Danct12 That might be indeed related...

DylanVanAssche avatar Sep 27 '21 06:09 DylanVanAssche

It works as expected after reinstalling the operating system from scratch. Go figure...

EDIT: Sorry, I went out for a walk and it stopped working. Same issue as before.

dariox86 avatar Oct 10 '21 12:10 dariox86

I found a workaround and opened a ticket upstream.

dariox86 avatar Nov 03 '21 21:11 dariox86

This issue is gone for me in recent releases. The only problem I have though is that it takes a couple of minutes to connect to mobile network upon boot, but this is just a minor nuisance.

dariox86 avatar Dec 06 '22 08:12 dariox86