<div dir="ltr">Hi,<div><br></div><div>Regarding Quectel EM20 and MBIM, obviously this is very new modem, so there might be modem related issue as well.</div><div><br></div><div>I have compiled latest libmbim (1.18 branch) and using Kernel 5.1.15</div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br></div><div>But it seems that I get not valid response from MBIM, please see below;</div><div><br></div><div>root@SBC-EM20-G:~# mbimcli -V<br><br>mbimcli 1.18.3<br>Copyright (C) 2013-2019 Aleksander Morgado<br>License GPLv2+: GNU GPL version 2 or later <<a href="http://gnu.org/licenses/gpl-2.0.html">http://gnu.org/licenses/gpl-2.0.html</a>><br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.<br><br>root@SBC-EM20-G:~# uname -a<br>Linux SBC-EM20-G 5.1.15 #1 SMP Mon Jun 24 23:23:43 MDT 2019 armv7l GNU/Linux<br>root@SBC-EM20-G:~# lsusb <br>Bus 002 Device 003: ID 2c7c:0620  <br>Bus 002 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub<br>Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>root@SBC-EM20-G:~# lsusb -t<br>/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ci_hdrc/1p, 480M<br>    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M<br>        |__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 480M<br>        |__ Port 2: Dev 3, If 1, Class=Vendor Specific Class, Driver=, 480M<br>        |__ Port 2: Dev 3, If 2, Class=Vendor Specific Class, Driver=, 480M<br>        |__ Port 2: Dev 3, If 3, Class=Vendor Specific Class, Driver=, 480M<br>        |__ Port 2: Dev 3, If 4, Class=Communications, Driver=cdc_mbim, 480M<br>        |__ Port 2: Dev 3, If 5, Class=CDC Data, Driver=cdc_mbim, 480M<br>/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ci_hdrc/1p, 480M<br>root@SBC-EM20-G:~# dmesg | grep mbim<br>[   15.229872] cdc_mbim 2-1.2:1.4: cdc-wdm0: USB WDM device<br>[   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<br>[   15.232694] usbcore: registered new interface driver cdc_mbim<br>root@SBC-EM20-G:~# mbimcli -d /dev/cdc-wdm0 --query-device-caps --verbose<br>[25 Jun 2019, 15:47:49] [Debug] opening device...<br>[25 Jun 2019, 15:47:49] [Debug] [/dev/cdc-wdm0] Queried max control message size: 4096<br>[25 Jun 2019, 15:47:49] [Debug] [/dev/cdc-wdm0] Sent message...<br><<<<<< RAW:<br><<<<<<   length = 16<br><<<<<<   data   = 01:00:00:00:10:00:00:00:01:00:00:00:00:10:00:00<br><br>[25 Jun 2019, 15:47:49] [Debug] [/dev/cdc-wdm0] Sent message (translated)...<br><<<<<< Header:<br><<<<<<   length      = 16<br><<<<<<   type        = open (0x00000001)<br><<<<<<   transaction = 1<br><<<<<< Contents:<br><<<<<<   max control transfer = 4096<br><br>[25 Jun 2019, 15:47:49] [Debug] [/dev/cdc-wdm0] Received message...<br>>>>>>> RAW:<br>>>>>>>   length = 16<br>>>>>>>   data   = 01:00:00:80:10:00:00:00:01:00:00:00:02:00:00:00<br><br>[25 Jun 2019, 15:47:49] [Debug] getting open done result failed: closed<br>error: couldn't open the MbimDevice: Failure<br>root@SBC-EM20-G:~# <br></div><div><br></div><div>Regards,</div><div>Sebastian</div></div></div></div></div></div></div></div>