Skip to content

Instantly share code, notes, and snippets.

@drax68
Created September 15, 2013 16:51
Show Gist options
  • Save drax68/6572444 to your computer and use it in GitHub Desktop.
Save drax68/6572444 to your computer and use it in GitHub Desktop.
1. Stop the current gpsd process: killall gpsd
2. Plug in the BU-353
3. Figure out where the gps was loaded: tail dmesg | grep ttyUSB (this will spit out something like /dev/ttyUSB0...note the location).
4. Switch the receiver from binary to nmea (using the result from step 3): gpsctl -f -n /dev/ttyUSB0.
5. Configure the serial port (using the result from step 3): stty -F /dev/ttyUSB0 ispeed 4800 (8n1 should be configured by default).
Now, if you listen to the port (echo /dev/ttyUSB0), then you should see the NMEA ASCII messages.
If you want to use gpsd, but you want to keep the device configured to output NMEA, then you have to run gpsd in read only mode. For example, gpsd -b /dev/ttyUSB0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment