Changing serial baudrate

I was getting an issue when using gpsd daemon connected to GPS through USB/Serial converted. I figured out gpsd was trying to use 4800 as baudrate instead 115200 bps of my GPS.

I find out a work-around to solve this issue, just change the serial baudrate before executing gpsd:

# stty 115200 < /dev/ttyUSB0
# gpsd /dev/ttyUSB0

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s