Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 14-10-2012, 11:53   #1
Registered User

Join Date: Oct 2010
Location: Southern Sweden
Posts: 21
Fedora 17 and GPS

I have installed gpsd and client and try to connect dongle BU353. When I run xgps I can see 8-9 satelites. In the line at the bottom of the page it says /dev/tty/USB0. So I guess that is where I should find it also in Opencpn.

But I have tried /dev/ttyUSB0 to five, Networkgps and others. But I get no NMEA-signals.
I even turned off SELinux and made sure I belong to group Dialout.

I bought the BU353 dongle today after spending many hours to get my bluetooth GPS working. Somehow I had it up and running for a few minutes but I was unable to repeat it.

It shouldn't be so difficult. Just follow instructions and it should work

Sarah
__________________

__________________
mariette99 is offline   Reply With Quote
Old 15-10-2012, 00:54   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Fedora 17 and GPS

Sarah...
As you are running gpsd, you have to use it as the datasource in OpenCPN as well. Select "Network LIBGPS" as the datasurce. More on that in Setting Up GPS | Official OpenCPN Homepage

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Old 15-10-2012, 03:15   #3
Registered User

Join Date: Oct 2010
Location: Southern Sweden
Posts: 21
Re: Fedora 17 and GPS

Pavel

It should be quite straightforward but..

Yesterday I bought a new USB GPS dongle and reinstalled Opencpn just to be on the safe side. "Network LIBGPS" is no longer an option in the list. "Network GPS" is.

I can run xgps and see a lot of satelites. I have tried connecting by using "Network LIBGPS", "Network GPS" and various /dev/USB's.

I have carefully read the "Setting Up GPS" And many other pages on the net. In the end it is like reading a Windows manual - I understand the worlds but not the meaning.

Can you give me a hint on the next step to take?

Sarah
__________________
mariette99 is offline   Reply With Quote
Old 15-10-2012, 03:33   #4
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Fedora 17 and GPS

Sarah...
With GPSD running, it makes no sense to try the /dev/USBs as they are already taken by gpsd, the only option that should work is "Network LIBGPS"
Publish your logfile so that we can have a look.

Pavel
__________________
nohal is offline   Reply With Quote
Old 15-10-2012, 04:12   #5
Registered User

Join Date: Oct 2010
Location: Southern Sweden
Posts: 21
Re: Fedora 17 and GPS

Where can I find the log file?
__________________
mariette99 is offline   Reply With Quote
Old 15-10-2012, 04:18   #6
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Fedora 17 and GPS

It's called opencpn.log and is located in your home directory. You can click on the help icon in the toolbar to get the exact location.
It will probably be too big for this forum, so compress it and add .doc extension to the resulting archive to be able to attach it to your post.

Pavel
__________________
nohal is offline   Reply With Quote
Old 15-10-2012, 04:46   #7
Registered User

Join Date: Oct 2010
Location: Southern Sweden
Posts: 21
Re: Fedora 17 and GPS

Trying to attache it. opencpn_log.doc
__________________
mariette99 is offline   Reply With Quote
Old 15-10-2012, 05:16   #8
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Fedora 17 and GPS

Did not work. Don't forget to click that upload button in the forum attachment manager...
__________________
nohal is offline   Reply With Quote
Old 15-10-2012, 06:25   #9
Registered User

Join Date: Oct 2010
Location: Southern Sweden
Posts: 21
Re: Fedora 17 and GPS

Just try agian
Attached Files
File Type: doc opencpnlog.doc (246.0 KB, 35 views)
__________________
mariette99 is offline   Reply With Quote
Old 16-10-2012, 14:46   #10
Registered User

Join Date: Oct 2010
Location: Southern Sweden
Posts: 21
Re: Fedora 17 and GPS

Nohal
Just want to know if my logfile went through.
Sarah
__________________
mariette99 is offline   Reply With Quote
Old 16-10-2012, 17:39   #11
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 335
Re: Fedora 17 and GPS

Hi,

Looks like you don't have gpsd-libs installed. It's required if you want to use libgps. You probably have gpsd installed but not gpsd-libs. Can you test it, execute this and report the result:

rpm -q gpsd-libs

If it says "Package gpsd-libs is not installed" Can you try to install that package:

yum install gpsd-libs

Then libgps should work in OpenCPN
__________________
SethDart is offline   Reply With Quote
Old 16-10-2012, 17:59   #12
Registered User

Join Date: Oct 2010
Location: Southern Sweden
Posts: 21
Re: Fedora 17 and GPS

Hi SetDarth
gpsd-libs already installed.Still not receiving anything into OpenCPN.
Sarah
__________________
mariette99 is offline   Reply With Quote
Old 16-10-2012, 18:13   #13
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 335
Re: Fedora 17 and GPS

Hi,

Very strange. In your logs, you have:


17:30:22 CEST: Failed to load libgps.so

Now, what's the output of:

ps aux | grep gps
__________________
SethDart is offline   Reply With Quote
Old 16-10-2012, 18:20   #14
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 335
Re: Fedora 17 and GPS

According to your logs, you had succesfull connection to your GPS using



/dev/rfcomm0

And then a few succeded with libgps but without anything received from libgps. There may be some mixup there. Are you sure libgps is receiving data from your gps right now?
__________________
SethDart is offline   Reply With Quote
Old 17-10-2012, 09:43   #15
Registered User

Join Date: Oct 2010
Location: Southern Sweden
Posts: 21
Re: Fedora 17 and GPS

First answer:
sarah 3057 0.0 0.0 5568 712 pts/0 S+ 17:38 0:00 grep --color=auto gps

How do I test if it is lipgps receiving data?. Only way of testing data is to run xgps.
__________________

__________________
mariette99 is offline   Reply With Quote
Reply

Tags
gps

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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 12:28.


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.