MC7455/EM7455 dependencies and protocols

Aleksander Morgado aleksander at aleksander.es
Tue Mar 7 21:35:06 UTC 2017


On Tue, Mar 7, 2017 at 9:51 PM, Dan Williams <dcbw at redhat.com> wrote:
>> The EM7455 does not have this issue:
>> root at ventana:~# qmicli -d /dev/cdc-wdm0 --dms-get-firmware-preference
>>
>
> qmicli has some logic to automatically detect that the device is using
> MBIM mode, and then do the QMI-over-MBIM thing automatically for you.
>
> Look at the driver binding from 'dmesg'.  That will always tell you
> what driver the kernel has chosen for each device, and thus what mode
> its in.

When I did the automatic QMI over MBIM detection, I also thought of
adding that same check in libmbim; i.e. to trigger an error early if
you're trying to run MBIM over a QMI port directly, which won't work.
Should add that one of these days.

-- 
Aleksander
https://aleksander.es


More information about the libmbim-devel mailing list