Sierra Wireless EM7455

Stefan Armbruster ml001 at armbruster-it.de
Fri May 6 07:41:10 UTC 2016


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
[06 Mai 2016, 09:36:45] [Debug] [/dev/cdc-wdm0] Opening device with
flags 'none'...
[06 Mai 2016, 09:36:45] [Debug] QMI Device at '/dev/cdc-wdm0' ready
[06 Mai 2016, 09:36:45] [Debug] [/dev/cdc-wdm0] Assuming service 'dms'
is supported...
[06 Mai 2016, 09:36:45] [Debug] [/dev/cdc-wdm0] Allocating new client ID...
[06 Mai 2016, 09:36:45] [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, 09:36:45] [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

[06 Mai 2016, 09:36:45] -Warning ** [/dev/cdc-wdm0] QMI framing error detected
error: couldn't create client for the 'dms' service: CID allocation
failed in the CTL client: Transaction timed out

The above was run with modemmanager stopped beforehand. Running the
same command while modemmanager is running gives a slightly different
error message at the end:

[06 Mai 2016, 09:38:22] -Warning ** Error reading from istream: Die
Ressource ist zur Zeit nicht verfügbar
error: couldn't create client for the 'dms' service: CID allocation
failed in the CTL client: Transaction timed out

The German part means: resource is currently not available.

Is there any kind of reset/init command that I should send before that one?

Cheers,
Stefan

2016-05-04 20:52 GMT+02:00 Aleksander Morgado <aleksander at aleksander.es>:
> On Sat, Apr 23, 2016 at 9:41 PM, Stefan Armbruster
> <ml001 at armbruster-it.de> wrote:
>> As mentioned previously I've installed Ubuntu 16.04 with default
>> modemmanager, libmbin, libqmi. Additional the "qmi-over-mbim" branch
>> stuff is installed in /usr/local.
>
> For the "qmi-over-mbim" branch operations, are you explicitly using
> the versions installed in /usr/local? Having two different versions is
> error prone, especially since the libraries require LD_LIBRARY_PATH...
> To be totally sure you're doing the right thing, you can try to
> ./configure --prefix=/usr (or instead the same set of configure
> options your distribution is using), and get it installed on top of
> the one provided by the distro.
>
> --
> Aleksander
> https://aleksander.es


More information about the ModemManager-devel mailing list