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 Hardware bad? Not ready for 5g?? linux76 7 961 05-19-2022, 07:33 AM
Last Post: kebab
  Modem in failed state, not sending/receiving SMS brb78 5 569 03-31-2022, 08:37 AM
Last Post: wibble
  Modem Dead? grimlok 5 765 03-12-2022, 04:38 PM
Last Post: bcnaz
  Question regarding modem AntonReiser 21 3,519 02-14-2022, 12:23 PM
Last Post: vap0rtranz
Question Powering the modem after turning off the smartphone Mikoduso 3 761 02-04-2022, 04:06 PM
Last Post: grwlf
Question Modem shield feklee 3 890 12-13-2021, 01:06 PM
Last Post: feklee
  what are these pins above modem chip? zetabeta 1 537 12-13-2021, 04:38 AM
Last Post: kqlnut
  Connect external modem? feklee 7 1,535 12-06-2021, 03:52 AM
Last Post: feklee
Bug [Support Request] Modem is Failing to Be Accessible FriendlyGecko 3 972 11-30-2021, 01:22 PM
Last Post: FriendlyGecko
  Does GPS work on a separate chip or is GPS built into the LTE modem? Mikoduso 7 2,067 11-22-2021, 01:19 PM
Last Post: Mikoduso

Forum Jump:


Users browsing this thread: 1 Guest(s)