Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 28-12-2010, 06:32   #1
Registered User
 
marinux's Avatar

Join Date: Dec 2010
Location: Kourou French Guiana South America
Boat: Trismus 37'
Posts: 83
Thumbs up Soft Multiplexer for Linux

Thanks for the e-x-e-l-l-e-n-t OpenCPN. Now we have a powerfull tool to navigate with Linux. For that OS, I have no found a multiplexer as VSPE on Windows. So I have wrote a script SoCat based with the same fonctionnalities (merge and split datas, serial, USB, BT,TCP).
You can download it (GPL) at Muplex - OSD_Depth.
There is also OSD_Depth, display sounder on OSD, less interesting since Dasboard plugin, except for small screens.
Suggestion: a TCP/IP input datas for OpenCPN. GPSD is nice but a little restrictive for no GPS NMEA datas.
Thanks again.
Frank French Guiana
__________________

__________________
marinux is offline   Reply With Quote
Old 17-01-2011, 02:13   #2
Registered User
 
bompa's Avatar

Join Date: Jun 2009
Location: Rome (Italy)
Boat: Jeanneau SO 32i
Posts: 15
Images: 1
I am looking for a multiplexer under linux too, as gpsd or libgps doesn't seems to be supported by the other gps application I am using.
It seems that your link doesn't work.
Thanks
Bompa
__________________

__________________
bompa is offline   Reply With Quote
Old 17-01-2011, 04:45   #3
Senior Cruiser
 
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,551
Matrix Mariner GPS | My marine electronics blog matrix mariner gps does what youre looking for i think
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 17-01-2011, 06:11   #4
Registered User
 
bompa's Avatar

Join Date: Jun 2009
Location: Rome (Italy)
Boat: Jeanneau SO 32i
Posts: 15
Images: 1
Thanks, I am afraid Matrix Mariner his 'virtual Com' is working only under windows 32 bits. I need something like that or like VSPE for linux.
As most application use direct connection and not always gpsd or libgps (which are subject to too many changes from my point of view), what I am expecting to find is something wrapping the ttyS0 into ttySx and ttySy and access ttySx and ttySy from my applications (what marinux described in fact)

Bompa
__________________
bompa is offline   Reply With Quote
Old 17-01-2011, 07:19   #5
Registered User
 
marinux's Avatar

Join Date: Dec 2010
Location: Kourou French Guiana South America
Boat: Trismus 37'
Posts: 83
Muplex download

Hello Bompa

