[Top][All Lists]

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

Re: [gpsd-users] Problem running on CentOS 7

From: Vaish, Atul
Subject: Re: [gpsd-users] Problem running on CentOS 7
Date: Tue, 11 Apr 2017 04:59:35 +0000

Hello Gary 
 starting  using my intel id  where I work and  porting this  gpsd task is one 
of my assignments.  

Build logs are attached. 

gpsd$ gpsd -V
gpsd: 3.16 (revision 3.16)
gpsd$ gpsmon -V
gpsmon: 3.16 (revision 3.16)
gpsd$ cgps -V
cgps: 3.16 (revision 3.16)

Above  looks to be from the build gpsd that I built using scons  command line .

When I use "sudo apt-get install gpsd gpsd-clients python-gps" ,I get version 
3.15 .
address@hidden:~$ cgps -V
cgps: 3.15 (revision 3.15-2build1)
address@hidden:~$ gpsmon -V
gpsmon: 3.15 (revision 3.15-2build1)
address@hidden:~$ gpsd -V
gpsd: 3.15 (revision 3.15-2build1)

address@hidden:~$ pgrep gpsd

The output from gpsmon and cgps in above case , are in attached JPEG files 
(still I see "NO FIX" after 10-15 mins,  am I missing something  here?)   .
 Hope that should be fine as copy-paste the terminal output wasn't the option 
here for me.  

With 3.16 Version (which I installed using scons command line) , still shows 
the issue as below while running gpsmon and cgps at different times 

tcp://localhost:2947          JSON slave driver>
(82) {"class":"VERSION","release":"3.16","rev":"3.16","proto_major":3,"proto_min
(172) {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyUSB0","act
(122) {"class":"WATCH","enable":true,"json":false,"nmea":false,"raw":2,"scaled":

address@hidden:~$ pgrep gpsd

Cgps -s 
│    Latitude:   n/a                        ││                                 │
│    Longitude:  n/a                        ││                                 │
│    Altitude:   n/a                        ││                                 │
│    Speed:      n/a                        ││                                 │
│    Heading:    n/a                        ││                                 │
│    Climb:      n/a                        ││                                 │
│    Status:     NO FIX (0 secs)            ││                                 │
│    Longitude Err:   n/a                   ││                                 │
│    Latitude Err:    n/a                   ││                                 │
│    Altitude Err:    n/a                   ││                                 │
│    Course Err:      n/a                   ││                                 │
│    Speed Err:       n/a                   ││                                 │
│    Time offset:     n/a                   ││                                 │
│    Grid Square:     n/a                   ││                                 │

On Android Porting ==>
Have enabled CONFIG_USB_SERIAL_GARMIN=y in kernel to make it Garmin specific 
kernel driver, is this enough  ? or  there is more to customization as u 
mentioned ? 

Thanx a Lot for your support 
-----Original Message-----
From: gpsd-users [mailto:address@hidden On Behalf Of Gary E. Miller
Sent: Monday, April 10, 2017 11:21 PM
To: Atul Vaish <address@hidden>
Cc: address@hidden
Subject: Re: [gpsd-users] Problem running on CentOS 7

Yo Atul!

On Mon, 10 Apr 2017 09:00:28 +0530
Atul Vaish <address@hidden> wrote:

> Hi Gem
> I have downloaded gpsd sources from
> .
> Did the build using below command as mentioned in  
> gpsd-release-3.16.tar\gpsd-release-3.16\build.txt
> scons && scons check && sudo scons udev-install
> have attached the snapshot (for gpsmon and cgps both) when I run gpsd 
> , gpsmon and cgps .

OK, sort of.

Pretty hard for anyone to cut past from an image to show you where the problems 
are.  Next time simple text cut and paste please.

Your results make no sense, your cgps does not match your gpsmon.  They could 
not possible be from the same running gpsd near the same time.

I'm guessing you ran gpsmon when gpsd is not running.  All that tells me is 
your Garmin US is up and running with a proper driver, but tells me nothing 
about your gpsd.

And what I also asked for, the most important thing I asked for, is the log of 
your build.

Also useful is to print the versions after your install, like this:

# gpsd -V
gpsd: 3.17~dev (revision release-3.16-564-g3798287)

# gpsmon -V
gpsmon: 3.17~dev (revision release-3.16-564-g3798287)

# cgps -V
cgps: 3.17~dev (revision release-3.16-564-g3798287)

> what I intend :
> Port GPSD on Android to have USB Garmin work with providing locations 
> info

That will not happen easily.  Garmin USB requires a Garmin specific kernel 
driver.  So to get this to work on Android you need to compile a custom kernel.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin

Attachment: gpsd_build_log_Scons.txt
Description: gpsd_build_log_Scons.txt

Attachment: pkginstall_cgps_output.jpg
Description: pkginstall_cgps_output.jpg

Attachment: pkginstall_gpsmon_output.jpg
Description: pkginstall_gpsmon_output.jpg

reply via email to

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