From 014e3fc6a12c7931c5767a12a79632089c0e624a Mon Sep 17 00:00:00 2001 From: John Klug Date: Mon, 25 Oct 2021 09:39:11 -0500 Subject: Document U-Blox with ACM driver --- recipes-navigation/gpsd/gpsd/gpsd-default | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3