Connection Issues

Paul Gildea gildeap at tcd.ie
Thu Nov 19 13:40:35 UTC 2020


Hi all,

A further question on this. When I echo into new_id to enumerate the usb
ports, if I reset the modem with at+reset
then the cdc and wwan interface never comes back? Is this expected?
I note there is no way (that I can see) to reboot the modem with mbimcli?

[ 3391.410331] usb 2-4: USB disconnect, device number 3
> [ 3391.410445] cdc_mbim 2-4:1.0 wwan2: unregister 'cdc_mbim'
> usb-0000:00:14.0-4, CDC MBIM
> [ 3391.415810] option 2-4:1.2: device disconnected
> [ 3391.415919] option 2-4:1.3: device disconnected
> [ 3391.416147] option 2-4:1.4: device disconnected
> [ 3391.416439] option 2-4:1.5: device disconnected
> [ 3404.281434] usb 2-4: new SuperSpeed Gen 1 USB device number 5 using
> xhci_hcd
> [ 3404.300648] usb 2-4: New USB device found, idVendor=1e2d,
> idProduct=00b3, bcdDevice= 4.14
> [ 3404.300653] usb 2-4: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [ 3404.300655] usb 2-4: Product: Cinterion PID 0x00B3 USB Mobile Broadband
> [ 3404.300658] usb 2-4: Manufacturer: Cinterion
> [ 3404.300660] usb 2-4: SerialNumber: ed425f8
> [ 3404.310404] usb 2-4: Enable of device-initiated U1 failed.
> [ 3404.310903] usb 2-4: Enable of device-initiated U2 failed.
> [ 3404.311418] option 2-4:1.0: GSM modem (1-port) converter detected
> [ 3404.311623] option 2-4:1.1: GSM modem (1-port) converter detected
> [ 3404.311780] option 2-4:1.2: GSM modem (1-port) converter detected
> [ 3404.311928] usb 2-4: GSM modem (1-port) converter now attached to
> ttyUSB12
> [ 3404.312384] option 2-4:1.3: GSM modem (1-port) converter detected
> [ 3404.312567] option 2-4:1.4: GSM modem (1-port) converter detected
> [ 3404.312687] usb 2-4: GSM modem (1-port) converter now attached to
> ttyUSB14
> [ 3404.312866] option 2-4:1.5: GSM modem (1-port) converter detected
> [ 3404.313204] usb 2-4: GSM modem (1-port) converter now attached to
> ttyUSB15


Regards,

--
Paul

On Mon, 16 Nov 2020 at 14:33, Paul Gildea <gildeap at tcd.ie> wrote:

