MBIM slot switch succeeds but DBus response times out
On FM350, with a profileless eSIM on slot 2, and pSIM on slot 1,
mmcli -m any --set-primary-sim-slot=2 returns
error: couldn't request primary SIM switch: 'GDBus.Error:org.freedesktop.libmbim.Error.Core.Timeout: Transaction timed out'
Sometimes, the following errors are also returned
error: couldn't request primary SIM switch: 'GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying' (maybe a crash, will try to get the stack trace)
The slot switch actually takes place and the modem re-enumerates, but DBus responses indicate otherwise. Attaching shell script and logs. @SomSP's hypothesis is that the slot-info-status causes the modem to be reprobed before mbim set device-slot-mappings is responded to.switch.sh
Edited by Pavan Holla