gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] installing gpsd and weird output


From: Eric S. Raymond
Subject: Re: [gpsd-users] installing gpsd and weird output
Date: Wed, 16 Jan 2013 16:13:04 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

Eyal Saiet <address@hidden>:
> /Desktop$ gpspipe -r >>/home/eyalak/Desktop/gps1.txt
> and I only get the following in the text file:
> {"class":"VERSION","release":"3.4","rev":"3.4","proto_major":3,"proto_minor":6}
> 
> {"class":"DEVICES","devices":[{"class":"DEVICE","path":"help"}]}
> {"class":"WATCH","enable":true,"json":false,"nmea":true,"raw":0,"scaled":false,"timing":false}
> 
> Compared to the past when I used gpsd, it seems the path is not defined.

That's really odd. And doesn't reproduce here.

address@hidden:~/software/gpsd$ gpspipe -r
{"class":"VERSION","release":"3.8~dev","rev":"release-3.7-136-g9bd0345","proto_major":3,"proto_minor":8}
{"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyUSB0","activated":"2013-01-16T21:06:04.046Z","flags":1,"driver":"Generic
 NMEA","native":1,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00}]}
{"class":"WATCH","enable":true,"json":false,"nmea":true,"raw":0,"scaled":false,"timing":false}

Try running gpsd in foreground with a high debug level, say like this:

gpsd -D 5 -n -N /dev/ttyUSB0 

(substituting your device for /dev/ttyUSB0). The device connect/disconnect 
messages from the daemon might tell us something useful. 
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

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