Connection woes, modem troubleshooting within
#1
So I got my Pinephone last Friday and I would like it to be my daily driver. The problem with that is that the modem doesn't want to connect to my carrier (Freedom Mobile, in Canada) when I'm at home or work. Somewhere on my commute though, the stars align and I receive any and all texts and missed call notifications that have built up over time.

I've been poking the modem with AT+ commands to try to figure out what's going on. To be clear, this is the behavior I've been observing sitting on my home workstation, ssh'd in.


My atinout session goes as follows. If you want to follow along I'm using the manual here.


Quote:AT+QCFG="band",0,2000001048,0

This line is really just to make AT+COPS=? return faster. Rather than scanning every LTE band the EG25 supports we scan only the bands the modem and my carrier has in common. If you're running AT+COPS=? scans a lot consider using a binary->hex converter and issuing a similar command, it shaved around 40 seconds off the scan time and that adds up quick.

Quote:AT+COPS=?

+COPS: (1,"Freedom","Freedom","302490",7),(1,"TELUS","TELUS","302220",7),(1,"Bell","Bell","302610",7),(1,"Rogers Wireless","ROGERS","302720",7),,(0-4),(0-2)
This confirms that my phone can see my carrier. Sometimes AT+COPS=? returns slightly different results, but I can always see that first entry.



Quote:AT+QNWINFO

+QNWINFO: "FDD LTE","302490","LTE BAND 4",2225
Some time (~1min) later...


Quote:+QNWINFO: "FDD LTE","302490","LTE BAND 13",5205
And every so often


Quote:+QNWINFO: No Service
At any point in between these calls the following holds


Quote:AT+QSPN

ERROR

So what do I interpret from this output? AT+QNWINFO seems to show that the modem is correctly looking at my carrier and trying to connect on compatible bands, every so often giving up for 10 or so seconds. AT+QSPN however, shows that I'm not registering successfully and it's bouncing around different bands.



Backing that interpretation up:


Quote:AT+CREG?

+CREG: 1,2


AT+CREG returns the registration mode and the modem's state. The interesting part is the second entry; 2 corresponds to "Not registered, searching for new operator". Success it seems is making that 2 into a 1.

If I try to force the issue and manually connect...

Quote:AT+COPS=1,0,"Freedom"

+CME ERROR: 30
So no joy there. Error 30 according to the manual is "No Network Service".


And for now that's it. ModemManager will be on the debug logging level during my next commute. I may well be back with another post in a couple of days with how I end up paring that monster of a log down to something useful.
In the meantime I hope someone else has a use for this, that the steps I've taken aren't too insane and offer a decent starting point for anyone else troubleshooting their modem. If you do have insight or ideas please do chime in, if ~30 minutes of debug logs turn out to be as impenetrable as I fear they will be I'm more or less at a wall.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Modem Issues with the Pinephone Temmie19 2 243 10-16-2024, 07:54 AM
Last Post: Temmie19
  Supported Carrier and Modem Bands NachoMomma 4 2,356 03-23-2024, 02:00 PM
Last Post: Kevin Kofler
  power circuit can't charge battery and can't supply enough power for modem or wifi vortex 2 1,163 02-17-2024, 04:15 PM
Last Post: vortex
Bug PinePhone modem keeps "disappearing" Kevin Kofler 14 8,075 03-22-2023, 05:28 PM
Last Post: Kevin Kofler
  Pine phone USB keyboard connection CleanEnergyCleanEnvironment 1 1,495 02-20-2023, 12:14 AM
Last Post: Kevin Kofler
  modem not working michelinux 0 1,192 02-16-2023, 04:56 AM
Last Post: michelinux
  modem not detected al_x 3 5,025 02-15-2023, 11:17 AM
Last Post: fxc
  firmware udate Quectel EG25-G modem alwi 7 7,057 07-06-2022, 01:43 PM
Last Post: user641
  Need command to tell what modem firmware I am on. purpletiger 4 3,805 07-06-2022, 12:35 PM
Last Post: Zebulon Walton
  The modem does not recognize Korean SIM cards (what?) bdicewk 9 5,568 06-13-2022, 04:12 AM
Last Post: zetabeta

Forum Jump:


Users browsing this thread: 1 Guest(s)