PINE64
[solved]no more call received [ModemManager, QMI protocol error] - 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)
+--- Thread: [solved]no more call received [ModemManager, QMI protocol error] (/showthread.php?tid=13629)



[solved]no more call received [ModemManager, QMI protocol error] - alexandre - 04-14-2021

Hi,

I run danct-archlinuxARM on my pinephone «convergence pack» with both phosh/ModemManager and plasma/ofono installed. I switch from one to another from time to time using systemctl start/stop… Everything was fine since last week-end : i receive no more call while running phosh/ModemManager. I can provide a whole log file but I think the important things are hereafter. I precise that i can still call and send/receive sms. More surprinsigly, everything still works while running plasma/ofono, and much more surprinsigly, i'm pretty sur having received calls while running plasma and ModemManager (for unknown reason, when ofono dies it often restart ModemManager…) ! I could just stay on plasma, but i'd like better to solve this. Here is a part of the log :


avril 13 22:49:07 alarm ModemManager[3469]: <info>  [modem0] simple connect started...
avril 13 22:49:07 alarm ModemManager[3469]: <info>  [modem0] simple connect state (4/8): wait to get fully enabled
avril 13 22:49:07 alarm ModemManager[3469]: <info>  [modem0] simple connect state (5/8): register
avril 13 22:49:07 alarm ModemManager[3469]: <info>  [modem0] simple connect state (6/8): bearer
avril 13 22:49:07 alarm ModemManager[3469]: <info>  [modem0] simple connect state (7/8): connect
avril 13 22:49:07 alarm ModemManager[3469]: <info>  [modem0] state changed (registered -> connecting)
avril 13 22:49:07 alarm NetworkManager[3298]: <info>  [1618346947.1847] modem["cdc-wdm0"]: modem state changed, 'registered' --> 'connecting' (reason: user-requested)
avril 13 22:49:07 alarm ModemManager[3469]: <info>  [modem0/bearer1] QMI IPv4 Settings:
avril 13 22:49:07 alarm ModemManager[3469]: <info>  [modem0/bearer1]    address: 10.48.188.105/30
avril 13 22:49:07 alarm ModemManager[3469]: <info>  [modem0/bearer1]    gateway: 10.48.188.106
avril 13 22:49:07 alarm ModemManager[3469]: <info>  [modem0/bearer1]    DNS #1: 212.27.40.240
avril 13 22:49:07 alarm ModemManager[3469]: <info>  [modem0/bearer1]    DNS #2: 212.27.40.241
avril 13 22:49:07 alarm ModemManager[3469]: <info>  [modem0/bearer1]        MTU: 1550
avril 13 22:49:07 alarm ModemManager[3469]: <info>  [modem0/bearer1] couldn't start network: QMI protocol error (14): 'CallFailed'
avril 13 22:49:07 alarm ModemManager[3469]: <info>  [modem0/bearer1] call end reason (1): generic-unspecified
avril 13 22:49:07 alarm ModemManager[3469]: <info>  [modem0/bearer1] verbose call end reason (2,210): [internal] pdn-ipv6-call-disallowed
avril 13 22:49:07 alarm ModemManager[3469]: <info>  [modem0] state changed (connecting -> connected)
avril 13 22:49:07 alarm ModemManager[3469]: <info>  [modem0] simple connect state (8/8): all done



Thanks for your help,
alex


RE: no more call received [ModemManager, QMI protocol error] - alexandre - 04-19-2021

I guess it's solved. The matter didnt come from ModemManager but rather from kdeconnect which became the default call-app !!! removing it fixes this behaviour but I was suggested the following workaround in the calls matrix room (thanks to them) : in /usr/share/applications/gnome-mimeapps.list add the following lines :
x-scheme-handler/tel=sm.puri.Calls.desktop
x-scheme-handler/sms=sm.puri.Chatty.desktop