summaryrefslogtreecommitdiff
path: root/recipes-navigation
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-10-25 09:39:11 -0500
committerAndrii Pientsov <andrii.pientsov@globallogic.com>2021-11-17 15:20:53 +0200
commit8d669ae1990589dc8aaacc80c61b336e0970c45c (patch)
treec82b01192bac6ec8e16a1ace37fa811eb4c5b901 /recipes-navigation
parent9a491f51fdb153639454732f4525058b03ccfe5e (diff)
downloadmeta-mlinux-8d669ae1990589dc8aaacc80c61b336e0970c45c.tar.gz
meta-mlinux-8d669ae1990589dc8aaacc80c61b336e0970c45c.tar.bz2
meta-mlinux-8d669ae1990589dc8aaacc80c61b336e0970c45c.zip
Document U-Blox with ACM driver
Diffstat (limited to 'recipes-navigation')
-rw-r--r--recipes-navigation/gpsd/gpsd/gpsd-default3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-navigation/gpsd/gpsd/gpsd-default b/recipes-navigation/gpsd/gpsd/gpsd-default
index 3f9ef92..c8c6f17 100644
--- a/recipes-navigation/gpsd/gpsd/gpsd-default
+++ b/recipes-navigation/gpsd/gpsd/gpsd-default
@@ -55,6 +55,9 @@ function SET_GPS_SPEED {
((maxtries = 20))
if [[ $(cat /run/config/gpstype) == u-blox ]] ; then
+ # If the U-Blox is connected via USB, it shows
+ # up as using the ACM serial driver. This greatly
+ # simplifies setting up the U-Blox GNSS.
if [[ $(readlink $GPS_LINE0) =~ ^ttyACM ]] ; then
stty -F $GPS_LINE 115200
return 0