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.
10 lines
370 B
Bash
Executable File
10 lines
370 B
Bash
Executable File
#!/bin/sh
|
|
# 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 ;;
|
|
esac
|
|
exit 0
|