libmbim 1.24.0 slowing down MM startup

Amol Lad Amol.Lad at 4rf.com
Tue Jul 7 12:11:24 UTC 2020


Sorry, logs got mingled in previous post. Please find it attached



-----Original Message-----
From: Amol Lad <Amol.Lad at 4rf.com> 
Sent: Tuesday, 7 July 2020 5:37 PM
To: ModemManager (development) <modemmanager-devel at lists.freedesktop.org>
Subject: libmbim 1.24.0 slowing down MM startup

Hi Aleksander,

I'm testing 1.14.0 and finding that libmbim has significantly slowed down MM startup. I'm using EM7565 in MBIM mode. Please see below snippets from log which highlight the delay. As you can see "couldn't load carrier config; couldn't load SUPL; assistance data" are causing this slowness.

MM 1.12.6 or MM 1.14.0 + libmbim 1.24.0

Jul  7 11:42:59 [6570]: <info>  [modem0] QMI-based capability and mode switching support enabled Jul  7 11:43:04 [6570]: <warn>  [modem0] couldn't load carrier config: Operation timed out Jul  7 11:43:05 [6570]: <warn>  [modem0/sim0] couldn't load list of emergency numbers: Failed to parse CRSM query result '+CRSM: 148,8,""'
Jul  7 11:43:15 [6570]: <warn>  [modem0] couldn't load SUPL server: Failed to receive indication with the current server settings Jul  7 11:43:25 [6570]: <warn>  [modem0] couldn't load supported assistance data types: Failed to receive indication with the predicted orbits data source Jul  7 11:43:25 [6570]: <info>  [modem0] state changed (unknown -> disabled)

MM 1.12.6 + libmbim 1.22.0

Jul  7 11:38:45 [6529]: <info>  QMI-based capability and mode switching support enabled Jul  7 11:38:46 [6529]: <warn>  couldn't load list of Emergency Numbers: 'Failed to parse CRSM query result '+CRSM: 148,8,""''
Jul  7 11:38:46 [6529]: <info>  Modem: state changed (unknown -> disabled)


Bearer connection is also slow with libmbim 1.24.0. If I switch to 1.22.0 in below then delay between registered and connect is not seen

MM 1.12.6 + libmbim 1.24.0

Jul  7 12:00:21 [6548]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (unknown -> registering) Jul  7 12:00:21 [6548]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (registering -> home) Jul  7 12:00:21 [6548]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (enabled -> registered) Jul  7 12:00:47 [6548]: <info>  Simple connect state (6/8): Bearer Jul  7 12:00:47 [6548]: <info>  Simple connect state (7/8): Connect Jul  7 12:00:47 [6548]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (registered -> connecting) Jul  7 12:00:51 [6548]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connecting -> connected)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libmbim 1.24.0 issue.txt
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20200707/69e96460/attachment.txt>


More information about the ModemManager-devel mailing list