gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] gpsd wont open pipe


From: Mike
Subject: Re: [gpsd-users] gpsd wont open pipe
Date: Mon, 23 May 2016 13:33:28 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0

On 05/23/2016 12:42 PM, Steve Franks wrote:
Hi yall, (I think this bounced the first time I sent it sorry if not)

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??

Regards!

I believe that you need a "-n" on your command line also.  The daemon is waiting for a client connection...

Mike


reply via email to

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