MM qmi USSD callbacks
Mark Hindley
mark at hindley.org.uk
Mon Jun 23 09:51:10 UTC 2025
Hi,
I am working on issues with USSD responses on Oneplus 6T (fajita). The
installation is Mobian trixie with modemmanager 1.24.0 and qmi 1.36.0.
Dialling USSD to request balance in gnome-calls produces no response in the UI
once the USSD spinner closes.
Using the terminal:
$ mmcli -m any --3gpp-ussd-initiate="*669#"
error: couldn't initiate USSD session: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Aborted: Aborted: USSD terminated by network'
However, the response *has* been recieved and is visible in mmcli:
$ mmcli -m any --3gpp-ussd-status
---------------------------------
General | path: /org/freedesktop/ModemManager1/Modem/0
---------------------------------
3GPP USSD | status: idle
| network notification: Your Balance is £x.xx GBP
This appears to be caused by ussd_release_indication_cb() being called before
ussd_indication_cb() has processed the response.
I tried blocking the release-ussd signal in ussd_indication_cb(), but couldn't
get it to help. However, returning immediately from ussd_release_indication_cb()
if self->priv->pending_ussd_action is set does help, but I am unsure it is the
right fix.
Or is this something to address in qmi?
Alternatively, am I missing something more obvious?
Thanks
Mark
--
Mark Hindley
GPG: 506C 15A4 2B0A F5A0 A854 23EE D28A 45BF 3287 D649
More information about the ModemManager-devel
mailing list