Hi yall, I'm trying to get gpsd to read from a pipe instead of a file or tty.
I have a printf in my program that fills the pipe telling the user when the reader has opened the pipe.
This works just fine if I:
cat /tmp/.Zonge/ZenHardwareGpsdUart.fifo
I get the message that the pipe was opened in my program, and cat begins hemmoraging gps data all over my terminal.
If I do:
gpsd -N -b -D8 -S20357 /tmp/.Zonge/ZenHardwareGpsdUart.fifo
I never get the message that the pipe was opened; all I get from gpsd is:
gpsd:INFO: launching (Version 3.10)
gpsd:IO: opening IPv4 socket
gpsd:SPIN: passivesock_af() -> 3
gpsd:IO: opening IPv6 socket
gpsd:SPIN: passivesock_af() -> 4
gpsd:INFO: listening on port 20357
gpsd:PROG: NTPD shmat(262148,0,0) succeeded, segment 0
gpsd:PROG: NTPD shmat(294917,0,0) succeeded, segment 1
gpsd:PROG: NTPD shmat(327686,0,0) succeeded, segment 2
gpsd:PROG: NTPD shmat(360455,0,0) succeeded, segment 3
gpsd:PROG: shmat() succeeded, segment 393224
gpsd:PROG: shared-segment creation succeeded,
gpsd:INFO: stashing device /tmp/.Zonge/ZenHardwareGpsdUart.fifo at slot 0
gpsd:INFO: running with effective group ID 20
gpsd:INFO: running with effective user ID 65534
gpsd:INFO: startup at 2016-05-17T18:48:57.000Z (1463510937)
And it just hangs there forever. Is there a trick to this??