Will modem inhibition truly release MBIM port ?
Edward Chang
edward.chang.foxconn at gmail.com
Mon Sep 21 03:21:59 UTC 2020
Hi Aleksander,
The log with the latest libmbim is attached.
And, Yes, we created 3 messages "Update Session", "File Open", and "File
Write" which you may see from the log.
The fragmentation which we do (not in libmbim) is to divide the firmware
image with MaxTransferSize(262144 bytes in the log) which is the maximum
amount of file data, that the function can receive in a single CID
transaction. Libmbim itself will sub-divide the fragment with the "max
control transfer" size( here 4096 bytes).
On Thu, Sep 17, 2020 at 9:29 PM Aleksander Morgado <aleksander at aleksander.es>
wrote:
> Hey Edward,
>
> > Do you still need me to retest with the latest
> libmbim from git master for new log ?
>
> Yes please, would you be able to do that?
>
> > I have no idea why the modem received the
> messages out of sequence.
> > But this issue will not happen without using
> mbim-proxy.
> > Do you need the log without using mbim-proxy ?
>
> I'm actually more interested in seeing how you're using this new
> method you wrote. Is it really that you're creating a MBIM message
> with the whole payload (the full firmware file?) embedded and then
> sending it with libmbim (i.e. leaving the message fragmentation to
> libmbim)?
>
> Also, could you share the libmbim patch you have adding these new
> messages so that I can run them myself? Even if the modules I have
> don't support this new message, at least the
> application<->proxy<->device communication can be checked, which is
> what's failing here.
>
> --
> Aleksander
> https://aleksander.es
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20200921/6cf6bec0/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QDUwithMBIMproxyLatestMaster.log
Type: application/octet-stream
Size: 902595 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20200921/6cf6bec0/attachment-0001.obj>
More information about the ModemManager-devel
mailing list