# GPS Issue | GPS blinks red and no data

Source: https://forum.modalai.com/topic/3039/gps-issue-gps-blinks-red-and-no-data
Category: VOXL SDK and Software (https://forum.modalai.com/category/47/voxl-sdk-and-software)
Posted: 2024-01-22 17:25:47 UTC by qpvtltd
Replies: 9 · Views: 1459

## qpvtltd · 2024-01-22 17:25:47 UTC

Hi Team, we are having a new weird issue. We attached a M8N GPS to the 12 Pin J19 port. We are also attaching a ELRS receiver in the same port. The wiring is correct. Everything is powered up well.

The issue is when we start up our drone we do not get any GPS data, the GPS blinks red. The solution I found was that I need to manually stop the GPS in the mavlink shell and then restart it with baudrate set to 115200. I had to do these steps everytime I power up my drone.

I am not able to configure these steps in the voxl-px4.conf file. When I add these steps in the voxl-px4.conf, the GPS and the ESC refuses to run.

I am able to work it manually but i dont know how to automate it.

The commands i used were "qshell gps stop" " qshell gps start -b 115200"

Please help.

## Reply by tom (ModalAI staff) · 2024-01-22 17:58:09 UTC

@qpvtltd What SDK do you have loaded? You can check this with `voxl-version`

## Reply by Eric Katzfey (ModalAI staff) · 2024-01-22 23:36:42 UTC

@qpvtltd You can edit the file `/usr/bin/voxl-px4-start` to change the gps start line and add the baudrate

## Reply by qpvtltd · 2024-01-23 08:32:23 UTC (in reply to tom)

@tom HW version is M0054 and voxl-suite is 1.1.2

## Reply by qpvtltd · 2024-01-23 10:31:52 UTC (in reply to Eric Katzfey)

@Eric-Katzfey its is working now but it does not work when i add "-b 115200"...i removed it, so basically rolling back to the initial lines and now its working

## Reply by qpvtltd · 2024-01-24 05:34:46 UTC (in reply to Eric Katzfey)

@Eric-Katzfey it stopped working again. I had to manually restart the GPS from the mavlink shell. Help please.

## Reply by Eric Katzfey (ModalAI staff) · 2024-01-24 16:30:30 UTC (in reply to qpvtltd)

@qpvtltd What happens if you specify a different baud rate like `-b 9600`,  `-b 57600` or `-b 38400`?

## Reply by qpvtltd · 2024-01-25 09:53:35 UTC (in reply to Eric Katzfey)

@Eric-Katzfey no. not working. GPS HDOP VDOP not showing. No data.

## Reply by Eric Katzfey (ModalAI staff) · 2024-01-25 15:56:31 UTC (in reply to qpvtltd)

@qpvtltd You can add to the end of `/usr/bin/voxl-px4-start`. So, at the end of that file add something like `qshell gps stop`, `/bin/sleep 1`, and `qshell gps start`. Does that work?

## Reply by qpvtltd · 2024-01-30 16:41:02 UTC (in reply to Eric Katzfey)

@Eric-Katzfey it is kind of working now using the default config file. still not able to figure out what was the actual issue. Thanks anyways.
