[Top][All Lists]

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

Re: [gpsd-users] gpsd not capturing device on startup

From: Joshua Quesenberry
Subject: Re: [gpsd-users] gpsd not capturing device on startup
Date: Tue, 15 Nov 2016 15:14:24 -0500

Looks like I found the issue. We had another piece of software that was
grabbing the interface that we didn't know was running. I guess both process
were crashing after cgps attempted to use the device, which relinquished
control of the port and was allowing me to gain control when running gpsd
manually. Now that the application doesn't autostart I've been able to
restart a few time successfully, so hopefully it's good now. I also reverted
back to the systemd craziness and that seems reliable now too.



-----Original Message-----
From: Gary E. Miller [mailto:address@hidden 
Sent: Tuesday, November 15, 2016 2:36 PM
To: Joshua Quesenberry <address@hidden>
Cc: address@hidden
Subject: Re: [gpsd-users] gpsd not capturing device on startup

Yo Joshua!

On Tue, 15 Nov 2016 14:29:16 -0500
"Joshua Quesenberry" <address@hidden> wrote:

> After rebooting the machine, I see that gpsd is running with the 
> options I gave it, but I'm unable to get data from the GPS. If I run 
> cgps it immediately returns with "GPS hung up." If I power cycle the 
> GPS everything starts working fine until I reboot again. Any idea what 
> causes this? How to fix it?

You can't automate what you can't do by hand.  So first work with gpsd by
hand.  Like this, as root:
        # killall -9 gpsd
        # gpsd -nD 4 /dev/ttyUSB0

You should have a lot of logging telling you what gpsd is doing.

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

reply via email to

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