GPS Failing on Raspberry Pi 4

I had Navio GPS working fine on a Raspi 3.
I removed the GPS antenna for a few weeks to test manual flight
I have now replaced the Pi3 with a Pi 4 and have plugged the antenna back in but I’m getting nothing

When I run
./ublox_capture.py --port spi:0.0 --baudrate 5000000 --show
on the pi I get the output below – the ublox is sending bad messages?
Any thoughts I how to fix – or do I have dead hardware? The rest of the Navio appears ok. Motor drives, sensors etc

(0, 0)
try set binary at 5000000
ACK_ACK: clsID=6, msgID=0
ACK_ACK: clsID=6, msgID=8
ACK_ACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
ACK_NACK: clsID=6, msgID=1
ACK_NACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
ACK_NACK: clsID=6, msgID=1
ACK_NACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
NAV_SOL: iTOW=5137000, fTOW=0, week=0, gpsFix=0, flags=64, ecefX=637813700, ecefY=0, ecefZ=0, pAcc=649531392, ecefVX=0, ecefVY=0, ecefVZ=0, sAcc=450, pDOP=9999, reserved1=2, numSV=0, reserved2=215800
Traceback (most recent call last):
  File "./ublox_capture.py", line 57, in <module>
    msg = dev.receive_message()
  File "/home/pi/git/pyUblox/ublox.py", line 840, in receive_message
    self.special_handling(msg)
  File "/home/pi/git/pyUblox/ublox.py", line 790, in special_handling
    if msg.name() == 'CFG_NAV5':
  File "/home/pi/git/pyUblox/ublox.py", line 569, in name
    raise UBloxError('Unknown message %s length=%u' % (str(type), len(self._buf)))
ublox.UBloxError: Unknown message (1, 7) length=100

Hi Foeg,

Have you tried running the emlidtool test command? It’ll check how the main hardware components on Navio2 work.

Results attached

pi@navio:~ $ emlidtool test
2022-03-26 09:09:02 navio root[1359] INFO mpu9250: Passed
2022-03-26 09:09:02 navio root[1359] INFO ms5611: Passed
2022-03-26 09:09:02 navio root[1359] INFO adc: Passed
2022-03-26 09:09:02 navio root[1359] INFO pwm: Passed
2022-03-26 09:09:02 navio root[1359] INFO rcio_status_alive: Passed
2022-03-26 09:09:02 navio root[1359] INFO lsm9ds1: Passed
2022-03-26 09:09:02 navio root[1359] INFO gps: Passed
2022-03-26 09:09:02 navio root[1359] INFO rcio_firmware: Passed

Check the GPS plug on the card. Be sure to have a tight fit. It is very sensitive…