troubleshooting a Quectel EC25-E modem
Alberto Bursi
bobafetthotmail at gmail.com
Mon May 28 20:52:04 UTC 2018
On 28/05/2018 03:03, Sebastian Sjoholm wrote:
>
>
> On Mon, May 28, 2018 at 2:15 AM, Alberto Bursi
> <bobafetthotmail at gmail.com <mailto:bobafetthotmail at gmail.com>> wrote:
>
> Hi, I'm having some issues in getting a EC25-E minipcie modem
> (Quectel) to work on my PC (and also on my OpenWrt router).
>
> I'm using a minipcie-to-usb adapter that has also a SIM slot to
> connect it to them.
>
> When I connect it to my PC (running OpenSUSE Tumbleweed, qmicli is
> version 1.20.0 here) I get a normal output in dmesg
>
> |[50477.827418] usb 2-1.5.2: new high-speed USB device number 12
> using ehci-pci [50477.945515] usb 2-1.5.2: New USB device found,
> idVendor=2c7c, idProduct=0125 [50477.945523] usb 2-1.5.2: New USB
> device strings: Mfr=1, Product=2, SerialNumber=0 [50477.945527]
> usb 2-1.5.2: Product: Android [50477.945531] usb 2-1.5.2:
> Manufacturer: Android [50477.946831] option 2-1.5.2:1.0: GSM modem
> (1-port) converter detected [50477.947098] usb 2-1.5.2: GSM modem
> (1-port) converter now attached to ttyUSB0 [50477.947479] option
> 2-1.5.2:1.1: GSM modem (1-port) converter detected [50477.947815]
> usb 2-1.5.2: GSM modem (1-port) converter now attached to ttyUSB1
> [50477.948227] option 2-1.5.2:1.2: GSM modem (1-port) converter
> detected [50477.948652] usb 2-1.5.2: GSM modem (1-port) converter
> now attached to ttyUSB2 [50477.949066] option 2-1.5.2:1.3: GSM
> modem (1-port) converter detected [50477.949479] usb 2-1.5.2: GSM
> modem (1-port) converter now attached to ttyUSB3 [50477.950365]
> qmi_wwan 2-1.5.2:1.4: cdc-wdm0: USB WDM device [50477.953115]
> qmi_wwan 2-1.5.2:1.4 wwan0: register 'qmi_wwan' at
> usb-0000:00:1d.0-1.5.2, WWAN/QMI device, 16:9f:df:80:d5:ca
> [50478.769176] qmi_wwan 2-1.5.2:1.4 wwp0s29u1u5u2i4: renamed from
> wwan0|
>
> But it seems I can't communicate with it at all from the PC, any
> command from qmicli fails with the same error
>
> qmicli -d /dev/cdc-wdm0 --nas-get-system-info
> [28 mag 2018, 01:21:55] -Warning ** Error reading from istream:
> Resource temporarily unavailable
>
> and AT commands I try to send to ttyUSB1 (the only "free" serial
> port) just hang and never give me any answer.
>
>
> I can't say much regarding the qmi/uqmi errors, but the ttyUSB1 should
> be the GPS port, so there you wouldn't get any response on AT
> commands. You need to use ttyUSB2 or ttyUSB3, and if these are busy,
> could there be some other process accessing them? (the ttyUSB0 is the
> DIAG port)
>
> And when using mPCIe-to-usb adapter, make sure the modem get enough
> power, a single USB 2.0 with 500mA is usually not enough, and Y-USB
> cable would be recommended.
>
> -Sebastian
Thanks for the help too!
After I dealt with ModemManager as suggested by Alexander I could
connect to ttyUSB2 and AT commands work.
I'm using a USB hub with an auxiliary 3A 5V power supply to make sure
that the modem does not have power issues, so I should be OK there.
-Alberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20180528/48a28aac/attachment.html>
More information about the libqmi-devel
mailing list