<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">If I'm not wrong qmi_wwan is trying to bind to interface 5, but rmnet<br>
is on 2 (that has been wrongly taken by option). Which kernel version<br>
are you using? Did you modify the source code of option and qmi_wwan?<br></blockquote><div><br></div></span><div>This does indeed look incorrect - the qmi_wwan.c modification on this kernel uses 5 but the LE910 documents say to use 2. Good catch, thanks!</div></div></div></div></blockquote><div><br></div><div>With the correct change to qmi_wwan.c it now creates /dev/cdc-wdm0 and uses QMI mode.</div><div><br></div><div>Not fully there yet, though, I tried --3gpp-scan and the modem is listed as disabled:</div><div><br></div><div><div>linaro@linaro-gnome:~$ sudo mmcli -m 0 --3gpp-scan</div><div>error: modem not enabled yet</div></div><div><br></div><div>Looking at the modem state:</div><div><br></div><div><div>linaro@linaro-gnome:~$ sudo mmcli -m 0</div><div><br></div><div>/org/freedesktop/ModemManager1/Modem/0 (device id '63d83e4a4663556a1e70904a69dcbb6441c0ba3b')</div><div>  -------------------------</div><div>  Hardware |   manufacturer: 'QUALCOMM INCORPORATED'</div><div>           |          model: 'LE910-EUG'</div><div>           |       revision: '17.00.523  1  [July 14 2014 23:00:00]'</div><div>           |      supported: 'gsm-umts</div><div>           |                  lte</div><div>           |                  gsm-umts, lte'</div><div>           |        current: 'gsm-umts'</div><div>           |   equipment id: '359852053548609'</div><div>  -------------------------</div><div>  System   |         device: '/sys/devices/f9400000.ssusb/f9400000.dwc3/xhci-hcd.0.auto/usb1/1-2/1-2.1'</div><div>           |        drivers: 'option1, qmi_wwan'</div><div>           |         plugin: 'Generic'</div><div>           |   primary port: 'cdc-wdm0'</div><div>           |          ports: 'ttyUSB2 (at), cdc-wdm0 (qmi), wwan0 (net)'</div><div>  -------------------------</div><div>  Numbers  |           own : 'unknown'</div><div>  -------------------------</div><div>  Status   |           lock: 'sim-pin2'</div><div>           | unlock retries: 'sim-pin (3), sim-pin2 (3), sim-puk (10), sim-puk2 (10)'</div><div>           |          state: 'disabled'</div><div>           |    power state: 'on'</div><div>           |    access tech: 'unknown'</div><div>           | signal quality: '0' (cached)</div><div>  -------------------------</div><div>  Modes    |      supported: 'allowed: 2g; preferred: none</div><div>           |                  allowed: 3g; preferred: none</div><div>           |                  allowed: 2g, 3g; preferred: none</div><div>           |                  allowed: 2g, 3g; preferred: 2g</div><div>           |                  allowed: 2g, 3g; preferred: 3g</div><div>           |                  allowed: 2g, 3g, 4g; preferred: none'</div><div>           |        current: 'allowed: 2g, 3g; preferred: none'</div><div>  -------------------------</div><div>  Bands    |      supported: 'dcs, egsm, u2100, u800, u850, u900, eutran-iii, eutran-vii, eutran-xx'</div><div>           |        current: 'dcs, egsm, u2100, u800, u850, u900, eutran-iii, eutran-vii, eutran-xx'</div><div>  -------------------------</div><div>  IP       |      supported: 'ipv4, ipv6, ipv4v6'</div><div>  -------------------------</div><div>  3GPP     |           imei: '359852053548609'</div><div>           |  enabled locks: 'none'</div><div>           |    operator id: 'unknown'</div><div>           |  operator name: 'unknown'</div><div>           |   subscription: 'unknown'</div><div>           |   registration: 'unknown'</div><div>  -------------------------</div><div>  SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'</div><div><br></div><div>  -------------------------</div><div>  Bearers  |          paths: 'none'</div></div><div><br></div><div><br></div><div><br></div><div>Any hints much appreciated. The full syslog after starting ModemManager in debug mode is here: <a href="https://pastebin.com/KTuS7hDu">https://pastebin.com/KTuS7hDu</a></div><div><br></div><div>Many thanks,</div><div>Kelvin.</div><div><br></div><div> </div></div></div></div>