Page 1 of 7

Installation auf raspberry

Posted: Mon 09 Jan 2017 8:51 pm
by bajowar
Hello, please help me!
I have installed Cumulus on my Raspberry P2 with:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install mono-complete

I dont find the Installation on my Raspberry. In which Ordner is the Installation?

with
sudo mono -V, I see:
Mono JIT compiler version 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan 3 12:12:14 UTC 2017)

I see, that the Installation is somewhere. Wat must I do?
Excuse my bad english
Dieter

Re: Installation auf raspberry

Posted: Mon 09 Jan 2017 9:39 pm
by PFC
Dieter,

You don't need to see the mono installation.
Have you installed CumulusMX?
If you have then all you need to do is move to the CumulusMX folder by typing: cd CumulusMX
Then run CumulusMX by typing: sudo mono CumulusMX.exe
Remember the capital letters are important.

Paul

Re: Installation auf raspberry

Posted: Mon 09 Jan 2017 11:08 pm
by bajowar
I have installed with "sudo apt-get install mono-complete"
I find no directory "CumulusMX"

Re: Installation auf raspberry

Posted: Mon 09 Jan 2017 11:46 pm
by PFC
Have you downloaded Cumulus?
If not you need to get it from here:
https://cumulus.hosiene.co.uk/download/file.php?id=13646

Re: Installation auf raspberry

Posted: Tue 10 Jan 2017 4:00 pm
by bajowar
Hello,
thank you for your help. Now cumulus works!
Only Raspberry can not yet recognize the data from the weatherstation over USB. With Windows 10 on my PC it was okay.
But I hope I find the matter.

Dieter

Re: Installation auf raspberry

Posted: Tue 10 Jan 2017 7:04 pm
by steve
Some versions of Mono do not work with USB stations and MX, 4.6.x is one such version - see the MX 'FAQ and known issues' post.

Re: Installation auf raspberry

Posted: Wed 11 Jan 2017 3:01 pm
by bajowar
Hello Steve,
I have the version 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan 3 12:12:14 UTC 2017) Is this okey?
Where can I get a earlyer version of mono which is good for USB?
I hope you can help.

Dieter

Re: Installation auf raspberry

Posted: Wed 11 Jan 2017 3:12 pm
by steve
There are a number of posts from people who have installed a suitable version of Mono, this one may help, for example - https://cumulus.hosiene.co.uk/viewtopic.p ... 29#p113598

Re: Installation auf raspberry

Posted: Wed 11 Jan 2017 4:21 pm
by ConligWX
Yes running 4.6.2 on Debain here on an Intel NUC.

Code: Select all

root@conligwx:~# mono -V
Mono JIT compiler version 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan  3 11:48:26 UTC 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen
root@conligwx:~#
Dieter I think you issue maybe the port you are using on Debain maybe incorrect.

Mine is like so:

/dev/ttyUSB0

in SSH type

lsusb

and post its findings.

Re: Installation auf raspberry

Posted: Wed 11 Jan 2017 4:30 pm
by ConligWX
you should be able to rule this script too to find your serial/usb controller.

Code: Select all

#!/bin/bash

for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do
    (
        syspath="${sysdevpath%/dev}"
        devname="$(udevadm info -q name -p $syspath)"
        [[ "$devname" == "bus/"* ]] && continue
        eval "$(udevadm info -q property --export -p $syspath)"
        [[ -z "$ID_SERIAL" ]] && continue
        echo "/dev/$devname - $ID_SERIAL"
    )
done
mine shows the following:

Code: Select all

root@conligwx:~# for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do
>     (
>         syspath="${sysdevpath%/dev}"
>         devname="$(udevadm info -q name -p $syspath)"
>         [[ "$devname" == "bus/"* ]] && continue
>         eval "$(udevadm info -q property --export -p $syspath)"
>         [[ -z "$ID_SERIAL" ]] && continue
>         echo "/dev/$devname - $ID_SERIAL"
>     )
> done
/dev/ttyUSB0 - Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001
or this:

Code: Select all

root@conligwx:~# echo -n "/dev/"; dmesg | grep tty|grep USB|rev|awk '{print $1}'|rev
/dev/ttyUSB0
but the first one lists the device name too.

Re: Installation auf raspberry

Posted: Wed 11 Jan 2017 4:34 pm
by steve
Fine Offset stations are USB HID devices and so the COM port setting is irrelevant. The problem is as I said, that Mono 4.6.2 is not compatible with MX and stations which are driven as HID devices rather than via a real or virtual serial port.

Re: Installation auf raspberry

Posted: Thu 12 Jan 2017 1:07 pm
by BigOkie
steve wrote:Fine Offset stations are USB HID devices and so the COM port setting is irrelevant. The problem is as I said, that Mono 4.6.2 is not compatible with MX and stations which are driven as HID devices rather than via a real or virtual serial port.
Which is probably why it works just fine on Windows...I wonder if installing Windows IoT on a Pi would work? Just throwing stuff out there now.

Re: Installation auf raspberry

Posted: Thu 12 Jan 2017 1:12 pm
by steve
BigOkie wrote:I wonder if installing Windows IoT on a Pi would work?
No, IoT isn't suitable for running applications like Cumulus.

Re: Installation auf raspberry

Posted: Fri 13 Jan 2017 11:25 am
by jank
bajowar wrote:Hello Steve,
I have the version 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan 3 12:12:14 UTC 2017) Is this okey?
Where can I get a earlyer version of mono which is good for USB?
I hope you can help.
Dieter
Dieter, if you still are having problems to get this running, maybe I can help.....in your Language.
So if you still having questions regarding Raspberry PI, OS and NOT the station itself, please let me know and I would help.
Jan

Btw: To show you the stabillity of a RaspberryPi:

pi@cumulus ~ $ uptime
12:28:54 up 161 days, 1:24, 2 users, load average: 0,04, 0,09, 0,07

Re: Installation auf raspberry

Posted: Fri 13 Jan 2017 5:35 pm
by rogerthn
From a fresh install of 2017-01-11-raspbian-jessie-lite

Code: Select all

apt-cache show mono-complete
Package: mono-complete
Source: mono
Version: 3.2.8+dfsg-10
.
.
.