GPS Sight - why doesn't it work?
tingox at gmail.com
Tue Apr 8 00:57:28 CEST 2008
On Mon, Apr 7, 2008 at 11:23 PM, Marcus Bauer <marcus.bauer at gmail.com> wrote:
> On Mon, 2008-04-07 at 22:44 +0200, Torfinn Ingolfsen wrote:
> > This reads from /tmp/nmeaNP, right?
> > According to lsof it does:
> > root at om-gta01:~# lsof /tmp/nmeaNP
> > COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
> > gpsd 1287 nobody 7u FIFO 0,14 2797 /var/volatile/tmp/nmeaNP
> > ld-linux. 1300 root 16w FIFO 0,14 2797 /var/volatile/tmp/nmeaNP
> > gpv 2222 root 5u FIFO 0,14 2797 /var/volatile/tmp/nmeaNP
> There is the problem already: /tmp/nmeaNP is a FIFO, = first in first
> out. Only two processes should have it open, one that writes and one
> that reads.
Aha. So GPS Sight (gpv) should be fixed to read via gpsd (localhost
port 2947) instead of reading the fifo directly, right?
More information about the device-owners