Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 25-02-2015, 04:27   #1
Registered User

Join Date: Feb 2015
Boat: Rainke S, 34 feet
Posts: 2
GPS problem on linux-on-android OCPN

Hi guys,

I installed linux using Linux Deploy utility. OCPN works fine. The only problem is that I can't connect it to internal GPS.
I have rooted Samsung 7" mini - it doesn't have hotspot option, so I guess that is the reason that "GPS share wifi" is not helping. I installed TurboGPS, but is doesn't seems to have any influence on linux. The only way I managed to solve it - is by using "NMEA Relay", but it requires active wifi access point, which is frustrating in the sea.
When I try to add serial connection in OCPN, it tells me that I don't have serial ports, but then allows me to select some port. However nothing happens and the debug window is blank.

Any help would be blessed
__________________

__________________
Iriy is offline   Reply With Quote
Old 25-02-2015, 10:27   #2
Registered User
 
Wrong's Avatar

Join Date: Jul 2013
Posts: 1,702
Re: GPS problem on linux-on-android OCPN

Quote:
Originally Posted by Iriy View Post
Hi guys,

I installed linux using Linux Deploy utility. OCPN works fine. The only problem is that I can't connect it to internal GPS.
I have rooted Samsung 7" mini - it doesn't have hotspot option, so I guess that is the reason that "GPS share wifi" is not helping. I installed TurboGPS, but is doesn't seems to have any influence on linux. The only way I managed to solve it - is by using "NMEA Relay", but it requires active wifi access point, which is frustrating in the sea.
When I try to add serial connection in OCPN, it tells me that I don't have serial ports, but then allows me to select some port. However nothing happens and the debug window is blank.

Any help would be blessed
*First. The hotspot is not required and if you had the feature it would be turned off.
*Second. The dataport you should use in OpenCPN is the same as specified in GPS share WIFI in Settings/Local Port which is probably 12776.
*Address is 'localhost', 'Type - network'.
*If you haven't already download "GPSTEST" from Google Play, do so.
*Enable 'location' (GPS) in the android Settings app.
*Launch GPS Share WIFI and and enable by tapping on the green button.
*Launch GPS TEST to observe gps activity. Once satellites are acquired and you have a position return to OpenCPN.
*In OpenCPN Settings (the wrench icon) make sure you have 'applied' your settings and tap on 'ok'.
*GPS activity should appear with green bars in the icon in the upper right corner and your ownship will move to your current position on the chart.
__________________

__________________
Wrong is offline   Reply With Quote
Old 25-02-2015, 11:44   #3
Registered User

Join Date: Feb 2015
Boat: Rainke S, 34 feet
Posts: 2
Re: GPS problem on linux-on-android OCPN

Wrong, you are Right!
After unticking "hotspot" checkbox and changing in OCPN from 0.0.0.0 to localhost it started to work!

Thanks!
__________________
Iriy is offline   Reply With Quote
Old 15-03-2015, 09:34   #4
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,293
Re: GPS problem on linux-on-android OCPN

Quote:
Originally Posted by Iriy View Post
Hi guys,

I installed linux using Linux Deploy utility. OCPN works fine.
....
hello Iriy, what is Linux Deploy utility ?

thank by advance.

Gilletarom
__________________
Gilletarom is online now   Reply With Quote
Old 15-03-2015, 09:44   #5
Registered User
 
Wrong's Avatar

Join Date: Jul 2013
Posts: 1,702
Re: GPS problem on linux-on-android OCPN

Quote:
Originally Posted by Gilletarom View Post
hello Iriy, what is Linux Deploy utility ?

thak by advance.

Gilletarom
Linux Deploy is an android application used to install Linux on android devices. Once installed you have the option of running OpenCPN and other linux prcograms in a 'chroot' linux environment along side the android system. See my instructions here for doing everything necessary to use OpenCPN on your android device. Building on Motorola Xoom | Official OpenCPN Homepage Simplified instructions will be posted there sometime later today.

10" screen size recommended with 1200X800 resolution maximum.
__________________
Wrong is offline   Reply With Quote
Old 15-03-2015, 10:03   #6
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,293
Re: GPS problem on linux-on-android OCPN

Hello Wrong,

Quote:
Originally Posted by Wrong View Post
Linux Deploy is an android application .... See my instructions here for doing everything necessary to use OpenCPN on your android device. Building on Motorola Xoom | Official OpenCPN Homepage Simplified instructions will be posted there sometime later today. ....
Thank you.
__________________
Gilletarom is online now   Reply With Quote
Old 15-03-2015, 10:38   #7
Registered User
 
Wrong's Avatar

Join Date: Jul 2013
Posts: 1,702
Re: GPS problem on linux-on-android OCPN

Quote:
Originally Posted by Wrong View Post
Linux Deploy is an android application used to install Linux on android devices. Once installed you have the option of running OpenCPN and other linux prcograms in a 'chroot' linux environment along side the android system. See my instructions here for doing everything necessary to use OpenCPN on your android device. Building on Motorola Xoom | Official OpenCPN Homepage Simplified instructions will be posted there sometime later today.

10" screen size recommended with 1200X800 resolution maximum.
Simplified instructions are up. Inviting comments for suggested further improvement.
__________________

__________________
Wrong is offline   Reply With Quote
Reply

Tags
gps, linux

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OCPN for Android Proof of Concept and Teaser.... bdbcat OpenCPN 151 22-02-2015 14:49
OCPN on nexus7... having a hard time with Linux Deploy GrowleyMonster OpenCPN 22 13-09-2014 14:55
OCPN to Android a possibility? sinbad7 OpenCPN 0 17-01-2014 08:47
Compiling OCPN on Scientific Linux 6.4 64bit HotRod OpenCPN 6 23-05-2013 07:51



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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.