Sierra Wireless EM7455
Stefan Armbruster
ml001 at armbruster-it.de
Fri May 6 18:48:38 UTC 2016
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)...
[06 Mai 2016, 20:43:31] [Debug] QMI Device at '/dev/cdc-wdm0' ready
[06 Mai 2016, 20:43:31] [Debug] [/dev/cdc-wdm0] Assuming service 'dms'
is supported...
[06 Mai 2016, 20:43:31] [Debug] [/dev/cdc-wdm0] Allocating new client ID...
[06 Mai 2016, 20:43:31] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<< length = 16
<<<<<< data = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:02
[06 Mai 2016, 20:43:31] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<< length = 15
<<<<<< flags = 0x00
<<<<<< service = "ctl"
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = "none"
<<<<<< transaction = 1
<<<<<< tlv_length = 4
<<<<<< message = "Allocate CID" (0x0022)
<<<<<< TLV:
<<<<<< type = "Service" (0x01)
<<<<<< length = 1
<<<<<< value = 02
<<<<<< translated = dms
error: couldn't create client for the 'dms' service: CID allocation
failed in the CTL client: Transaction timed out
Is the "cannot connect to proxy" suspicious? I doubt since the
following line says "spawning new qmi-proxy".
Any more ideas what could be wrong? How can I debug that down?
Cheers,
Stefan
2016-05-06 10:12 GMT+02:00 Bjørn Mork <bjorn at mork.no>:
> Stefan Armbruster <ml001 at armbruster-it.de> writes:
>
>> Aleksander, I've just reinstalled qmi-over-mbim branches (both libmbim
>> and libqmi) using ./configure --prefix=/usr; make; sudo make install
>> and still getting the same result:
>>
>> # qmicli -v -d /dev/cdc-wdm0 --dms-set-fcc-authentication
>
> No, that won't work. Unless someone has fixed this up, there is no
> automatic use of the "QMI over MBIM" feature. You need to explicitly
> enable it both at build time and runtime:
>
> libmbim:
> ./configure --prefix=/usr; make; sudo make install
>
> libqmi:
> ./configure --prefix=/usr --enable-mbim-qmux; make; sudo make install
>
> And then run the command with '--device-open-mbim' (and I recommend
> using proxy too):
>
> qmicli -p -d /dev/cdc-wdm0 --device-open-mbim --dms-set-fcc-authentication
>
> If you run the command like that, then it shouldn't matter if
> ModemManager is running at the same time.
>
> Yes, this is unnecessarily complicated and error prone. I just didn't
> implement all the user friendly parts in my quick-and-dirty first hack.
> Feel free to fix :) At the very least, qmicli should do some sanity
> checking and return legible error messages when they fail.
>
>
> Bjørn
More information about the ModemManager-devel
mailing list