Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

CMX Linux Debian

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
picchiosat
Posts: 9
Joined: Mon 30 Mar 2015 9:59 pm
Weather Station: Oregon Scientific WMR968
Operating System: WIN7 Debian Linux
Location: Trieste

CMX Linux Debian

Post by picchiosat »

Hi guys,
I try to install CMX 3028 on Core2-Quad with Debian 7.8.0.
The WMR968 is connected to a Tibbo DS202 ethernet-serial server.
The installation of Mono and CMX work fine.
The VSPDL (Virtual Serial Port Driver Linux) is configured and working
My serial port is /dev/vsps0
Well.... CMX no receive data from station.
For test, try to use minicom terminal to receive data... YES!
...and if I connect another serial device (old HAM TNC) to Tibbo I receive data correctly.
I set Logging=1 in Cumulus.ini but debug.log was not created.

ps. Under Windows 8.1 same hardware configuration working fine.

Any idea
Roberto, IV3JDV
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CMX Linux Debian

Post by steve »

I know that at least one other person is successfully using a WMR968 (or WMR928) with MX on Linux, because an issue was discovered with the serial port handling in Mono, for which I had to change my code, after which it worked OK. So the problem is likely to be something particular about your serial converter. If you attach the latest MX diags file, I'll take a look, but if Cumulus isn't getting anything at all, there's probably not going to be anything I can do about resolving the problem. Note that MX does not create a debug.log file.
Steve
picchiosat
Posts: 9
Joined: Mon 30 Mar 2015 9:59 pm
Weather Station: Oregon Scientific WMR968
Operating System: WIN7 Debian Linux
Location: Trieste

Re: CMX Linux Debian

Post by picchiosat »

next step:
Try to connect WMR928 direct on hardware serial port /dev/ttyS0
CMX receive data and work correctly.

last step:

CMX starting fine without error (serial /dev/vsps0 is apparently open)
no data receive
Shutting down CMX
Wait 1 minute
Connect WMR with minicom through /dev/vsps0
The station download all data buffer immediatly and trasmit new data time to time.
I'm suspect that CMX don't open VSP correctly.

Roby
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CMX Linux Debian

Post by steve »

picchiosat wrote:I'm suspect that CMX don't open VSP correctly.
Please do tell me what I am doing wrong, given that it works fine with the real serial port and other types of VSP. Here is my code, using System.IO.Ports.SerialPort

Code: Select all

comport = new SerialPort(cumulus.ComportName, 9600, Parity.None, 8, StopBits.One) {Handshake = Handshake.None, RtsEnable = true, DtrEnable = true};
Steve
picchiosat
Posts: 9
Joined: Mon 30 Mar 2015 9:59 pm
Weather Station: Oregon Scientific WMR968
Operating System: WIN7 Debian Linux
Location: Trieste

Re: CMX Linux Debian

Post by picchiosat »

I'm not a programmer but i think that your comport code is good and in fact CMX open port and set all parameter fine
This driver use Ethernet LAN to connect a "remote" serial port and the tools used to monitoring "remote port"
display correctly DTR and RTS in high status.
attached is data dump from VSPDL driver with CMX running on /dev/vsps0 and last CMX log
it seems that everything is working properly

file CMXvsps0.log is CMX log relative to vspd.log

file CMXttyS0.log is a prior log with direct connection to physical serial port

Roby
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CMX Linux Debian

Post by steve »

It doesn't seem to be receiving anything at all from the VSP.
Steve
picchiosat
Posts: 9
Joined: Mon 30 Mar 2015 9:59 pm
Weather Station: Oregon Scientific WMR968
Operating System: WIN7 Debian Linux
Location: Trieste

Re: CMX Linux Debian

Post by picchiosat »

Is possible that a problem is Mono version?
I have installed 4.0.3 Version and during CMX installation I had to replace your original System.Net.Http.dll with version 4.0.3 otherwise CMX don't start.
which DLL handles communications?

Roby
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CMX Linux Debian

Post by steve »

It's possible that it's an issue with the version of Mono, but unlikely, I think.

System.IO.Ports.SerialPorts is in System.dll
Steve
Locked