Sorry, my webserver don't liked the reboot of this morning - normal for a monday . So I have put the a secondary server in use. Advise me if any other trouble.
I have probe Muplex sharing mutiples applications with success (Xubuntu 10.4, also with wine) but only with my own softwares and equipments, so your feedback is welcome.
There is no gui to configure Muplex, edit your I/O by hand, Linux fashion, in a *.conf file largely commented. All instructions in the web page.
Muplex - OSD_Depth (at http://webcom.pk973.org/muplex)

A bientôt Frank
__________________
marinux is offline   Reply With Quote
Old 17-01-2011, 10:07   #6
Registered User
 
bompa's Avatar

Join Date: Jun 2009
Location: Rome (Italy)
Boat: Jeanneau SO 32i
Posts: 15
Images: 1
Wonderful, that's what I needed

For info, I will test the program for 72 hours to see if reliable. For now OpenCPN is connected on the virtual port ttyPS0 and PolarCOM (who was not able to connect to ttyPS1, maybe a configuration error on my side) is connected through TCP. Both are working correctly and ... together

Thanks a lot

Bompa
__________________
bompa is offline   Reply With Quote
Old 17-01-2011, 11:15   #7
Registered User
 
marinux's Avatar

Join Date: Dec 2010
Location: Kourou French Guiana South America
Boat: Trismus 37'
Posts: 83
Your feedback

Thank for your informations. I am as happy as you to see that you have succeeded the config and that muplex is working. About PolarCOMM, I know the problem that it don't like the virtual ports. So we have TCP to resolve it, and I think that all nav programs should have a network socket, finally more simple.
Frank
__________________
marinux is offline   Reply With Quote
Old 18-01-2011, 07:41   #8
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 333
There is also Gypsy used on the Intel Meego project to support multiple devices. Not tested at this end. if interested see:

https://launchpad.net/ubuntu/+source/gypsy
__________________
sailias is offline   Reply With Quote
Old 19-01-2011, 07:43   #9
Registered User
 
marinux's Avatar

Join Date: Dec 2010
Location: Kourou French Guiana South America
Boat: Trismus 37'
Posts: 83
gypsy

Bonjour Sailias

I don't know if we are speaking of the same thing.
The Gypsy GPS soft I see is a data exchanger GPS-computer specialised with Garmin, in the same family than GpsBabel, which is very complete.
Muplex is multiplexer, mixing all NMEAS datas, not only GPS (from differents sources, serial port or emulate with USB or Bluetooth) in one channel and can redirect the flow in many pseudos-serial ports if you want display or calculate datas from more than one program, because one serial port is limited to be open only with one application. More, Muplex can act as a TCP/IP server on local loop (some apps as PolarCOM accept it), or send datas in network, ex: tablet PC Wifi in your cockpit. See the fonctionnalities of the excellent VPSE by Etherlogic for Windows for the soft family.
Frank
__________________
marinux is offline   Reply With Quote
Old 20-01-2011, 07:16   #10
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 333
Thats not the gypsy I was referring too, however matters not, downloaded your script and socal and testing it today. This sounds very interesting and thanks for pointing it out and producing the shell script. Looks very very interesting.

Thanks

/ch
__________________
sailias is offline   Reply With Quote
Old 20-01-2011, 08:03   #11
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 333
Silly question I know, but how to I restart it once the conf file is edited. I know this is going to be embarrassing...

Regards

/ch
__________________
sailias is offline   Reply With Quote
Old 20-01-2011, 08:33   #12
Registered User
 
marinux's Avatar

Join Date: Dec 2010
Location: Kourou French Guiana South America
Boat: Trismus 37'
Posts: 83
Starting Muplex

Bonjour Sailias,

It's the same command as the first time you have launch Muplex, with or without "-n" option to be notified of state of Muplex at start.

Take the time to read completly instructions at web page:
"http://webcom.pk973.org/marinux"


INSTALL
Install the depends.
Decompress the archive in /usr/local/sbin/.
Adjust the owner and rights (root +rwx).
You need to be root (by su or sudo) to configure or launch Muplex due to the restrictive access of I/O ports.
Type '/usr/local/sbin/muplex.sh -n'
At first launch Muplex create a muplex.conf in /etc directory and exit.
You must configure manually this file to adapt at your case and relaunch Muplex.
After configuration, you can add '/usr/local/sbin/muplex.sh' (without quotes) at your /etc/rc.local to start automatically Muplex and it will run in the background. The devices must be connected and started before. If not, you need to restart Muplex.

Note: normally /usr/local/sbin is in your path. So type muplex.sh directly may run if you are outside of that directory, or ./muplex.sh if you are in /usr/local/sbin. (Linux standard)

I hope all is clear, or must I modify instructions ?
Frank

__________________
marinux is offline   Reply With Quote
Old 20-01-2011, 09:32   #13
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 333
Nah.....told ya it would be embarrassing..need to take the time to read the instructions rather then diving into it... All is good.

/ch
__________________
sailias is offline   Reply With Quote
Old 28-01-2011, 05:55   #14
Registered User

Join Date: Jan 2011
Location: GREECE
Boat: 7,5m ARIEL VI
Posts: 3
Post

Dear Frank!
I am searching a programm-plugin for opencpn like your osd depth, as i have seen it at your site.
My questions to you:
1) can you add Fathoms to display? (1 Fa = 1,83m)
2) is to much code work to programming it for windows or as plugin for opencpn but with Fathoms?
Opencpn plugin as the polarcom too, don't accept Fathoms.

many Thanks
Yannis
__________________
ARIEL143 is offline   Reply With Quote
Old 29-01-2011, 05:44   #15
Registered User
 
marinux's Avatar

Join Date: Dec 2010
Location: Kourou French Guiana South America
Boat: Trismus 37'
Posts: 83
Fantoms and Windows

Bonjour Ariel,

Thanks for your interest about OSD_Depth.

1) Fathoms: in the config file you can see a ceofficient to get feets from meters. You can modify to replace it by fathoms. It's simple. Make a GUI to adjust the config is in the TODO list and I will add your suggestion.

2) OSD_Depth for Windows: This script is made in bash, the native script Linux and use specific (and powerfull) tools as Awk and SoCat, so to keep it simple without emulation (in the mariner's mind !), a Windows version need a complete rewrite script (and find equivalent tools for Windows). But why to use more Windows since we have the great OpenCPN ?. I work on low power computers, with OS and all programs in ramdisk, as a use in my CyberCafe since 5 years (and interesting testbed to make indestructible computers !) and every version of Windows is less and less compatible with the recurrent worry of power consumption.

3) Plugin for OpenCPN: these plugins are written in C, it's above my level. From an other side, OSD_Depth is written to be operational above ANY application.

Sincères salutations
Frank Webcom Kourou
__________________

__________________
marinux is offline   Reply With Quote
Reply

Tags
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
Nema Multiplexer Needed or Not ? Jimbo2010 Marine Electronics 15 08-12-2010 20:21
OpenCPN and Linux svpresent OpenCPN 26 08-12-2010 07:54
Printing Charts on Linux captsparky OpenCPN 1 24-04-2010 04:15
For Sale: NMEA-0183 Raymarine Multiplexer new $60 Ram Classifieds Archive 0 16-12-2009 09:59
linux or xp uncle_fred Navigation 7 21-08-2006 18:03



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 06:39.


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.