diff options
author | John Klug <john.klug@multitech.com> | 2021-10-18 09:52:08 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2021-12-29 07:10:32 -0600 |
commit | 5d74f453dd03566b5401467c1a1b62d05d712fe3 (patch) | |
tree | 0a0a5c23a9e6c54f8867b761bcac5e533cf15887 | |
parent | 663dda189047a56a4900ab7fd42aa9437fd71852 (diff) | |
download | meta-mlinux-5d74f453dd03566b5401467c1a1b62d05d712fe3.tar.gz meta-mlinux-5d74f453dd03566b5401467c1a1b62d05d712fe3.tar.bz2 meta-mlinux-5d74f453dd03566b5401467c1a1b62d05d712fe3.zip |
3.20-m8b GPSD for U-Blox via USB
-rw-r--r-- | recipes-navigation/gpsd/gpsd/gpsd-default | 4 | ||||
-rw-r--r-- | recipes-navigation/gpsd/gpsd_3.20.bb | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/recipes-navigation/gpsd/gpsd/gpsd-default b/recipes-navigation/gpsd/gpsd/gpsd-default index a3245a3..3f9ef92 100644 --- a/recipes-navigation/gpsd/gpsd/gpsd-default +++ b/recipes-navigation/gpsd/gpsd/gpsd-default @@ -55,6 +55,10 @@ function SET_GPS_SPEED { ((maxtries = 20)) if [[ $(cat /run/config/gpstype) == u-blox ]] ; then + if [[ $(readlink $GPS_LINE0) =~ ^ttyACM ]] ; then + stty -F $GPS_LINE 115200 + return 0 + fi while ((maxtries >= 0)) ; do ((maxtries--)) if ((maxtries % 5 == 0)) ; then diff --git a/recipes-navigation/gpsd/gpsd_3.20.bb b/recipes-navigation/gpsd/gpsd_3.20.bb index d63362a..2ce8615 100644 --- a/recipes-navigation/gpsd/gpsd_3.20.bb +++ b/recipes-navigation/gpsd/gpsd_3.20.bb @@ -4,7 +4,7 @@ LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=01764c35ae34d9521944bb6ab312af53" DEPENDS = "dbus dbus-glib ncurses python3 libusb1 chrpath-replacement-native pps-tools" PROVIDES = "virtual/gpsd" -PR="m8a" +PR="m8b" #TODO #the recipe generates python2 pygps package for Atmel based devices and python3 pygps package for TI based devices. |