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: Gabi Kelemen
Subject: Re: [gpsd-users] Cannot get data from daemon
Date: Wed, 28 May 2014 16:24:30 +0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Rob,

Thanks for the answer.
Now that I run the gpsd as root it seems to work correctly.

Gabi.

- -----Original Message-----
From: Robert Calhoun [mailto:address@hidden
Sent: Tuesday, May 27, 2014 7:33 PM
To: Gabi Kelemen; address@hidden
Subject: Re: [gpsd-users] Cannot get data from daemon

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

________________________________
This electronic message, including attachments, is intended only for the use of 
the individual or company named above or to which it is addressed. The 
information contained in this message shall be considered confidential and 
proprietary, and may include confidential work product. If you are not the 
intended recipient, please be aware that any unauthorized use, dissemination, 
distribution or copying of this message is strictly prohibited. If you have 
received this email in error, please notify the sender by replying to this 
message and deleting this email immediately.

-----BEGIN PGP SIGNATURE-----
Version: PGP Universal 3.2.0 (Build 2599)
Charset: windows-1256

wsFVAwUBU4YNzyDGcYGohzk+AQqtKQ/5AUfl/Cse1XIQLkPWApQs0FGzoEByJwGK
TikM2q8yZmfhN7brxq16d1QcLLmAs/w6tJgALUOf5OOvNg4GdQeeCePITZ2XXspQ
JRZBJwXgFh2GdwN9acoWigWYctkYBtl3X682kwd9PKVKL2gxz96H89lTtOq7ZY3m
FBc/V2kO3UupOxe6RELj+FcK145d99v0o7ZqvY9YppANhOpXcqGJEHG/1YWIzfHJ
Zj1j3mAhyZyFWFr2/0Tj1W/DArlshv6PXlGKNLlo87BjflO1d3YW7eLGozfNwEZt
wuoKiqvuK0PAhOkmy+m/mqjOtT2zHu4qCjM+vjr3Y78VEh5X06HPKIGNd+Y2XwZr
XxpAcnjyij2EgRtKuS4x33DBKyjaZf6Yxd5QSLcpd0IDHTIWzHassYCee8t94mP+
PBYoomsm8kII8z7SIMkg2TVpoQS17z4/qKZa66XH9XEC7VDYPyXJx6I1V9Kfj3To
VvrSCMCxC6CVFDTaJgGRyrBdWp/OtSL+bT7QTlDrVrF1TrLpOQK6uq8tVXH+Z+wm
ryrc/eABulVyj2C6yx8utoRBHORxDIKXP6fsa3YcTFvLx8CJiOCzdejtuJVBYlod
JtNwvT1zyKzk9mbieAgQCiB83diplR2nMdUiX5JGP1l2IGpbRFC3gdsPgG+kwddC
2nezzTkOEz8=
=ye1w
-----END PGP SIGNATURE-----



reply via email to

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