 |
|
06-06-2012, 10:39
|
#1
|
Registered User
Join Date: Apr 2012
Posts: 338
|
GPS not detected
I just upgraded to OpenCPN 3.0 (and used the version for 10.04.....I think that was the recommendation)
I'm running Ubuntu 11.04 (not 10.04)
Yesterday OpenCPN detected the GPS but not now with the new upgrade.
Yes, I set the NMEA Data Source to Network LIBGPS.
XGPS doesn't show any satellites either.
Any idea how to fix this?
|
|
|
06-06-2012, 10:56
|
#2
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
Re: GPS not detected
Quote:
Originally Posted by PDA1
I just upgraded to OpenCPN 3.0 (and used the version for 10.04.....I think that was the recommendation)
I'm running Ubuntu 11.04 (not 10.04)
Yesterday OpenCPN detected the GPS but not now with the new upgrade.
Yes, I set the NMEA Data Source to Network LIBGPS.
XGPS doesn't show any satellites either.
Any idea how to fix this?
|
There is only one 3.0 version for 32 bits Ubuntu!!
Try to unplug the USB(?) plug and reinsert it. Sometimes it helps.
As long as xgps sees no satellites, that is the problem!
As always, it would be useful to see your opencpn.log file.
Thomas
|
|
|
06-06-2012, 11:28
|
#3
|
Registered User
Join Date: Apr 2012
Posts: 338
|
Re: GPS not detected
The OpenCPN version 3.0 does not work for Ubuntu 11.04
See one of my previous posts about the subject and the "fix" (it was recommended to download as I mentioned before).
Now XGPS works and is detecting satellites.
OpenCPN doesn't show a GPS connection working.
Here's the link to my OpenCPN log;
OpenCPN Log - Pastebin.com
|
|
|
06-06-2012, 11:55
|
#4
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
Re: GPS not detected
Quote:
Originally Posted by PDA1
The OpenCPN version 3.0 does not work for Ubuntu 11.04
|
What is your problem installing 3.0 on 11.04? Is it still tinyxml?
Thomas
|
|
|
06-06-2012, 12:02
|
#5
|
Registered User
Join Date: Apr 2012
Posts: 338
|
Re: GPS not detected
|
|
|
06-06-2012, 12:10
|
#6
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
Re: GPS not detected
Quote:
Originally Posted by PDA1
|
Launchpads problem is one thing. I'm interested in your problems, when installing the official sourceforge package, please.
Thomas
|
|
|
06-06-2012, 12:14
|
#7
|
Registered User
Join Date: Apr 2012
Posts: 338
|
Re: GPS not detected
Fixed.
Here's what I did;
Clear@Clear-MM061:~$ sudo killall gpsd
[sudo] password for Clear:
Clear@Clear-MM061:~$ gpsctl -f -n /dev/ttyUSB0
gpsctl: attempting USB device enumeration.
gpsctl: 1d6b:0002 (bus 1, device 1)
gpsctl: 1d6b:0001 (bus 2, device 1)
gpsctl: 1d6b:0001 (bus 3, device 1)
gpsctl: 1d6b:0001 (bus 4, device 1)
gpsctl: 1d6b:0001 (bus 5, device 1)
gpsctl: 046d:c52f (bus 2, device 2)
gpsctl: 067b:2303 (bus 3, device 4)
gpsctl: vendor/product match with 091e:0003 not found
gpsctl: /dev/ttyUSB0 identified as a SiRF binary at 4800.
gpsctl: switching to mode NMEA.
gpsctl: after mode change, /dev/ttyUSB0 looks like a Generic NMEA GSW3.5.0_3.5.00.00-SDK-3EP2.01 at 4800.
Then I selected /dev/ttyUSB0 in the GPS tab of OpenCPN.
|
|
|
06-06-2012, 12:43
|
#8
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,295
|
Re: GPS not detected
PDA1...
Yes, this works with the Maverick package, but it definitely did not solve the GPSD problem. I'm looking into it now.
Thomas...
The old Ubuntus can't satisfy the dependencies of the DEB from opencpn.org easily (=without quite a bit effort to get hold of the right packages to satisfy the dependencies) if at all - for example there is no libtinyxml2.6.2 available on 11.04 and earlier, which is the origin of PDA1's problem. I really believe the only solution to this is building on the same edition of Ubuntu (as shown by the Maverick built executable having problems to connect to GPSD on Natty) at least in some of the cases.
Pavel
|
|
|
06-06-2012, 13:05
|
#9
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,708
|
Re: GPS not detected
Pavel...
I found a couple of .debs that will install tinyxml2.6.2 on 8.04, and probably other Ubuntus that need it up to 11.04.
I guess we need to mirror them on the .org site, and point to them in Release Notes.
Attached.
Dave
|
|
|
06-06-2012, 13:33
|
#10
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,295
|
Re: GPS not detected
Dave...
Does the trick on Natty. I've also looked at the build failure for i386 there - Our beloved cmake/gtk includes stuff...
Code:
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d071fda..b581fd6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -185,11 +185,9 @@ IF(WIN32)
ADD_DEFINITIONS(-DPSAPI_VERSION=1)
ENDIF(WIN32)
-# Add a definition to fix some 64 bit linux system builds, avoiding Apple builds
+# Add a definition to fix some linux system builds, avoiding Apple builds
IF (NOT WIN32 AND NOT APPLE)
- IF (CMAKE_SIZEOF_VOID_P MATCHES "8")
- ADD_DEFINITIONS("`pkg-config --cflags --libs gtk+-2.0`")
- ENDIF (CMAKE_SIZEOF_VOID_P MATCHES "8")
+ ADD_DEFINITIONS("`pkg-config --cflags --libs gtk+-2.0`")
ENDIF (NOT WIN32 AND NOT APPLE)
solves it. Don't think it will break anything else.
Pavel
|
|
|
11-06-2012, 10:58
|
#11
|
Registered User
Join Date: Apr 2012
Posts: 338
|
Re: GPS not detected
I sound like a broken record....
I just upgraded to Ubuntu 12.04, reinstalled OpenCPN.
The GPS (bu 353) isn't detected but I get the following error message;
Call to gps_open failed.
Is gpsd running?
gpsd host is: localhost
Continuing libgps setup...
Also, I started XGPS from the Terminal and got the following message;
gpsd is not running.
However, I have installed gpsd (through Software Center) gpsd 3.4-2
Any idea how to fix this problem?
|
|
|
11-06-2012, 11:13
|
#12
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
Re: GPS not detected
Quote:
Originally Posted by PDA1
I sound like a broken record....
I just upgraded to Ubuntu 12.04, reinstalled OpenCPN.
The GPS (bu 353) isn't detected but I get the following error message;
Call to gps_open failed.
Is gpsd running?
gpsd host is: localhost
Continuing libgps setup...
Also, I started XGPS from the Terminal and got the following message;
gpsd is not running.
However, I have installed gpsd (through Software Center) gpsd 3.4-2
Any idea how to fix this problem?
|
Start gpsd!
It could be as simple as unplugging the gps, and then reinserting it.
If that doesn't work follow the instructions in Setting Up GPS | Official OpenCPN Homepage
Thomas
|
|
|
11-06-2012, 11:31
|
#13
|
Registered User
Join Date: Apr 2012
Posts: 338
|
Re: GPS not detected
I issued the command- start gpsd....also tried simply- gpsd.
Here's the result;
$ gpsd
gpsd: error while loading shared libraries: libgpsd.so.20: cannot open shared object file: No such file or directory
Already tried the "plug- unplug" routine. No success.
xgps says gpsd not running.
How in the world do I make it start?
|
|
|
11-06-2012, 11:45
|
#14
|
Registered User
Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
|
Re: GPS not detected
Quote:
Originally Posted by PDA1
I issued the command- start gpsd....also tried simply- gpsd.
Here's the result;
$ gpsd
gpsd: error while loading shared libraries: libgpsd.so.20: cannot open shared object file: No such file or directory
Already tried the "plug- unplug" routine. No success.
xgps says gpsd not running.
How in the world do I make it start?
|
Make sure that libgps19 is not installed, and that libgps20 is installed!
Thomas
|
|
|
11-06-2012, 12:16
|
#15
|
Registered User
Join Date: Apr 2012
Posts: 338
|
Re: GPS not detected
According to Ubuntu Software Center libgps20 3.4-2 is installed.
No success so far at getting this thing running.
|
|
|
 |
|
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 |
|
|