<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 28/05/2018 03:03, Sebastian Sjoholm
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGnwK7rqOARYhKug-x+7tSahOh+q083TeoEYt_aT9Zu-29ynzg@mail.gmail.com">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, May 28, 2018 at 2:15 AM,
Alberto Bursi <span dir="ltr"><<a
href="mailto:bobafetthotmail@gmail.com" target="_blank"
moz-do-not-send="true">bobafetthotmail@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">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).<br>
<br>
I'm using a minipcie-to-usb adapter that has also a SIM
slot to connect it to them.<br>
<br>
When I connect it to my PC (running OpenSUSE Tumbleweed,
qmicli is version 1.20.0 here) I get a normal output in
dmesg<br>
<br>
|[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|<br>
<br>
But it seems I can't communicate with it at all from the
PC, any command from qmicli fails with the same error<br>
<br>
qmicli -d /dev/cdc-wdm0 --nas-get-system-info<br>
[28 mag 2018, 01:21:55] -Warning ** Error reading from
istream: Resource temporarily unavailable<br>
<br>
and AT commands I try to send to ttyUSB1 (the only "free"
serial port) just hang and never give me any answer.<br>
<br>
</blockquote>
<div><br>
</div>
<div>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)</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>-Sebastian</div>
</div>
</div>
</div>
</blockquote>
<br>
Thanks for the help too!<br>
<br>
After I dealt with ModemManager as suggested by Alexander I could
connect to ttyUSB2 and AT commands work.<br>
<br>
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.<br>
<br>
-Alberto<br>
</body>
</html>