Restore unconditional BAM-DMUX wwan0 open for ModemManager and add primary-SIM QMI VOICE USSD fallback
MMPluginQcomSoc requires net/wwan0 to export /org/freedesktop/ModemManager1/Modem/0, so gating --dpm-open-port on type=gsm NetworkManager profiles left ModemManager with 'No modems were found' on Wi-Fi-only setups while bam-dmux already runtime-suspends in 1000 ms (pc_state=0) when idle. - Always open the BAM-DMUX QMI DPM port in msm8909-modem-wwan-port before ModemManager starts and keep wwan0 registered across NetworkManager down events. - Add -d qrtr://0 fallback and late-open mmcli rescan handling in bananarchy-dpm.sh and msm-modem-uim-selection provision_slot(). - Resolve mm_modem via mmcli -L in msm-modem-uim-selection ussd and fall back to direct AF_QIPCRTR QMI VOICE USSD (sub=0) on the primary SIM alongside sub=1 on the secondary SIM. - Rebuild and pin nokia-argon and nokia-beatles a1114 (carbonara) images and update guards and docs.
This commit is contained in:
1 parent
c95a84c69c
commit
b2cf028808
8 files changed
+246
-120
No files matched your search
@@ -1,8 +1,9 @@
|
||||
#!/bin/sh
|
||||
# U9: only keep the modem data port open while a cellular connection is up.
|
||||
# Ensure the QMI BAM-DMUX data port is open on cellular up; never close it on
|
||||
# down because unregistering net/wwan0 causes ModemManager (qcom-soc) to drop
|
||||
# the modem object, and bam-dmux already runtime-suspends in 1000 ms when idle.
|
||||
[ "$1" = "qrtr0" ] || [ "$1" = "wwan0" ] || exit 0
|
||||
case "$2" in
|
||||
up|vpn-up) /usr/bin/bananarchy-dpm.sh open ;;
|
||||
down|vpn-down) /usr/bin/bananarchy-dpm.sh close ;;
|
||||
up|vpn-up) /usr/bin/bananarchy-dpm.sh open ;;
|
||||
esac
|
||||
exit 0
|
||||
Reference in new issue
Block a user