gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] Cannot get data from daemon


From: Robert Calhoun
Subject: Re: [gpsd-users] Cannot get data from daemon
Date: Tue, 27 May 2014 16:49:05 -0000
User-agent: Microsoft-MacOutlook/14.4.1.140326

> 
> From:  Gabi Kelemen <address@hidden>
> Date:  27 May 2014 3:26 AM
> To:  "address@hidden" <address@hidden>
> Subject:  [gpsd-users] Cannot get data from daemon
> 
> 
> Hi,
> I¹m using gpsd 3.9 on an ARM embedded system.
> My GPS is embedded on Cinterion PHS8 module.
> I open the gpsd with: gpsd /dev/ttyUSB1 ­n.
> When I use Œtop¹ cmd, it seems that it is opened correctly with SYS
>privileges.
> I use gps_stream() only with JSON flag.
> In order to perform the reading I use gps_waiting() with 50 seconds and
>then gps_read().
> The problem is that I can¹t read any data although I can see the data
>when I Œcat /dev/ttyUSB1¹.
> Does anyone have any suggestions?
> Thank you,
> Gabi.

I would first try to make sure that gpsd is successfully talking to the
device.

1) make sure no other process is using the device
2) try running in the foreground with debugging level set to something high

gpsd -nND6 /dev/ttyUSB1

If that works, do the same thing without -N and monitor syslog for
problems.
Note as a daemon gpsd drops to an unprivileged account before opening the
device; if 
you need to run commands to power up the gps as root, that will have
to be done before starting gpsd.

Rob Calhoun




reply via email to

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