<div dir="ltr">Hi all,<div><br></div><div>A further question on this. When I echo into new_id to enumerate the usb ports, if I reset the modem with at+reset</div><div>then the cdc and wwan interface never comes back? Is this expected?</div><div>I note there is no way (that I can see) to reboot the modem with mbimcli?</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">[ 3391.410331] usb 2-4: USB disconnect, device number 3<br>[ 3391.410445] cdc_mbim 2-4:1.0 wwan2: unregister 'cdc_mbim' usb-0000:00:14.0-4, CDC MBIM<br>[ 3391.415810] option 2-4:1.2: device disconnected<br>[ 3391.415919] option 2-4:1.3: device disconnected<br>[ 3391.416147] option 2-4:1.4: device disconnected<br>[ 3391.416439] option 2-4:1.5: device disconnected<br>[ 3404.281434] usb 2-4: new SuperSpeed Gen 1 USB device number 5 using xhci_hcd<br>[ 3404.300648] usb 2-4: New USB device found, idVendor=1e2d, idProduct=00b3, bcdDevice= 4.14<br>[ 3404.300653] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3<br>[ 3404.300655] usb 2-4: Product: Cinterion PID 0x00B3 USB Mobile Broadband<br>[ 3404.300658] usb 2-4: Manufacturer: Cinterion<br>[ 3404.300660] usb 2-4: SerialNumber: ed425f8<br>[ 3404.310404] usb 2-4: Enable of device-initiated U1 failed.<br>[ 3404.310903] usb 2-4: Enable of device-initiated U2 failed.<br>[ 3404.311418] option 2-4:1.0: GSM modem (1-port) converter detected<br>[ 3404.311623] option 2-4:1.1: GSM modem (1-port) converter detected<br>[ 3404.311780] option 2-4:1.2: GSM modem (1-port) converter detected<br>[ 3404.311928] usb 2-4: GSM modem (1-port) converter now attached to ttyUSB12<br>[ 3404.312384] option 2-4:1.3: GSM modem (1-port) converter detected<br>[ 3404.312567] option 2-4:1.4: GSM modem (1-port) converter detected<br>[ 3404.312687] usb 2-4: GSM modem (1-port) converter now attached to ttyUSB14<br>[ 3404.312866] option 2-4:1.5: GSM modem (1-port) converter detected<br>[ 3404.313204] usb 2-4: GSM modem (1-port) converter now attached to ttyUSB15</font></blockquote><div><br></div><div>Regards,</div><div><br></div><div>--</div><div>Paul </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 16 Nov 2020 at 14:33, Paul Gildea <<a href="mailto:gildeap@tcd.ie">gildeap@tcd.ie</a>> wrote:<br></div><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">Thanks Reinhard,<div><br></div><div>Echoing that did the trick and the interfaces appeared. I had assumed they were in there!</div><div>I tried the AT commands and the APN was black which was fine, but tried another and no change really.</div><div>I'm guessing something is fundamentally wrong and will investigate.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">at+cgdcont?<br>+CGDCONT: 1,"IPV4V6","","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0<br>+CGDCONT: 2,"IPV4V6","IMS","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0<br>+CGDCONT: 3,"IPV4V6","HOS","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0<br>+CGDCONT: 4,"IPV4V6","SOS","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1<br>OK<br></font></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">at+csq<br>+csq: 6,99<br>OK<br></font></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">at^debug?<br>RAT:WCDMA<br>mcc:272,mnc:02<br>band:1<br>band_width:5.0MHz<br>channel:10589<br>cell_id:48521937<br>lac:30100<br>cell1: psc:175,rscp:-106.0dBm,ecio:-5.0dB<br>rssi:-109dBm<br>tx_pwr:0dB<br>wcdma_ant_rscp: rx_diversity: 3 (-103.5dBm,-517.0dBm)<br><br></font></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">at^rssi=lte,main<br>+CME ERROR: no network service<br><br></font></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">at+cgdcont=1,"IPV4V6","<a href="http://live.vodafone.com" target="_blank">live.vodafone.com</a>"<br>OK<br></font></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">at+cgdcont?<br>+CGDCONT: 1,"IPV4V6","<a href="http://live.vodafone.com" target="_blank">live.vodafone.com</a>","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0<br>+CGDCONT: 2,"IPV4V6","IMS","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0<br>+CGDCONT: 3,"IPV4V6","HOS","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0<br>+CGDCONT: 4,"IPV4V6","SOS","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1<br>OK<br></font></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">at^rssi=lte,main<br>+CME ERROR: no network service<br></font></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace">at^debug?<br>RAT:WCDMA<br>mcc:272,mnc:02<br>band:1<br>band_width:5.0MHz<br>channel:10589<br>cell_id:48521937<br>lac:30100<br>cell1: psc:175,rscp:-108.0dBm,ecio:-15.0dB<br>rssi:-102dBm<br>tx_pwr:0dB<br>wcdma_ant_rscp: rx_diversity: 1 (-109.0dBm,-214748364.8dBm)<br>OK</font><br></blockquote><div><br></div><div><br></div><div>--</div><div>Paul</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 13 Nov 2020 at 14:35, Reinhard Speyerer <<a href="mailto:rspmn@arcor.de" target="_blank">rspmn@arcor.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, Nov 13, 2020 at 12:28:07PM +0000, Paul Gildea wrote:<br>
> Hi,<br>
> <br>
> I am trying to get libmbim working for the first time and have a couple of<br>
> issues. I installed 1.24. and am using a new Cinterion modem. I can see<br>
> that it is enumerated, but without any interface to send AT commands:<br>
> <br>
> [    7.588032] usb 2-3: new SuperSpeed Gen 1 USB device number 3 using<br>
> > xhci_hcd<br>
> > [    7.604221] usb 2-3: New USB device found, idVendor=1e2d,<br>
> > idProduct=00b3, bcdDevice= 4.14<br>
> > [    7.604238] usb 2-3: New USB device strings: Mfr=1, Product=2,<br>
> > SerialNumber=3<br>
> > [    7.604240] usb 2-3: Product: Cinterion PID 0x00B3 USB Mobile Broadband<br>
> > [    7.604243] usb 2-3: Manufacturer: Cinterion<br>
> > [    7.604244] usb 2-3: SerialNumber: ed425f8<br>
> > [    7.628196] usb 2-3: Enable of device-initiated U1 failed.<br>
> > [    7.695529] usb 2-3: Enable of device-initiated U2 failed.<br>
> > [    9.466620] cdc_mbim 2-3:1.0: setting rx_max = 16384<br>
> > [    9.467250] cdc_mbim 2-3:1.0: cdc-wdm4: USB WDM device<br>
> > [    9.467430] cdc_mbim 2-3:1.0 wwan4: register 'cdc_mbim' at<br>
> > usb-0000:00:14.0-3, CDC MBIM, a2:b0:bc:1c:af:8e<br>
> > [    9.468749] usb 2-3: Enable of device-initiated U1 failed.<br>
> > [    9.546451] usb 2-3: Enable of device-initiated U2 failed.<br>
> <br>
> <br>
> Is there perhaps a different driver I need?<br>
<br>
Hi Paul,<br>
<br>
my suggestion would be to use<br>
<br>
# modprobe option<br>
# echo 1e2d 00b3 > /sys/bus/usb-serial/drivers/option1/new_id<br>
<br>
to have access to the AT (and DIAG) port so that you can crosscheck<br>
the status as reported from mbimcli with AT commands. It might also be<br>
a good idea to check with AT+CGDCONT? that <cid> 1 does not contain<br>
an APN not supported by your network operator (unless you want your<br>
device to fall back to UMTS).<br>
<br>
As far as MBIM and 5G is concerned: please have a look at<br>
<a href="https://lists.freedesktop.org/archives/libmbim-devel/2020-August/001107.html" rel="noreferrer" target="_blank">https://lists.freedesktop.org/archives/libmbim-devel/2020-August/001107.html</a><br>
what would have to be added to libmbim for proper support.<br>
<br>
Regards,<br>
Reinhard<br>
<br>
> <br>
> Apart from this I am trying to create a data connection with mbimcli but am<br>
> getting registration state denied. When I check the signal strength I am<br>
> getting these 99 values, these indicate some kind or error? I have verified<br>
> that the sim works with libqmi/sierra modem. Anything else I can check?<br>
> <br>
>  mbimcli -p -d /dev/cdc-wdm4 --query-registration-state<br>
> ><br>
> <br>
> <br>
> > [/dev/cdc-wdm4] Registration status:<br>
> >                  Network error: 'unknown'<br>
> >                 *Register state: 'denied'*<br>
> >                  Register mode: 'automatic'<br>
> >         Available data classes: 'unknown'<br>
> >         Current cellular class: 'gsm'<br>
> >                    Provider ID: '27202'<br>
> >                  Provider name: 'vodafone IE'<br>
> >                   Roaming text: 'unknown'<br>
> >             Registration flags: 'packet-service-automatic-attach'<br>
> ><br>
> <br>
> <br>
> > mbimcli -p -d /dev/cdc-wdm4 --query-signal-state<br>
> ><br>
> <br>
> <br>
> > [/dev/cdc-wdm4] Signal state:<br>
> ><br>
> > * RSSI [0-31,99]: '99'             Error rate [0-7,99]: '99'*<br>
> >         Signal strength interval: '5'<br>
> >                   RSSI threshold: '2'<br>
> >             Error rate threshold: 'unspecified'<br>
> <br>
> <br>
> Regards,<br>
> <br>
> --<br>
> Paul<br>
<br>
> _______________________________________________<br>
> libmbim-devel mailing list<br>
> <a href="mailto:libmbim-devel@lists.freedesktop.org" target="_blank">libmbim-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/libmbim-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/libmbim-devel</a><br>
<br>
</blockquote></div>
</blockquote></div>