> Thanks Reinhard,
>
> Echoing that did the trick and the interfaces appeared. I had assumed they
> were in there!
> I tried the AT commands and the APN was black which was fine, but tried
> another and no change really.
> I'm guessing something is fundamentally wrong and will investigate.
>
> at+cgdcont?
>> +CGDCONT: 1,"IPV4V6","","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
>> +CGDCONT: 2,"IPV4V6","IMS","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
>> +CGDCONT: 3,"IPV4V6","HOS","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
>> +CGDCONT: 4,"IPV4V6","SOS","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1
>> OK
>>
>
>
>> at+csq
>> +csq: 6,99
>> OK
>>
>
>
>> at^debug?
>> RAT:WCDMA
>> mcc:272,mnc:02
>> band:1
>> band_width:5.0MHz
>> channel:10589
>> cell_id:48521937
>> lac:30100
>> cell1: psc:175,rscp:-106.0dBm,ecio:-5.0dB
>> rssi:-109dBm
>> tx_pwr:0dB
>> wcdma_ant_rscp: rx_diversity: 3 (-103.5dBm,-517.0dBm)
>>
>>
>
>> at^rssi=lte,main
>> +CME ERROR: no network service
>>
>>
>
>> at+cgdcont=1,"IPV4V6","live.vodafone.com"
>> OK
>>
>
>
>> at+cgdcont?
>> +CGDCONT: 1,"IPV4V6","live.vodafone.com
>> ","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
>> +CGDCONT: 2,"IPV4V6","IMS","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
>> +CGDCONT: 3,"IPV4V6","HOS","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
>> +CGDCONT: 4,"IPV4V6","SOS","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1
>> OK
>>
>
>
>> at^rssi=lte,main
>> +CME ERROR: no network service
>>
>
>
>> at^debug?
>> RAT:WCDMA
>> mcc:272,mnc:02
>> band:1
>> band_width:5.0MHz
>> channel:10589
>> cell_id:48521937
>> lac:30100
>> cell1: psc:175,rscp:-108.0dBm,ecio:-15.0dB
>> rssi:-102dBm
>> tx_pwr:0dB
>> wcdma_ant_rscp: rx_diversity: 1 (-109.0dBm,-214748364.8dBm)
>> OK
>>
>
>
> --
> Paul
>
> On Fri, 13 Nov 2020 at 14:35, Reinhard Speyerer <rspmn at arcor.de> wrote:
>
>> On Fri, Nov 13, 2020 at 12:28:07PM +0000, Paul Gildea wrote:
>> > Hi,
>> >
>> > I am trying to get libmbim working for the first time and have a couple
>> of
>> > issues. I installed 1.24. and am using a new Cinterion modem. I can see
>> > that it is enumerated, but without any interface to send AT commands:
>> >
>> > [    7.588032] usb 2-3: new SuperSpeed Gen 1 USB device number 3 using
>> > > xhci_hcd
>> > > [    7.604221] usb 2-3: New USB device found, idVendor=1e2d,
>> > > idProduct=00b3, bcdDevice= 4.14
>> > > [    7.604238] usb 2-3: New USB device strings: Mfr=1, Product=2,
>> > > SerialNumber=3
>> > > [    7.604240] usb 2-3: Product: Cinterion PID 0x00B3 USB Mobile
>> Broadband
>> > > [    7.604243] usb 2-3: Manufacturer: Cinterion
>> > > [    7.604244] usb 2-3: SerialNumber: ed425f8
>> > > [    7.628196] usb 2-3: Enable of device-initiated U1 failed.
>> > > [    7.695529] usb 2-3: Enable of device-initiated U2 failed.
>> > > [    9.466620] cdc_mbim 2-3:1.0: setting rx_max = 16384
>> > > [    9.467250] cdc_mbim 2-3:1.0: cdc-wdm4: USB WDM device
>> > > [    9.467430] cdc_mbim 2-3:1.0 wwan4: register 'cdc_mbim' at
>> > > usb-0000:00:14.0-3, CDC MBIM, a2:b0:bc:1c:af:8e
>> > > [    9.468749] usb 2-3: Enable of device-initiated U1 failed.
>> > > [    9.546451] usb 2-3: Enable of device-initiated U2 failed.
>> >
>> >
>> > Is there perhaps a different driver I need?
>>
>> Hi Paul,
>>
>> my suggestion would be to use
>>
>> # modprobe option
>> # echo 1e2d 00b3 > /sys/bus/usb-serial/drivers/option1/new_id
>>
>> to have access to the AT (and DIAG) port so that you can crosscheck
>> the status as reported from mbimcli with AT commands. It might also be
>> a good idea to check with AT+CGDCONT? that <cid> 1 does not contain
>> an APN not supported by your network operator (unless you want your
>> device to fall back to UMTS).
>>
>> As far as MBIM and 5G is concerned: please have a look at
>>
>> https://lists.freedesktop.org/archives/libmbim-devel/2020-August/001107.html
>> what would have to be added to libmbim for proper support.
>>
>> Regards,
>> Reinhard
>>
>> >
>> > Apart from this I am trying to create a data connection with mbimcli
>> but am
>> > getting registration state denied. When I check the signal strength I am
>> > getting these 99 values, these indicate some kind or error? I have
>> verified
>> > that the sim works with libqmi/sierra modem. Anything else I can check?
>> >
>> >  mbimcli -p -d /dev/cdc-wdm4 --query-registration-state
>> > >
>> >
>> >
>> > > [/dev/cdc-wdm4] Registration status:
>> > >                  Network error: 'unknown'
>> > >                 *Register state: 'denied'*
>> > >                  Register mode: 'automatic'
>> > >         Available data classes: 'unknown'
>> > >         Current cellular class: 'gsm'
>> > >                    Provider ID: '27202'
>> > >                  Provider name: 'vodafone IE'
>> > >                   Roaming text: 'unknown'
>> > >             Registration flags: 'packet-service-automatic-attach'
>> > >
>> >
>> >
>> > > mbimcli -p -d /dev/cdc-wdm4 --query-signal-state
>> > >
>> >
>> >
>> > > [/dev/cdc-wdm4] Signal state:
>> > >
>> > > * RSSI [0-31,99]: '99'             Error rate [0-7,99]: '99'*
>> > >         Signal strength interval: '5'
>> > >                   RSSI threshold: '2'
>> > >             Error rate threshold: 'unspecified'
>> >
>> >
>> > Regards,
>> >
>> > --
>> > Paul
>>
>> > _______________________________________________
>> > libmbim-devel mailing list
>> > libmbim-devel at lists.freedesktop.org
>> > https://lists.freedesktop.org/mailman/listinfo/libmbim-devel
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libmbim-devel/attachments/20201119/b420937a/attachment.htm>


More information about the libmbim-devel mailing list