Re: QUECTEL EC20/EC21. Several drivers supported, which one is better to use?

2016-09-12 Thread José
I don't know why the pastebin was deleted. Here is the log: http://pastebin.com/9VLq7p6L I am trying to use udhcpc (busybox v1.32.2 implementation) to configure the network interface. Without the kernel patches for raw ip support, udhcpc seems to work fine and configure the network interface:

Re: QUECTEL EC20/EC21. Several drivers supported, which one is better to use?

2016-09-09 Thread José
Thanks for the patch Dan. The modem seems to connect, it gets an IP address and DNS servers, but there is no connectiviy. I cannot resolve any names, I cannot even ping the gateway (I can ping my own ip address) There are also some warnings and errors that may be important. Find here the log:

Re: QUECTEL EC20/EC21. Several drivers supported, which one is better to use?

2016-09-09 Thread Dan Williams
On Fri, 2016-09-09 at 10:36 +0200, José wrote: > Hi Dan, > > thanks for the patch! Unfortunately it is not working. Here is the > log: http://pastebin.com/A5H3mnPh Could you try the following patch against ModemManager?  There are two ways to get the UIM/SIM status, one with the "DMS" service

Re: QUECTEL EC20/EC21. Several drivers supported, which one is better to use?

2016-09-08 Thread Dan Williams
On Thu, 2016-09-08 at 19:05 +0200, José wrote: > Ok, thanks. I am also trying to contact QUECTEL technical support, so > I will let them now about this. > > Find the log here: http://pastebin.com/bGr6bAt0 Thanks; the errors are due to SIM lock state.  Try backing out your changes to libqmi and

Re: QUECTEL EC20/EC21. Several drivers supported, which one is better to use?

2016-09-08 Thread José
Ok, thanks. I am also trying to contact QUECTEL technical support, so I will let them now about this. Find the log here: http://pastebin.com/bGr6bAt0 On Thu, Sep 8, 2016 at 6:31 PM, Dan Williams wrote: > On Thu, 2016-09-08 at 17:56 +0200, José wrote: >> Sure: >> >> root:~#

Re: QUECTEL EC20/EC21. Several drivers supported, which one is better to use?

2016-09-08 Thread Dan Williams
On Thu, 2016-09-08 at 17:56 +0200, José wrote: > Sure: > > root:~# qmicli -d /dev/cdc-wdm0 --get-service-version-info > [/dev/cdc-wdm0] Supported versions: > ctl (1.5) > wds (1.67) > dms (1.0) > nas (1.25) > qos (1.12) Thanks, I'll post a patch to work

Re: QUECTEL EC20/EC21. Several drivers supported, which one is better to use?

2016-09-08 Thread José
Sure: root:~# qmicli -d /dev/cdc-wdm0 --dms-get-operating-mode [/dev/cdc-wdm0] Operating mode retrieved: Mode: 'online' HW restricted: 'no' root:~# root:~# qmicli -d /dev/cdc-wdm0 --dms-read-user-data [/dev/cdc-wdm0] User data read: Size: '0' bytes Contents:

Re: QUECTEL EC20/EC21. Several drivers supported, which one is better to use?

2016-09-08 Thread Dan Williams
On Thu, 2016-09-08 at 10:31 +0200, José wrote: > This is the output of those commands: > > qmicli -d /dev/cdc-wdm0 --dms-read-user-data > [/dev/cdc-wdm0] User data read: > Size: '0' bytes > Contents: > > qmicli -d /dev/cdc-wdm0 --dms-uim-get-state > error: couldn't get UIM

Re: QUECTEL EC20/EC21. Several drivers supported, which one is better to use?

2016-09-08 Thread José
This is the output of those commands: qmicli -d /dev/cdc-wdm0 --dms-read-user-data [/dev/cdc-wdm0] User data read: Size: '0' bytes Contents: qmicli -d /dev/cdc-wdm0 --dms-uim-get-state error: couldn't get UIM state: QMI protocol error (94): 'NotSupported' On Wed, Sep 7, 2016 at

Re: QUECTEL EC20/EC21. Several drivers supported, which one is better to use?

2016-09-07 Thread Dan Williams
On Wed, 2016-09-07 at 17:05 +0200, José wrote: > Hi Dan, > > thanks for your answer. > > I compiled libqmi-1.12.6-r0.1.cortexa9hf_vfp_neon.rpm (notice that it > is an older version, it was just simpler on my environment) with the > change you proposed. After that, the command seems to work: >

Re: QUECTEL EC20/EC21. Several drivers supported, which one is better to use?

2016-09-07 Thread José
Hi Dan, thanks for your answer. I compiled libqmi-1.12.6-r0.1.cortexa9hf_vfp_neon.rpm (notice that it is an older version, it was just simpler on my environment) with the change you proposed. After that, the command seems to work: # qmicli -d /dev/cdc-wdm0 --dms-get-operating-mode

Re: QUECTEL EC20/EC21. Several drivers supported, which one is better to use?

2016-09-07 Thread Dan Williams
On Wed, 2016-09-07 at 15:33 +0200, José wrote: > Maybe I was wrong. I am trying now with the last versions but it is > still not working: > > ModemManager 1.6.0 > libqmi-1.16.0-r0.4.cortexa9hf_vfp_neon > > The problem is still reproducible: Interesting; even though it's a recent device, it's

Re: QUECTEL EC20/EC21. Several drivers supported, which one is better to use?

2016-09-07 Thread José
Hi Thomas, thanks for the advice! The EC20 is workign fine. For the EC21, I get the following error: 'QMI operation failed: Cannot send message: QMI service 'dms' version '1.1' required, got version '1.0'' I suspect that can be fixed but just upgrading ModemManager or libqmi (or maybe both). Is

Re: QUECTEL EC20/EC21. Several drivers supported, which one is better to use?

2016-09-06 Thread Thomas Schäfer
Am Dienstag, 6. September 2016, 17:57:45 schrieb José: > Hi, > > I am planning to test ModemManager with QUECTEL EC20 and EC21 cellular > modems. These modems support the following drivers: > * USB Serial (option.c) > * CDC ACM > * GobiNet > * QMI WWAN > > What is the best approach for trying to