Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 30-08-2011, 09:32   #1
Registered User

Join Date: Apr 2010
Location: Newport News VA
Boat: Egg Harbor sedan cruiser 1970
Posts: 829
Linux Version gpsd Selection for GPS Port

I am running ubuntu 11.04
I am having some issue with the gps and opencpn
sometimes opencpn works with port /dev/ttyUSB0
sometimes not. the last time out at boat, opencpn was not seeing any gps data yet other programs were using the gpsd daemon just fine.

I can never get opencpn to work on libgps or network gpsd, I have only ever seen it work when setting the port to /dev/ttyUSB0

what can I do to make it work using the gpsd daemon instead of the port ttyUSB0? I know about how to select those options under the gps field.
select them and select show console output yields a blank white window with no gps data showing.
__________________

__________________
sdowney717 is offline   Reply With Quote
Old 30-08-2011, 10:08   #2
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: linux version gpsd selection for gps port

Quote:
Originally Posted by sdowney717 View Post
I am running ubuntu 11.04
I am having some issue with the gps and opencpn
sometimes opencpn works with port /dev/ttyUSB0
sometimes not. the last time out at boat, opencpn was not seeing any gps data yet other programs were using the gpsd daemon just fine.

Don't use NMEA Data Source = /dev/ttyUSB0 , when gpsd is running.
Only use ->Network LIBGPS.


I can never get opencpn to work on libgps or network gpsd, I have only ever seen it work when setting the port to /dev/ttyUSB0

what can I do to make it work using the gpsd daemon instead of the port ttyUSB0? I know about how to select those options under the gps field.
select them and select show console output yields a blank white window with no gps data showing.
The NMEA data stream window is blank when gpsd is running. The output from gpsd is not NMEA.


Read and follow Setting Up GPS | Official OpenCPN Homepage

Thomas
__________________

__________________
cagney is offline   Reply With Quote
Old 30-08-2011, 10:49   #3
Registered User

Join Date: Apr 2010
Location: Newport News VA
Boat: Egg Harbor sedan cruiser 1970
Posts: 829
Re: Linux Version gpsd Selection for GPS Port

thanks for that, how can you tell opencpn is getting gps data if you cant use the nmea window when using libgps?
here is a screenshot with boat in bright red.
so is boat red and green icon in right hand corner enough to tell?

also I can get dev/ttyUSB0 to show data on opencpn when gpsd is running, is that bad?
first pic is using libgps, second with it set to dev/ttyUSB0
Attached Thumbnails
Click image for larger version

Name:	Screenshot-6.png
Views:	116
Size:	70.1 KB
ID:	30965   Click image for larger version

Name:	Screenshot-5.png
Views:	128
Size:	120.1 KB
ID:	30966  

__________________
sdowney717 is offline   Reply With Quote
Old 30-08-2011, 11:02   #4
mrm
Registered User

Join Date: Feb 2011
Location: Poland, EU
Boat: crew on Bavaria 38 Cruiser
Posts: 651
Re: Linux Version gpsd Selection for GPS Port

Quote:
Originally Posted by sdowney717 View Post
how can you tell opencpn is getting gps data if you cant use the nmea window when using libgps?
here is a screenshot with boat in bright red.
so is boat red and green icon in right hand corner enough to tell?
Yes, green signal 'strength' bars in top right corner indicate GPS signal.
IIRC the 'strength' in this case is related to number of satellites in view.

Quote:
also I can get dev/ttyUSB0 to show data on opencpn when gpsd is running, is that bad?
Either gpsd is not locking the file descriptor or OpenCPN IO routines ignore the lock. Both cases not optimal.
__________________
mrm is offline   Reply With Quote
Reply

Tags
gps, linux

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Version gpsd Restart Daemon ? sdowney717 OpenCPN 0 08-08-2011 09:24
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 05:31



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 22:03.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.