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 14-10-2012, 10: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 14-10-2012, 23:54   #2
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,208
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, 02: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, 02:33   #4
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,208
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, 03: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, 03:18   #6
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,208
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, 03: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, 04:16   #8
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,208
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, 05: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, 58 views)
mariette99 is offline   Reply With Quote
Old 16-10-2012, 13: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, 16:39   #11
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 340
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, 16: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, 17:13   #13
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 340
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, 17:20   #14
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 340
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, 08: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


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


Advertise Here


All times are GMT -7. The time now is 00:13.


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.