Need help troubleshooting Quectel EG25 modem in Pine64 Pinephone
Scott Lemon
slemon at twilio.com
Mon Jun 7 15:07:19 UTC 2021
On Sat, Jun 5, 2021 at 8:41 AM Andreas Hartmann <hartan at 7x.de> wrote:
> Hello,
>
>
> > 1. The SIM is sold by a "carrier" (or MNO or MVNO) and contains a
> > credential (the IMSI) that will have a prefix that corresponds to the
> > MCC/MNC. If you bought the new SIM from O2, then the modem should
> > register on O2.
>
> Thanks for clarifying. What would make a SIM (or mmcli) decide to try
> and register in another carriers network, then?
>
If Roaming is enabled, the modem will check to see if it is able to roam on
any other carriers. In your case the O2 network is marked as "forbidden"
and so it seems that you don't have an O2 SIM ... or it's not active or
something strange is going on.
> > 2. Inserting the SIM *should* then show that the registration has
> > occurred with that carrier when you do the scan.
>
> Yep, I thought so. That's what pretty much every other PinePhone user
> I've talked to has reported to me.
>
> > 3. Each SIM/Carrier/MNO/MVNO has their own APN that you must
> > provide in most cases.
>
> I did do that. I've looked at various places in the internet, they all
> listed the exact same APN for O2 in this case. But it didn't work
> regardless.
>
Have you tried the Vodafone APN since you seem to be connecting to Vodafone?
> > There is a "AT Command
> > Tester" tool for Windows, and they provide a Quectel specific
> > version, if you want to experiment and learn.
>
> That's good to know, thanks. Unfortunately the modem is baked into an
> embedded device, and there's no way I will get it out of there or
> Windows running on that device. I was thinking of entirely killing the
> ModemManager before attempting to fiddle with AT commands.
>
> On a sidenote I decided to try some more mmcli options at my modem and
> I got the QMI call error again. Here's an excerpt from systemctl, note
> that I attempted to perform a simple connect using the O2 APN (which
> can be seen at the bottom of this output). Maybe anyone can read
> something from that? Should the "warning" related to the SIM card make
> me worry?
>
At this point, you'd need a Modem Manager expert to reply. It does seem to
say that it's not finding the SIM for some reason?
> ```
> Jun 04 08:59:02 dhcp-10-132-126-186 ModemManager[6634]: <info> [base-
> manager] couldn't check support for device
> '/sys/devices/platform/soc/1c10000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:000
> 1:1': not supported by any plugin
> Jun 04 08:59:08 dhcp-10-132-126-186 ModemManager[6634]: <info> [device
> /sys/devices/platform/soc/1c1b000.usb/usb5/5-1] creating modem with
> plugin 'quectel' and '6' ports
> Jun 04 08:59:08 dhcp-10-132-126-186 ModemManager[6634]: <warn>
> [plugin/quectel] could not grab port ttyUSB3: Cannot add port
> 'tty/ttyUSB3', unhandled port type
> Jun 04 08:59:08 dhcp-10-132-126-186 ModemManager[6634]: <info> [base-
> manager] modem for device
> '/sys/devices/platform/soc/1c1b000.usb/usb5/5-1' successfully created
> Jun 04 08:59:08 dhcp-10-132-126-186 ModemManager[6634]: [/dev/cdc-wdm0]
> Opening device with flags 'version-info, proxy'...
> Jun 04 08:59:08 dhcp-10-132-126-186 ModemManager[6634]: [/dev/cdc-wdm0]
> created endpoint
> Jun 04 08:59:08 dhcp-10-132-126-186 ModemManager[6634]: [/dev/cdc-wdm0]
> Checking version info (25 retries)...
> Jun 04 08:59:08 dhcp-10-132-126-186 ModemManager[6634]: [/dev/cdc-wdm0]
> QMI Device supports 30 services:
>
> [ ... More outputs here ... ]
>
There might be some real value in seeing what the "More outputs" are ...
they might be valuable to see.
> Jun 04 08:59:10 dhcp-10-132-126-186 ModemManager[6634]: <warn>
> [modem0] couldn't query SIM slots: QMI protocol error (94):
> 'NotSupported'
> Jun 04 08:59:11 dhcp-10-132-126-186 ModemManager[6634]: <warn>
> [modem0] couldn't load supported assistance data types: LOC service:
> general failure
> Jun 04 08:59:11 dhcp-10-132-126-186 ModemManager[6634]: <info>
> [modem0] state changed (unknown -> disabled)
> Jun 04 08:59:11 dhcp-10-132-126-186 ModemManager[6634]: <info>
> [modem0] state changed (disabled -> enabling)
> Jun 04 08:59:11 dhcp-10-132-126-186 ModemManager[6634]: <info>
> [modem0] 3GPP registration state changed (unknown -> idle)
> Jun 04 08:59:12 dhcp-10-132-126-186 ModemManager[6634]: <info>
> [modem0] state changed (enabling -> enabled)
> Jun 04 08:59:39 dhcp-10-132-126-186 ModemManager[6634]: <info>
> [modem0] simple connect started...
> Jun 04 08:59:39 dhcp-10-132-126-186 ModemManager[6634]: <info>
> [modem0] simple connect state (4/8): wait to get fully enabled
> Jun 04 08:59:39 dhcp-10-132-126-186 ModemManager[6634]: <info>
> [modem0] simple connect state (5/8): register
> Jun 04 08:59:39 dhcp-10-132-126-186 ModemManager[6634]: <info>
> [modem0] simple connect state (6/8): bearer
> Jun 04 08:59:39 dhcp-10-132-126-186 ModemManager[6634]: <info>
> [modem0] simple connect state (7/8): connect
> Jun 04 08:59:39 dhcp-10-132-126-186 ModemManager[6634]: <info>
> [modem0] state changed (enabled -> connecting)
> Jun 04 08:59:39 dhcp-10-132-126-186 ModemManager[6634]: [/dev/cdc-wdm0]
> Allocating new client ID...
> Jun 04 08:59:39 dhcp-10-132-126-186 ModemManager[6634]: [/dev/cdc-wdm0]
> Registered 'wds' (version 1.67) client with ID '6'
> Jun 04 08:59:39 dhcp-10-132-126-186 ModemManager[6634]: <info>
> [modem0/bearer0] couldn't start network: QMI protocol error (14):
> 'CallFailed'
> Jun 04 08:59:39 dhcp-10-132-126-186 ModemManager[6634]: <info>
> [modem0/bearer0] call end reason (3): generic-no-service
> Jun 04 08:59:39 dhcp-10-132-126-186 ModemManager[6634]: <info>
> [modem0/bearer0] verbose call end reason (3,2001): [cm] no-service
> Jun 04 08:59:39 dhcp-10-132-126-186 ModemManager[6634]: <warn>
> [modem0/bearer0] connection attempt #1 failed: QMI protocol error (14):
> 'CallFailed'
> Jun 04 08:59:39 dhcp-10-132-126-186 ModemManager[6634]: <info>
> [modem0] state changed (connecting -> enabled)
> Jun 04 08:59:39 dhcp-10-132-126-186 ModemManager[6634]: <info>
> [modem0/bearer0] connection #1 finished: duration 0s, tx: 0 bytes, rx
> :0 bytes
>
> ```
>
>
> Thanks again!
>
> Andreas
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20210607/05d4d6fb/attachment.htm>
More information about the ModemManager-devel
mailing list