Telit LE910-NVG

Randy Yates yates at digitalsignallabs.com
Sun Feb 7 03:29:07 CET 2016


Hello Sebastian and the list,

I finally found the proper APN now and verified it manually via minicom.
That is, I can successfully activate. However, I still cannot bring
the wwan0 interface up. 

I have a few more questions please:

1. How are customizations like this (the APN) specified to the qmi_wwan
driver? Can someone please elaborate? Namely, is it up to the user to
supply the AT_CGDCONT command (and any other custom commands) in a
script file somewhere?

2. I've noticed via ifconfig -a that I have TWO new network interface
names: usb0 and wwan0. I'm guessing wwan0 is the cellular module, but
what is usb0?

3. I don't understand precisely how the wwan0 network interface is
supposed to be brought up. For example, if the driver is loaded
correctly, is it supposed to automatically bring it up when the device
is enumerated on the bus? Or am I required to perform an "ifup wwan0"?
And does the network interface have to be entered into the (debian) 
/etc/network/interfaces file? 

4. We purchased static IP addresses for our account. Is there a command
to query the IP address for a specific SIM? 

5. If a wwan0 interface is required to be placed into the
/etc/network/interfaces file, how would it be specified, seeing
as how we are supposed to have static IP addresses? An interface
with a static IP address is supposed to be specified in the file - is
this necessary?

Again, thanks much for all the help you've provided Sebastian. Thanks
Daniele for that idea on "ifconfig -a". I invite anyone who is able to
provide information that will get us going to just jump in.

----Randy

Sebastian Sjoholm <sebastian.sjoholm at gmail.com> writes:

> Hi,
>
> I did some digging, and the NVG model seems to belong in the same group as the EUG, NAG, SVG and SKG. The NVG seems to be “Verizon” specific with WCDMA bands (the SVG is Verizon as well, but without WCDMA bands).
>
> The latest AT specification document does contain commands for all LE9x0 models, which logically should include the LE910-NVG as well, but in the applicability table of the document there is only LE910 models EUG, NAG and SVG listed. Still the hardware should be based on the same chipset I would assume.
>
> In the revision history of the document it clearly states that the LE910 and LE920 was merged in to one AT SPEC document (2015-01-13) and there are set of new commands and one of them are the USBCFG command as well.
>
> I would ask Telit rep and confirm that you have latest firmware in the modem, because if the LE9x0 AT Command Reference (80407ST10116A Rev 14 2015-12-23) is the document you should be used, then your firmware is quite old. (this document can be downloaded from Telit website).
>
> But as Björn says, you should be able to access it with qmicli;
>
> Example (from sierra mc7304):
>
> # qmicli -d /dev/cdc-wdm0 --dms-get-capabilities
> [/dev/cdc-wdm0] Device capabilities retrieved:
>         Max TX channel rate: '50000000'
>         Max RX channel rate: '100000000'
>                Data Service: 'non-simultaneous-cs-ps'
>                         SIM: 'supported'
>                    Networks: 'gsm, umts, lte'
> #
>
> When you get “+CME ERROR: activation failed” when trying to activate PDP context, then there can be issue with subscriber data, PS is not attached or wrong APN. 
>
> You should try without the extra parameters in the CGDCONT
>
> AT+CGDCONT=1,"IP",”broadbandt"
>
> Regards,
> Sebastian
>
>> On Feb 6, 2016, at 06:17 , Randy Yates <yates at digitalsignallabs.com> wrote:
>> 
>> Sebastian Sjoholm <sebastian.sjoholm at gmail.com> writes:
>> 
>>> Hi,
>>> 
>>> I found an old version of the AT specs that does not contain this USBCFG, so the “Error” you receive seems correct.
>>> 
>>> Could you printout following;
>>> 
>>> AT+GMI
>>> AT+GMM
>>> AT+GMR
>>> ATI
>> 
>> AT+GMI
>> Telit
>> 
>> OK
>> AT+GMM
>> LE910-NVG
>> 
>> OK
>> AT+GMR
>> 17.00.513
>> 
>> OK
>> ATI
>> 332
>> 
>>> 
>>> -Sebastian
>>> 
>>>> On Feb 6, 2016, at 05:55 , Randy Yates <yates at digitalsignallabs.com> wrote:
>>>> 
>>>> Bjørn Mork <bjorn at mork.no> writes:
>>>> 
>>>>> Randy Yates <yates at digitalsignallabs.com> writes:
>>>>> 
>>>>>> Bjorn, first, thank you very much for your help. I respond
>>>>>> to you below. Also note that my mail server went down
>>>>>> just after I posted this message to the list. It is now
>>>>>> back up.
>>>>> 
>>>>> Yes, I noticed that.  Hoped you would see the mail in the list archive.
>>>>> 
>>>>> Anyway, all the output looks good.  Still interesting to see the AT cfg
>>>>> output.
>>>> 
>>>> I get an error.
>>>> 
>>>>>> [   46.178615] qmi_wwan 1-1:1.2: cdc-wdm0: USB WDM device
>>>>>> [   46.200385] qmi_wwan 1-1:1.2 wwan0: register 'qmi_wwan' at usb-musb-hdrc.1.auto-1, WWAN/QMI device, 0e:41:a8:34:00:f5
>>>>> 
>>>>> But in any case:  This shows that you do have the /dev/cdc-wdm0 and
>>>>> wwan0 devices which should allow you to test QMI.
>>>> 
>>>> wwan0? That sounds an awful lot like a network interface name, but
>>>> ifconfig only shows the usual "lo" and "eth0" names.
>>>> 
>>>> Oh, and I am very embarrassed to admit this, but I had forgotten to put
>>>> the SIM in!
>>>> 
>>>> I was also running some AT commands our Telit rep suggested and got an
>>>> error (after putting the SIM in):
>>>> 
>>>> AT#USBCFG?
>>>> ERROR
>>>> AT+CMEE=2
>>>> OK
>>>> AT+CREG=2
>>>> OK
>>>> AT+CGDCONT=1,"IP","broadbandt","0.0.0.0",0,0
>>>> OK
>>>> AT#SGACT=1,1
>>>> +CME ERROR: activation failed
>>>> AT#SGACTCFG=1,1
>>>> OK
>>>> AT#SGACT=1,1
>>>> +CME ERROR: activation failed
>>>> 
>>>> This sounds wrong. Any idea why this is failing?
>>>> 
>>>> --Randy
>>>> 
>>>>> 
>>>>> 
>>>>> Bjørn
>>>> 
>>>> -- 
>>>> Randy Yates, DSP/Embedded Firmware Developer
>>>> Digital Signal Labs
>>>> http://www.digitalsignallabs.com
>>>> _______________________________________________
>>>> libqmi-devel mailing list
>>>> libqmi-devel at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/libqmi-devel
>>> 
>>> _______________________________________________
>>> libqmi-devel mailing list
>>> libqmi-devel at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/libqmi-devel
>> 
>> -- 
>> Randy Yates, DSP/Embedded Firmware Developer
>> Digital Signal Labs
>> http://www.digitalsignallabs.com
>
> _______________________________________________
> libqmi-devel mailing list
> libqmi-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libqmi-devel

-- 
Randy Yates, DSP/Embedded Firmware Developer
Digital Signal Labs
http://www.digitalsignallabs.com


More information about the libqmi-devel mailing list