device-pine64-pinephone: cannot reliably receive calls in suspend
pmOS Edge
device-pine64-pinephone-1-r0
linux-postmarketos-allwinner-6.8.4_git20240405-r1
Phosh
Receiving a call while suspended, shows the gnome-calls UI with Accept / Decline buttons. Selecting the Accept button begins to accept the call for a few seconds, then disconnects. After some time the modem indicator disappears and eg25-manager
needs to be restarted manually to bring it back.
logread
says:
[Apr 11 09:08:53] daemon [3726]: <msg> [modem5/call25] user request to accept call
[Apr 11 09:08:58] daemon [3726]: <wrn> [modem5] port cdc-wdm0 timed out 2 consecutive times
[Apr 11 09:08:58] daemon [3726]: <wrn> [modem5] port cdc-wdm0 timed out 3 consecutive times
[Apr 11 09:08:58] daemon [3726]: <wrn> [modem5] port cdc-wdm0 timed out 4 consecutive times
[Apr 11 09:08:58] daemon [3726]: <wrn> [modem5] could not load SIM identifier: QMI operation failed: Transaction timed out (3 retries left)
[Apr 11 09:08:58] daemon [3726]: <wrn> [modem5] couldn't reload call list: QMI operation failed: Transaction timed out
[Apr 11 09:08:58] daemon [3726]: <msg> [modem5/call25] call state changed: ringing-in -> terminated (error)
[...]
[Apr 11 09:09:31] daemon [3726]: <wrn> [modem5] port cdc-wdm0 timed out 9 consecutive times
[Apr 11 09:09:31] daemon [3726]: <wrn> [modem5] could not load SIM identifier: QMI operation failed: Transaction timed out
[Apr 11 09:09:31] daemon [3726]: <msg> [modem5] SIM identifier has changed: '###' -> '###'
[Apr 11 09:09:32] daemon [3726]: <err> [modem5] port cdc-wdm0 timed out 10 consecutive times, marking modem as invalid
Sometimes the incoming call during suspend can be accepted, but the display keeps flickering on and off rapidly instead of consistently staying on. Pressing the power button doesn't make a difference.
Outgoing calls work fine. Incoming calls while not suspended also work fine.
TODO:
-
Is this new with the 6.8.4 kernel or did it also happen with 6.7.9?
-
Is this caused by the udev rule to restart eg25-manager added in d67aa6b4 ?
-
Does using kernel modem power driver instead of eg25-manager make any difference?
cc @alaraajavamma