Page 1 of 1

FineOffset - Synology NAS - CumulusMX

Posted: Mon 29 Aug 2016 12:07 am
by scribdashe
My hardware: FineOffset wh1080 - Synology nas 216+II running dsm 6(a linux variant for embedded devices), cpu architecture intel broswell .

I installed from the official repository Mono-x86_64-4.2.1-0088.spk , i copied CumulusMX under /volume1/@appstore/ and typed sudo mono Cumulus.exe

The program started, without recognizing the weather station, with some errors as you can see :

Image

After searching , i typed lsusb >>>>command not found

Back to searching again. After installing UsbSerialDrivers_braswell-6.0_2-0.spk ,I typed lsusb and that's the result:

Image

It seems that the station is being recognized, but unfortunately when I run sudo mono Cumulus.exe I get the same errors.

After digging the net I found similar cases https://forum.peppermintos.com/index.ph ... gjlieghl97 and here https://cumulus.hosiene.co.uk/viewtopic.p ... 0&start=45 https://translate.google.gr/translate?h ... aar-dan%2F


The library libudev.so.0 is missing indeed from my system.

https://translate.google.gr/translate?h ... aar-dan%2F

Trying to find a workaround, as there is no prebuilt libudev package for my system, I installed chroot-debian from synocommunity. In this way debian packages can be installed in my system using apt-get command.

Then , I installed libudev-dev https://www.howtoinstall.co/en/debian/j ... ibudev-dev

The package installed under /volume1/@appstore/debian-chroot/var/chroottarget/lib/x86_64-linux-gnu/libudev.so.1

/volume1/@appstore/debian-chroot/var/chroottarget/lib/x86_64-linux-gnu/libudev.so.1.5.0

/volume1/@appstore/debian-chroot/var/chroottarget/usr/lib/x86_64-linux-gnu/libudev.so

In a ''test and try'' procedure I created symlinks ("ln -s ") to the above files (one at a time), putting them in CumulusMX folder, and renaming them to libdev.so.0 , following the instructions. To my disappointment , I was not able to get FineOffset communicate with CumulusMX (I always get the same errors you can see in the first image)

There are reports of successful running weewx+synology nas+fineoffset (I realize they are completely different softwares, but there must be a solution)

As I am a completely newbie, any idea would be greatly appreciated !

Thanks for your efforts Steve!!

Re: FineOffset - Synology NAS - CumulusMX

Posted: Mon 29 Aug 2016 1:30 am
by jlmr731
The linux system in you nas is different so not sure if it will work if you dont have all the libs for it.

I am using ubuntu so i used this for libudev http://packages.ubuntu.com/precise/amd64/libudev0/ and seeing you have the debain installer that should work (maybe) seeing it is a deb package. from what you said it looks like you installed was the dev package. this file should be in /lib dir
As long as mono was installed with out error this should be the only thing needed

so give it a try

Re: FineOffset - Synology NAS - CumulusMX

Posted: Tue 30 Aug 2016 11:40 pm
by scribdashe
Thank you for your response. Searching the internet I realized that debian chroot creates a virtual debian linux guest os into my Synology DSM host. In order to run an application, I have to install everything needed, in the virtual guest debian jessie.
Using apt-get I installed usbutils, libudev0 from the wheesy repo, and mono packages following the instructions http://www.mono-project.com/docs/gettin ... all/linux/

In the following screenshot you can see the output of lsusb, HidSharp.Test.exe, and mono -V

Image

Is mono version 3.2.8 unsuitable?

What about libudev: udev_has_devtmpfs: name_to_handle_at on /dev: Function not implemented error?

Re: FineOffset - Synology NAS - CumulusMX

Posted: Wed 31 Aug 2016 9:00 am
by steve
Mono 3.2.8 is fine unless you want to use commas for decimals, but the problem with the USB component which MX uses not finding any devices is quite likely down to a problem with your libudev. I'm afraid I don't know what the problem might be, or exactly what that error message means.