gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] Communication loss with GR-701W


From: Paul Bongaerts
Subject: Re: [gpsd-users] Communication loss with GR-701W
Date: Sat, 18 May 2019 16:25:19 +0200

If you're sure gpsd didn't change the baudrate of your device, 
It might be as simple as setting the usb serialport speed with stty to 9600 just before starting gpsd. 
Could be after replug this is not set correctly, and would be a lot quicker as using the autobaud routine above.

Hope this helps

Op za 18 mei 2019 om 16:04 schreef Benoît Thébaudeau <address@hidden>:
Hi Paul,

> On May 18, 2019 at 15:25, Paul Bongaerts wrote:
>
> Had similar issues on the hardware serial using gpsd with ublox.
> In my case gpsd switched to the wrong baudrate without knowing at which rate the unit is running.
>
> try this command to start gpsd, it takes some time but both serial device as gps unit should be running at 115200 baud after that.
>
> for SPEEDS in 460800 230400 153600 115200 57600 38400 19200 9600 4800 2400 1200 600 300; do ubxtool -w 0 -s $SPEEDS -S 115200 -f /dev/ttyUSB0; done; ubxtool -w 0 -s 115200 -f /dev/ttyUSB0; gpsctl -f /dev/ttyUSB0; gpsd /dev/ttyUSB0

Thanks for this tip. I will try it on Monday. I had built gpsd with a fixed baudrate of 9600 Bd, and the module works most of the time, so if this actually is the root cause of the issue, it means that there is an autobaud issue in the module. Forcing the baudrate as you suggest would indeed fix it in this case.

Best regards,
Benoît

reply via email to

[Prev in Thread] Current Thread [Next in Thread]