gpsd-users
[Top][All Lists]
Advanced

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

[gpsd-users] Best practice setting a serial port to correct baud rate be


From: Svenn Are Bjerkem
Subject: [gpsd-users] Best practice setting a serial port to correct baud rate before gpsd starts.
Date: Sun, 24 May 2015 15:46:10 +0200

Hi,
I have a slight problem on raspberry pi getting the baud rate of the serial port set correctly. From what I experience, I have to do an stty -F /dev/ttyAMA0 115200 manually before starting gpsd, I guess the autobaud function of gpsd is relying on the incoming data to be sane, which is not the case when the gps sends on 115200 and ttyAMA0 is at 9600.

Now, I can put stty -F /dev/ttyAMA0 115200 into rc.local and have the case solved for the gps, but I wonder if there is some option to gpsd to do this stty thing for me before gpsd starts.

-- 
Kind regards,
Svenn

reply via email to

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