Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 08-01-2011, 13:15   #1
Senior Cruiser
 
michaeld's Avatar

Cruisers Forum Supporter

Join Date: Sep 2010
Location: Pompano Beach, FL
Boat: Kaufman 47, Cutter
Posts: 366
OpenCPN - Fedora 14 - GPSD

Hello,

I'm having a fit trying to get Version 2.3.1 Build 2010-12-28 to talk to my Zenstar III USB GPS via GPSD 2.95 under Fedora 14. I have OpenCPN configured for Network GPSD, NMEA Baud Rate 4800. I get nothing in the Data Stream Window. It will not work when configured for /dev/ttyUSB0 either. Looking at the gpsd site, it indicates that there have been some significant changes. Maybe it's gpsd and/or libgps causing problems. Does anyone have insight to this issue?

Thanks,
Michael
michaeld is offline   Reply With Quote
Old 09-01-2011, 12:31   #2
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
With gpsd 2.95 and the latest OpenCPN you should use "Network LIBGPS" as NMEA data source, not Network GPSD.
Read Setting Up GPS | Official OpenCPN Homepage for more instructions.

To use /dev/ttyUSB0 as source, make sure gpsd is not running.

Thomas
cagney is offline   Reply With Quote
Old 10-01-2011, 04:12   #3
Senior Cruiser
 
michaeld's Avatar

Cruisers Forum Supporter

Join Date: Sep 2010
Location: Pompano Beach, FL
Boat: Kaufman 47, Cutter
Posts: 366
Network LIBGPS

Thomas,

Thanks fo the reply. Is this how you configured your installation? Unfortunately, for some reason, with my 2.3.1, I do not have Network LIBGPS shown as a choice for GPS configuration. As for why, I don't know. As a fallback, I backed off to Fedora 13 and everything works well. I have a second laptop to troubleshoot the Fedora 14 issue.

Regards,
Michael
michaeld is offline   Reply With Quote
Old 10-01-2011, 07:04   #4
Registered User

Join Date: Dec 2010
Location: oxnard, california
Boat: stich and glue, 19 ft wherry row/sail
Posts: 35
fedora fc14 opencpn 2.3.1

greetings,

I am having problems also with opencpn both 231 and the previous
version on fc14. In another thread I posted that my garmin
oregon 400c is communicating via gpsd and tested with xgps,
cpgs. Also in that thread I think it was stated that the message
window may not work. I have posted a jpg of the error msg
about a libgps mismatch. Not surprising to me also there are a few
occasions that my gps doesn't seem to be working with gpsd and
I end up having to reboot to get it working again. I tested a few
other application like gpsdrive and viking which don't appear
to have the problem so I think something needs to be tweaked in
opencpn. I would certainly be willing to do more testing but not
sure how to proceed.
oystercatcher is offline   Reply With Quote
Old 10-01-2011, 09:13   #5
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Quote:
Originally Posted by michaeld View Post
Thomas,

Thanks fo the reply. Is this how you configured your installation? Unfortunately, for some reason, with my 2.3.1, I do not have Network LIBGPS shown as a choice for GPS configuration. As for why, I don't know. As a fallback, I backed off to Fedora 13 and everything works well. I have a second laptop to troubleshoot the Fedora 14 issue.

Regards,
Michael
Michael
I'm on Ubuntu and a bit rusty on Fedora.
Do you have the libgps package installed?
If you compile yourself, you need liggps-devel as well.
Seems like your gps has a Sirf chip, which has a few gpsd issues.
Reed Setting Up GPS | Official OpenCPN Homepage The instructions for BU353 should work for you as well as both uses a Sirf chip.
When connecting to gpsd, the gps is switched to Sirf mode. If you would like to try a direct connection, make sure to reset the gps to NMEA mode.

Thomas
cagney is offline   Reply With Quote
Old 10-01-2011, 10:41   #6
Senior Cruiser
 
michaeld's Avatar

Cruisers Forum Supporter

Join Date: Sep 2010
Location: Pompano Beach, FL
Boat: Kaufman 47, Cutter
Posts: 366
Compiling 2.3.1 on Fedora 14

Hello Thomas,

Thanks for the clarification. As I suspected, Network LIBGPS was missing for a reason. I downloaded the source and discovered that it is a compile time option. Obviously, the 2.3.1 RPM is built without it.

I built/installed an RPM for the earlier OpenCPN Beta release for Fedora 13 a few months ago, and I may take a crack at that again. For the time being, I have a working system. I'm off for the Fort Lauderdale to Key West race on Wednesday. Next week will be the soonest I can look at this further.

Regards,
Michael
michaeld is offline   Reply With Quote
Old 10-01-2011, 10:53   #7
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 340
Michael, you're right, I build the rpm without that option as I don't use it myself... Thomas, should I enable it for the default rpm?

I updated Compiling - Linux | Official OpenCPN Homepage a few weeks ago, it should be easy to build your own on Fedora. Feel free to contact me if you've any question.

Regards,
Jean-Eudes
SethDart is offline   Reply With Quote
Old 10-01-2011, 11:18   #8
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Quote:
Originally Posted by SethDart View Post
Michael, you're right, I build the rpm without that option as I don't use it myself... Thomas, should I enable it for the default rpm?



Regards,
Jean-Eudes
Aha..
Yes, please rebuild with libgps enabled. That way users can choose for themselves if they want gpsd or a direct connection.

Thomas
cagney is offline   Reply With Quote
Old 30-01-2011, 02:08   #9
Registered User

Join Date: Jan 2011
Location: North Yorkshire, UK
Posts: 32
I have re-built it after installing the gpsd-devel package and this now gives me the Network LIBGPS option. This works fine upon starting OpenCPN after a re-boot with gpsd enabled. However, if I quit OpenCPN and then restart, GPS is not working (the status icon is red). Restarting gpsd does not clear the problem, & both xgps & cgps still work OK.
malcolmh is offline   Reply With Quote
Old 30-08-2011, 08:44   #10
Registered User

Join Date: Apr 2010
Location: Newport News VA
Boat: Egg Harbor sedan cruiser 1970
Posts: 958
Re: OpenCPN - Fedora 14 - GPSD

Quote:
both xgps & cgps still work OK.
those use gpsd daemon

I cant get opencpn to use libgps when it is selected. and sometimes I cant get opencpn to use /dev/ttyusb0 either


sometimes when I do cat /dev/ttyUSB0, I get nothing back, sometimes I do get data. xgps was working the whole time I was trying to get opencpn working.
xgps works most of the time. For me, gpsd has to be configured to use a set port , I could get that to work with running the dpkg reconfigure and setting the port to /dev/ttyUSB0

that ttyUSB0 port also may change to ttyUSB1 and I thought gpsd could cope with that change.
sdowney717 is offline   Reply With Quote
Reply


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
Fedora 13 Compilation Failure . . . PorkLoin OpenCPN 9 20-09-2010 22:38
AIS Under gpsd Seaspray OpenCPN 0 20-07-2010 08:59
Compiling on Fedora 12 teejayevans OpenCPN 29 01-04-2010 00:34
GPSD to Remove D-BUS Support in Favor of GeoClue antonm OpenCPN 4 24-03-2010 04:50
Compiling OpenCPN on Fedora 12 inSaNo OpenCPN 9 08-12-2009 04:09

Advertise Here


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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.