Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    starting gpsd from the command line

    Reply
    dannemil | # 1 | 2008-07-16, 13:33 | Report

    In many threads on the forum is says that you can start gpsd by typing in a terminal

    /usr/libexec/navicore-gpsd-helper

    Nothing happens except this message:

    sh: turning off NDELAY mode

    When I grep for gps I get the follwing:

    1154 root 4824 SW /usr/sbin/gpsdriver
    1937 root 1892 SW grep gps

    which confirms that the gpsd-helper is not started.

    I'd really like to be able to start gpsd from within a shell script and log the output to a file, but that won't happen with the above problems.

    I can verify that gpsd will run. If I start Map, and grep for gps, I now get
    1159 root 4824 SW /usr/sbin/gpsdriver
    1558 user 15092 SW /usr/libexec/navicore-gpsd-helper
    1565 user 2768 SW /usr/sbin/gpsd -n -N -F /tmp/.gpsd_ctrl_sock /dev/pgp

    I would like to look at the logs but I can't find them. I am running Diablo on a N810. Any help would be appreciated.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to dannemil For This Useful Post:

     
    dannemil | # 2 | 2008-07-16, 18:47 | Report

    Solved my own problem. For some reason it would not run under root. I started it under user, and everything worked fine.

    SOLVED

    Edit | Forward | Quote | Quick Reply | Thanks

     
    cmmarques | # 3 | 2009-09-21, 17:39 | Report

    Hi Dan!

    My name is Caio and i am from Brazil!

    Sorry, my english is poor.

    I execute your same steps and all works fine.

    But, i have one question: when GPSD is up, the port 2947 should be opened ?
    I try: # nmap localhost, but the port 2947 is not opened.

    Can you help me ?

    Best Regards!
    Caio

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout