 |
08-01-2011, 14:15
|
#1
|
Senior Cruiser

Join Date: Sep 2010
Location: Pompano Beach, FL
Boat: Kaufman 47, Cutter
Posts: 394
|
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
|
|
|
09-01-2011, 13: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
|
|
|
10-01-2011, 05:12
|
#3
|
Senior Cruiser

Join Date: Sep 2010
Location: Pompano Beach, FL
Boat: Kaufman 47, Cutter
Posts: 394
|
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
|
|
|
10-01-2011, 08: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.
|
|
|
10-01-2011, 10:13
|
#5
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
Quote:
Originally Posted by michaeld
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
|
|
|
10-01-2011, 11:41
|
#6
|
Senior Cruiser

Join Date: Sep 2010
Location: Pompano Beach, FL
Boat: Kaufman 47, Cutter
Posts: 394
|
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
|
|
|
10-01-2011, 11: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
|
|
|
10-01-2011, 12:18
|
#8
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
Quote:
Originally Posted by SethDart
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
|
|
|
30-01-2011, 03: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.
|
|
|
30-08-2011, 09: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.
|
|
|
 |
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|