Quectel EM20 MBIM

Sebastian Sjoholm sebastian.sjoholm at gmail.com
Tue Jun 25 13:50:28 UTC 2019


Hi,

Regarding Quectel EM20 and MBIM, obviously this is very new modem, so there
might be modem related issue as well.

I have compiled latest libmbim (1.18 branch) and using Kernel 5.1.15

But it seems that I get not valid response from MBIM, please see below;

root at SBC-EM20-G:~# mbimcli -V

mbimcli 1.18.3
Copyright (C) 2013-2019 Aleksander Morgado
License GPLv2+: GNU GPL version 2 or later <
http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

root at SBC-EM20-G:~# uname -a
Linux SBC-EM20-G 5.1.15 #1 SMP Mon Jun 24 23:23:43 MDT 2019 armv7l GNU/Linux
root at SBC-EM20-G:~# lsusb
Bus 002 Device 003: ID 2c7c:0620
Bus 002 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root at SBC-EM20-G:~# lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ci_hdrc/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 480M
        |__ Port 2: Dev 3, If 1, Class=Vendor Specific Class, Driver=, 480M
        |__ Port 2: Dev 3, If 2, Class=Vendor Specific Class, Driver=, 480M
        |__ Port 2: Dev 3, If 3, Class=Vendor Specific Class, Driver=, 480M
        |__ Port 2: Dev 3, If 4, Class=Communications, Driver=cdc_mbim, 480M
        |__ Port 2: Dev 3, If 5, Class=CDC Data, Driver=cdc_mbim, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ci_hdrc/1p, 480M
root at SBC-EM20-G:~# dmesg | grep mbim
[   15.229872] cdc_mbim 2-1.2:1.4: cdc-wdm0: USB WDM device
[   15.231117] cdc_mbim 2-1.2:1.4 wwan0: register 'cdc_mbim' at
usb-ci_hdrc.1-1.2, CDC MBIM, 12:7d:42:81:0d:1c
[   15.232694] usbcore: registered new interface driver cdc_mbim
root at SBC-EM20-G:~# mbimcli -d /dev/cdc-wdm0 --query-device-caps --verbose
[25 Jun 2019, 15:47:49] [Debug] opening device...
[25 Jun 2019, 15:47:49] [Debug] [/dev/cdc-wdm0] Queried max control message
size: 4096
[25 Jun 2019, 15:47:49] [Debug] [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 16
<<<<<<   data   = 01:00:00:00:10:00:00:00:01:00:00:00:00:10:00:00

[25 Jun 2019, 15:47:49] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 16
<<<<<<   type        = open (0x00000001)
<<<<<<   transaction = 1
<<<<<< Contents:
<<<<<<   max control transfer = 4096

[25 Jun 2019, 15:47:49] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 16
>>>>>>   data   = 01:00:00:80:10:00:00:00:01:00:00:00:02:00:00:00

[25 Jun 2019, 15:47:49] [Debug] getting open done result failed: closed
error: couldn't open the MbimDevice: Failure
root at SBC-EM20-G:~#

Regards,
Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libmbim-devel/attachments/20190625/e391cbbe/attachment.html>


More information about the libmbim-devel mailing list