issue with Quectel EC20
Piotr Figiel
figiel at gmail.com
Wed Dec 20 16:31:28 UTC 2017
Hi,
I'm trying to get Quectel EC20 working with ModemManager without success.
I have kernel with compiled in option and qmi_wwan drivers, with
patches suggested in Quectel documentation.
I was able to get it working with qmi-network tool, although
ModemManager 1.16.10 (+libqmi 1.16.0) struggles:
# mmcli -m 0 --simple-connect="apn=internet,user=internet,password=internet"
error: couldn't connect the modem: 'Timeout was reached'
I observe similar behavior when using NetworkManager to setup the connection.
In ModemManager log I see after following lines there are no more logs from MM:
<INFO> <info> Simple connect started...
<INFO> <info> Simple connect state (3/8): Enable
<INFO> <info> Modem /org/freedesktop/ModemManager1/Modem/0: state
changed (disabled -> enabling)
<WARNING> <warn> (ttyUSB2): port attributes not fully set
<WARNING> <warn> (ttyUSB3): port attributes not fully set
<INFO> <info> Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP
Registration state changed (unknown -> registering)
<INFO> <info> Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP
Registration state changed (registering -> home)
<INFO> <info> Modem /org/freedesktop/ModemManager1/Modem/0: state
changed (enabling -> registered)
<INFO> <info> Simple connect state (4/8): Wait to get fully enabled
<INFO> <info> Simple connect state (5/8): Register
<INFO> <info> Simple connect state (6/8): Bearer
<INFO> <info> Simple connect state (7/8): Connect
<INFO> <info> Modem /org/freedesktop/ModemManager1/Modem/0: state
changed (registered -> connecting)
<DEBUG> [/dev/cdc-wdm0] Allocating new client ID...
<DEBUG> [/dev/cdc-wdm0] Registered 'wds' (version 1.36) client with ID '7'
mmcli -m 0 reports the modem details normally:
-------------------------
Hardware | manufacturer: 'Quectel'
| model: 'EC20'
| revision: 'EC20EQAR02A11E2G 1 [Jan 13 2017 14:26:29]'
(...)
| drivers: 'option1, qmi_wwan'
| plugin: 'Generic'
| primary port: 'cdc-wdm0'
| ports: 'ttyUSB0 (qcdm), ttyUSB2 (at), cdc-wdm0
(qmi), wwan0 (net), ttyUSB3 (at)'
-------------------------
Numbers | own : 'unknown'
-------------------------
Status | lock: 'sim-pin2'
| unlock retries: 'sim-pin (3), sim-pin2 (3), sim-puk (10),
sim-puk2 (10)'
| state: 'connecting'
| power state: 'on'
| access tech: 'lte'
| signal quality: '100' (recent)
-------------------------
Modes | supported: 'allowed: 2g, 3g, 4g; preferred: none'
| current: 'allowed: 2g, 3g, 4g; preferred: none'
-------------------------
Bands | supported: 'dcs, egsm, pcs, g850, u2100, u850, u900,
eutran-i, eutran-iii, eutran-v, eutran-vii, eutran-viii, eutran-xx'
| current: 'dcs, egsm, pcs, g850, u2100, u850, u900,
eutran-i, eutran-iii, eutran-v, eutran-vii, eutran-viii, eutran-xx'
-------------------------
IP | supported: 'ipv4, ipv6, ipv4v6'
-------------------------
3GPP | imei: 'XXXXX'
| enabled locks: 'none'
| operator id: 'XXXXX'
| operator name: 'unknown'
| subscription: 'unknown'
| registration: 'home'
-------------------------
SIM | path: '/org/freedesktop/ModemManager1/SIM/0'
-------------------------
Bearers | paths: '/org/freedesktop/ModemManager1/Bearer/0'
I tried also with option driver disabled in kernel (qmi only) but the
results are very similar.
Is there something I'm missing?
Best regards,
Piotr.
More information about the ModemManager-devel
mailing list