Waiting for GPS

I’ve built out a 3dr Y6 kit and am using an Orange Cube in the ADS-B carrier board. I’m using the IMX.6 from a crashed Solo and the matching paired Solo controller. Since I only have a M8N uBlox GPS with the 6 pin connector I connected it to the GPS2 port. In my params I have GPS_AUTO_SWITCH set to 0 and GPS_PRIMARY set to 1 for GPS2. I’m hung on “waiting for gps” on the solo controller yet I can see that I have a lock on 13 satellites. I tried switching the GPS_TYPE1 and GPS_TYPE2 from 1 to 2 with no change in behavior. Anyone able to provide a little guidance?

The trick is the first GPS found (or first physical GPS unit connected) is GPS1 - it is not necessarily GPS2 just because it’s plugged into the port (misleadingly) labelled GPS2.
So if it’s the only GPS unit connected treat it as GPS1 and make sure
SERIALx_PROTOCOL,5
is only present on one port, and you have
GPS_TYPE,1
and
GPS_PRIMARY,0
for the first one found

If you’ve got “waiting for GPS” or “No Fix” then the GPS unit should be connected and working OK.
My old GPS units take 10 minutes or more to get a fix.
Try setting
GPS_GNSS_MODE,65
or
GPS_GNSS_MODE,67
if you are in USA

HDOP of less that 1.0 is what you are looking for, number of Sats alone is not necessarily a good indicator (but still useful)

Important also that GPS_TYPE2=0, or your autopilot will await detection of a second module.

Both Serial3 (GPS) and Serial4 (GPS2) were configured for GPS. I disabled SERIAL3 and now everything is working fine.