Detecting Dual SIM on EM7455
Jack Broderick
jbroderick at councilrock.com
Thu Apr 8 10:45:16 UTC 2021
Hey Alexsdander,
On Thu, Apr 8, 2021 at 3:28 AM Aleksander Morgado <aleksander at aleksander.es>
wrote:
> Hey Jack
>
> >>> > A potentially unrelated issue is that it appears MM restarts when
> switching slots on a modem that needs to switch profiles as a result:
> >>> > Apr 7 10:56:07 EDG4600 ModemManager[15523]: <info> ModemManager
> (version 1.16.2) starting in system bus...
> >>> >
> >>> > I have not looked into this, only just noticed as I switched the
> slot...
> >>> >
> >>>
> >>> Oh that looks like a segfault. If you could get a backtrace and MM
> >>> debug log after running with "gdb --args /usr/sbin/ModemManager debug"
> >>> (then "r" for run, wait for it to crash, and "bt" for backtrace).
> >>> you'll need to make sure the system-started MM is stopped before doing
> >>> that also (e.g. "sudo systemctl stop ModemManager if using systemd")
> >
> > ModemManager[18089]: <info> [base-manager] port ttyUSB2 released by
> device
> '/sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.1'
> > ModemManager[18089]: <info> [base-manager] port ttyUSB3 released by
> device
> '/sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.1'
> > ModemManager[18089]: <info> [base-manager] port ttyUSB4 released by
> device
> '/sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.1'
> > ModemManager[18089]: <info> [base-manager] port wwan1 released by
> device
> '/sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.1'
> > ModemManager[18089]: <info> [base-manager] port cdc-wdm1 released by
> device
> '/sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.1'
> > ModemManager[18089]: <info> [device
> /sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.1]
> creating modem with plugin 'sierra' and '2' ports
> > ModemManager[18089]: <warn> [modem1/sim2] couldn't wait for SIM to be
> ready: failed waiting for SIM readiness
> > ModemManager[18089]: <warn> [modem1/sim2] couldn't load IMSI: Couldn't
> peek QMI port
> > ModemManager[18089]: <warn> [modem2] couldn't start initialization:
> Couldn't query file info: Error when getting information for file
> “/dev/cdc-wdm2”: No such file or directory
> > ModemManager[18089]: <warn> [modem2] couldn't initialize: 'Modem is
> unusable, cannot fully initialize'
> > ModemManager[18089]: <warn> [modem1/sim2] couldn't load operator
> identifier: Couldn't peek QMI port
> > ModemManager[18089]: <warn> [modem1/sim2] couldn't load operator name:
> Couldn't peek QMI port
> > ModemManager[18089]: <warn> [modem1/sim2] couldn't load list of
> emergency numbers: No AT port available to run command
> >
> > Thread 1 "ModemManager" received signal SIGSEGV, Segmentation fault.
> > 0x76f38e9c in mm_gdbus_modem_get_unlock_required () from
> /usr/lib/libmm-glib.so.0
> > (gdb) bt
> > #0 0x76f38e9c in mm_gdbus_modem_get_unlock_required () from
> /usr/lib/libmm-glib.so.0
> > #1 0x0007071c in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt
> stack?)
> >
>
> Thanks for that! This totally looks like
> https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/351
> and it's already fixed in git master and cherry-picked for the next
> 1.16.4 soon.
>
Great, thanks!
>
> --
> Aleksander
> https://aleksander.es
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20210408/9f733817/attachment-0001.htm>
More information about the ModemManager-devel
mailing list