Sierra Wireless EM7455

Stefan Armbruster ml001 at armbruster-it.de
Fri May 6 21:35:37 UTC 2016


pkg-config --modversion mbim-glib returns 1.12.2.

# find /usr -name "libmbim*.so"
/usr/lib/libmbim-glib.so
/usr/lib/x86_64-linux-gnu/libmbim-glib.so

So my build from git gets installed to /usr/lib and the the one in
/usr/lib/x86_64-linux-gnu/ is from the Ubuntu packages archive.

How to deal with that? I see generally 3 options:
1) get rid of installed ubuntu packages - but modemmanager depends on those
2) change precedence of /usr/lib over /usr/lib/x86_64-linux-gnu
3) change ./configure in libmbim /libqmi build to overwrite the
existing lib in /usr/lib/x86_64-linux-gnu/

I guess 3 is the way to go. What options do I need to set on ./configure ?

Cheers,
Stefan

2016-05-06 22:05 GMT+02:00 Bjørn Mork <bjorn at mork.no>:
> Stefan Armbruster <ml001 at armbruster-it.de> writes:
>
>> Thanks for the build instructions. I've followed them closely, but
>> unfortunately I still get a time out upon "Allocate CID".
>>
>> # qmicli -v -p -d /dev/cdc-wdm0 --device-open-mbim --dms-set-fcc-authentication
>> [06 Mai 2016, 20:43:30] [Debug] [/dev/cdc-wdm0] Opening device with
>> flags 'proxy, mbim'...
>> [06 Mai 2016, 20:43:30] [Debug] cannot connect to proxy: Verbindung
>> ist gescheitert: Verbindungsaufbau abgelehnt
>> [06 Mai 2016, 20:43:30] [Debug] spawning new qmi-proxy (try 1)...
>
> No, sorry.  This libqmi instance was not built with MBIM support.
> Hitting the qmi-proxy here proves that the MBIM support is missing.
> Yes, it's subtle.  We should make device-open-mbim fail in this case.
> But for now we'll just look for this debug message.
>
> Maybe libqmi didn't find the libmbim installation? Does
>
>   pkg-config --modversion mbim-glib
>
> give you 1.13.0? And when you run
>
>   ./configure --prefix=/usr --enable-mbim-qmux
>
> do you see:
>
>   checking for MBIM... yes
>
> ?
>
> And if you do:
>
>    ldd `which qmicli`|grep mbim
>
> do you see something like:
>
>         libmbim-glib.so.4 => /usr/lib/x86_64-linux-gnu/libmbim-glib.so.4 (0x00007fe95cb80000)
>
> ?
>
>
> Bjørn


More information about the ModemManager-devel mailing list