qmicli always getting transaction time out

EMANUEL FERNANDO MONTOYA GOMEZ emanuel.montoya at udea.edu.co
Sat Apr 21 06:07:14 UTC 2018


*I have installed newer kernel but still the same response from qmicli
commands*

*ico1 at ico1:~$ lsb_release -a*
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:        16.04
Codename:       xenial

*ico1 at ico1:~$ uname -a*
Linux ico1 4.17.0-041700rc1-lowlatency #201804152230 SMP PREEMPT Mon Apr 16
02:37:13 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


*I have 3 same reference devices and modems, so I  installed a fresh Ubuntu
server 17.10 which has kernel 4.13, on one of the others  and I get the
same response from qmicli commands*ico2 at ico2:~$ uname -a
Linux ico2 4.13.0-21-generic #24-Ubuntu SMP Mon Dec 18 17:29:16 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux

ico2 at ico2:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 17.10
Release:        17.10
Codename:       artful

ico2 at ico2:~$ history
    1  uname -r
    2  sudo apt update
    3  sudo apt install libqmi-utils libqmi-proxy
    4  qmicli -d /dev/cdc-wdm0 --dms-get-manufacturer
    5  sudo qmicli -d /dev/cdc-wdm0 --dms-get-manufacturer
    6  sudo qmicli -d /dev/cdc-wdm0 --dms-get-manufacturer -v
    7  uname -r
    8  uname -a
    9  lsb_release -a
   10  history

ico2 at ico2:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 1199:9071 Sierra Wireless, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ico2 at ico2:~$

ico2 at ico2:~$ sudo qmicli -d /dev/cdc-wdm0 --wda-get-data-format -v
[21 abr 2018, 00:41:05] [Debug] [/dev/cdc-wdm0] Opening device with flags
'auto'...
[21 abr 2018, 00:41:05] [Debug] [/dev/cdc-wdm0] loaded driver of cdc-wdm
port: qmi_wwan
[21 abr 2018, 00:41:05] [Debug] [/dev/cdc-wdm0] automatically selecting QMI
mode
[21 abr 2018, 00:41:05] [Debug] QMI Device at '/dev/cdc-wdm0' ready
[21 abr 2018, 00:41:05] [Debug] [/dev/cdc-wdm0] Assuming service 'wda' is
supported...
[21 abr 2018, 00:41:05] [Debug] [/dev/cdc-wdm0] Allocating new client ID...
[21 abr 2018, 00:41:05] [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:1A

[21 abr 2018, 00:41:05] [Debug] [/dev/cdc-wdm0] sent generic request
(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      = 1A
<<<<<<   translated = wda

error: couldn't create client for the 'wda' service: CID allocation failed
in the CTL client: Transaction timed out
ico2 at ico2:~$

ico2 at ico2:~$ lsusb -v -d 1199:9071
Bus 001 Device 002: ID 1199:9071 Sierra Wireless, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x1199 Sierra Wireless, Inc.
  idProduct          0x9071
  bcdDevice            0.06
  iManufacturer           1
  iProduct                2
  iSerial                 3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          160
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      ** UNRECOGNIZED:  05 24 00 10 01
      ** UNRECOGNIZED:  05 24 01 00 00
      ** UNRECOGNIZED:  04 24 02 02
      ** UNRECOGNIZED:  05 24 06 00 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x000a  1x 10 bytes
        bInterval               9
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      ** UNRECOGNIZED:  05 24 00 10 01
      ** UNRECOGNIZED:  05 24 01 00 00
      ** UNRECOGNIZED:  04 24 02 02
      ** UNRECOGNIZED:  05 24 06 00 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x000a  1x 10 bytes
        bInterval               9
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        8
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               9
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0

After this I installer modemmanager and it works the same as in the first
device.

Thanks in advance

2018-04-20 23:35 GMT-05:00 EMANUEL FERNANDO MONTOYA GOMEZ <
emanuel.montoya at udea.edu.co>:

> Ohh, so bad, sorry.
>
> Thanks a lot for your help and time.
>
> 2018-04-20 23:31 GMT-05:00 Bjørn Mork <bjorn at mork.no>:
>
>> EMANUEL FERNANDO MONTOYA GOMEZ <emanuel.montoya at udea.edu.co> writes:
>>
>> > Linux ico1 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017
>> > x86_64 x86_64 x86_64 GNU/Linux
>>
>> v4.4 does not support the em7455 i qmi mode.  You need v4.5 or later.
>>
>>
>> Bjørn
>>
>
>
>
> --
> *Emanuel Fernando Montoya Gómez*
> Estudiante Maestría en Ingeniería de Telecomunicaciones
> emanuel.montoya at udea.edu.co
> Tel. 3122241924
>
>


-- 
*Emanuel Fernando Montoya Gómez*
Estudiante Maestría en Ingeniería de Telecomunicaciones
emanuel.montoya at udea.edu.co
Tel. 3122241924

-- 

"La información aquí contenida es para uso exclusivo de la persona o 
entidad de destino. Está estrictamente prohibida su utilización, copia, 
descarga, distribución, modificación y/o reproducción total o parcial, sin 
el permiso expreso de Universidad de Antioquia, pues su contenido puede ser 
de carácter confidencial y/o contener material privilegiado. Si usted 
recibió esta información por error, por favor contacte en forma inmediata a 
quien la envió y borre este material de su computador. Universidad de 
Antioquia no es responsable por la información contenida en esta 
comunicación, el directo responsable es quien la firma o el autor de la 
misma."



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20180421/c34c4640/attachment-0001.html>


More information about the libqmi-devel mailing list