gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] How to access two identical USB GPS plugged into one Rasp


From: Sanjeev Gupta
Subject: Re: [gpsd-dev] How to access two identical USB GPS plugged into one Raspeberry pi ?
Date: Wed, 19 Jun 2019 00:04:49 +0800

Hi,

Please try the line

DEVICES="/dev/ttyACM0   /dev/ttyACM1"

--
Sanjeev Gupta
+65 98551208     http://www.linkedin.com/in/ghane


On Tue, Jun 18, 2019 at 9:36 PM Benoit Lechardoy <address@hidden> wrote:
I have two identical devices plugged in : they are seen as :
/dev/ttyACM0
/dev/ttyACM1

I would like to access both via GPSD to log positions and make statistics about precision of both modules (antennas are set very close).

From now, I know that those two modules communicate with the Pi :
sudo cat ttyACM0 | grep -m 1 "GPGLL" return a NMEA position
sudo cat ttyACM0 | grep -m 1 "GPGLL" return a NMEA position 
 
GPSD can only read the second one (ttyACM1) and I don't know how to configure it to access both, ideally via Python.

/etc/default/gpsd configuration :

START_DAEMON="true"
USBAUTO="false"
DEVICES="/dev/ttyACM0"
DEVICES="/dev/ttyACM1"
GPSD_OPTIONS="-n"
GPSD_SOCKET="/var/run/gpsd.sock"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]