gpsd-users
[Top][All Lists]
Advanced

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

[gpsd-users] gpsd to gpsd connection not working reliably


From: Florian Petry
Subject: [gpsd-users] gpsd to gpsd connection not working reliably
Date: Fri, 01 Aug 2014 13:16:30 -0000

Hello,

 

for testing purposes inside a laboratory I want to connect several testing machines to one “GPS server” that has a USB GPS receiver connected.

I wanted to use the possibility of setting gpsd://<IP-ADDRESS>:<PORT> as an input device. But this does not reliably work.

 

Here is my setup:

 

“GPS server”:

 

                sudo /usr/sbin/gpsd -b -S 3333 -D2 -N -G -F /var/run/gpsd.sock -P /var/run/gpsd.pid /dev/ttyUSB0

 

 

“Client” gpsd:

 

                sudo /usr/sbin/gpsd -G -N -D9 -F /var/run/gpsd.sock -P /var/run/gpsd.pid gpsd://172.19.1.201:3333

 

 

I see the the detached message in the server when closing the gpsd on the client. And sometimes I even get data when using gpsmon to verify.

Gpsmon called with the IP and Port of the “gps server” always works on the client.

 

How can I reliably connect two instances of gpsd? Is this setup multiclient capable?

 

 

Here are the outputs with –D9 when starting both gpsds:

 

“GPS server”:

sudo /usr/sbin/gpsd -b -S 3333 -D5 -N -G -F /var/run/gpsd.sock -P /var/run/gpsd.pid /dev/ttyUSB0

gpsd:PROG: control socket opened at /var/run/gpsd.sock

gpsd:INFO: launching (Version 3.4)

gpsd:IO: opening IPv4 socket

gpsd:IO: opening IPv6 socket

gpsd:INFO: listening on port 3333

gpsd:PROG: NTPD shmat(0,0,0) succeeded, segment 0

gpsd:PROG: NTPD shmat(32769,0,0) succeeded, segment 1

gpsd:PROG: NTPD shmat(65538,0,0) succeeded, segment 2

gpsd:PROG: NTPD shmat(98307,0,0) succeeded, segment 3

gpsd:PROG: successfully connected to the DBUS system bus

gpsd:INFO: NTPD ntpd_link_activate: 1

gpsd:INFO: stashing device /dev/ttyUSB0 at slot 0

gpsd:PROG: changing to group 20

gpsd:INFO: running with effective group ID 20

gpsd:INFO: running with effective user ID 65534

gpsd:INFO: startup at 2014-08-01T12:18:49.000Z (1406895529)

 

“Client” gpsd:

sudo /usr/sbin/gpsd -G -N -D5 -F /var/run/gpsd.sock -P /var/run/gpsd.pid gpsd://172.19.1.201:3333

gpsd:PROG: control socket opened at /var/run/gpsd.sock

gpsd:INFO: launching (Version 3.9)

gpsd:IO: opening IPv4 socket

gpsd:IO: opening IPv6 socket

gpsd:INFO: listening on port gpsd

gpsd:PROG: NTPD shmat(0,0,0) succeeded, segment 0

gpsd:PROG: NTPD shmat(32769,0,0) succeeded, segment 1

gpsd:PROG: NTPD shmat(65538,0,0) succeeded, segment 2

gpsd:PROG: NTPD shmat(98307,0,0) succeeded, segment 3

gpsd:PROG: successfully connected to the DBUS system bus

gpsd:PROG: shmat() succeeded, segment 131076

gpsd:PROG: shared-segment creation succeeded,

gpsd:INFO: NTPD ntpd_link_activate: 1

gpsd:INFO: stashing device gpsd://172.19.1.201:3333 at slot 0

gpsd:INFO: running with effective group ID 20

gpsd:INFO: running with effective user ID 65534

gpsd:INFO: startup at 2014-08-01T12:18:41.000Z (1406895521)




ingenieur
wissenschaften

htw saar


Hochschule für Technik und Wirtschaft des Saarlandes
University of Applied Sciences

Fakultät für Ingenieurwissenschaften
School of Engineering

Florian Petry, M.Sc.
Forschungsgruppe Verkehrstelematik (FGVT)

Campus IT-Park
Altenkesseler Strasse 17/D2
66115 Saarbruecken
Germany

+49 681 5867-648
address@hidden
http://www.htwsaar.de


reply via email to

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