Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Fine Offset + Linux Mint
Moderator: mcrossley
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Fine Offset + Linux Mint
Could you please tell me what version of mono you have, and whether it includes Mono.Posix, and what kernel version you are running?
Please also paste the output from the attached updated test program.
Please also paste the output from the attached updated test program.
You do not have the required permissions to view the files attached to this post.
Steve
-
- Posts: 207
- Joined: Sat 24 Sep 2011 2:46 pm
- Weather Station: Davis Vantage Vue
- Operating System: Raspbian
Re: Fine Offset + Linux Mint
Mono:
Kernel:
No idea on how to check whether I have Mono.Posix or not. I do have its DLL on /usr/lib/mono/4.5/
New USB test:
Code: Select all
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
Code: Select all
Linux 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:30:01 UTC 2014 i686 i686 i686 GNU/Linux
New USB test:
Code: Select all
sysname=Linux release=3.13.0 machine=i686
System.DllNotFoundException: libudev.so.0
at (wrapper managed-to-native) HidSharp.Platform.Linux.NativeMethods:udev_new ()
at HidSharp.Platform.Linux.LinuxHidManager.get_IsSupported () [0x00000] in <filename unknown>:0
Not supported
Complete device list (took 386 ms to get 0 devices):
Opening HID class device...
Failed to open device.
Last edited by Spider-Vice on Tue 13 Jan 2015 2:36 pm, edited 1 time in total.
- mcrossley
- Posts: 12766
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Fine Offset + Linux Mint
Is this any help? Running 32 bit programs on 64 bit Linux can cause this error...
http://stackoverflow.com/questions/2115 ... file-no-su
http://stackoverflow.com/questions/2115 ... file-no-su
-
- Posts: 207
- Joined: Sat 24 Sep 2011 2:46 pm
- Weather Station: Davis Vantage Vue
- Operating System: Raspbian
Re: Fine Offset + Linux Mint
Unfortunately I still have the same error after installing libudev-dev.
@Mark: My Linux Mint is 32-bit.
@Mark: My Linux Mint is 32-bit.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Fine Offset + Linux Mint
Perhaps you have libudev.so.1 rather than libudev.so.0 - Google suggests this is a common problem. Possibly resolved by installing package libudev0.
Steve
-
- Posts: 207
- Joined: Sat 24 Sep 2011 2:46 pm
- Weather Station: Davis Vantage Vue
- Operating System: Raspbian
Re: Fine Offset + Linux Mint
Followed this (http://www.unixmen.com/resolve-libudev0 ... ntu-13-04/) advice and the USB test app now detects something!
And according to diags, it has successfuly recognised the FO station and it is working successfully now!
Code: Select all
sysname=Linux release=3.13.0 machine=i686
Complete device list (took 605 ms to get 1 devices):
(unnamed) (VID 6465, PID 32801, version 266)
Opening HID class device...
Max Lengths:
Input: 9
Output: 9
Feature: 0
The operating system name for this device is:
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/0003:1941:8021.0001/hidraw/hidraw0
Device opened successfully
Press a key to exit...
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Fine Offset + Linux Mint
I'm pleased you have it working, but the instructions in that link are a bit scary - you're apparently installing a package from a dropbox account? Is there no official source?
Steve
-
- Posts: 207
- Joined: Sat 24 Sep 2011 2:46 pm
- Weather Station: Davis Vantage Vue
- Operating System: Raspbian
Re: Fine Offset + Linux Mint
Yeah, I know, but apparently it is indeed the real libdev0 package, it's just an older version. There probably is a way to add an official repository though.
Edit: Official Ubuntu link: http://www.ubuntuupdates.org/package/co ... s/libudev0 The download links are from Ubuntu's servers. (security.ubuntu.com)
Edit: Official Ubuntu link: http://www.ubuntuupdates.org/package/co ... s/libudev0 The download links are from Ubuntu's servers. (security.ubuntu.com)
- mcrossley
- Posts: 12766
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Fine Offset + Linux Mint
does "apt-get install libudev0" not work? On my Pi (Debian) it says it is already the latest version.
-
- Posts: 207
- Joined: Sat 24 Sep 2011 2:46 pm
- Weather Station: Davis Vantage Vue
- Operating System: Raspbian
Re: Fine Offset + Linux Mint
It said something about being located in a different source and didn't download it.
- Buford T. Justice
- Posts: 423
- Joined: Fri 17 Aug 2012 9:21 pm
- Weather Station: Ecowitt GW1002
- Operating System: Windows 11 Pro
- Location: USA
Re: Fine Offset + Linux Mint
mono HidSharp.Test.exesteve wrote:Could you please unzip the attached on your Linux system, then change to the directory in a command window and type:
mono HidSharp.Test.exe
and paste the output here.
Complete device list (took 77 ms to get 0 devices):
Opening HID class device...
Failed to open device.
I also installed libudev-dev but that didn't work.
I THINK I FIXED IT!!!
https://cumulus.hosiene.co.uk/viewtopic.p ... 13#p107913
In Ubuntu and it's derivatives for 14.04 Trusty Tahr, in both /lib/x86_64-linux-gnu and /lib/i386-linux-gnu there is a link file called libudev.so.1 which links to libudev.so.1.3.5. I decided the hell with it and made another link file in both locations called libudev.so.0 by right-clicking on libudev.so.1.3.5, making a link, and then renaming the link file. I fired up CMX and data is being displayed. IT'S ALIVE!!!
Last edited by Buford T. Justice on Thu 28 May 2015 7:07 pm, edited 1 time in total.
-
- Posts: 93
- Joined: Tue 19 Oct 2010 12:20 am
- Weather Station: Ambient Weather WS-2080
- Operating System: Ubuntu 14.4
- Location: Fairmount, New York (USA)
- Contact:
Re: Fine Offset + Linux Mint
I was having the same exact problem, CMX ran fine on a laptop that was *upgraded* from Ubuntu 13 to 14.04
libudev.so.0 is not available in 14.04, but must have been installed sometime prior, thus CMX ran fine on my laptop.
So following Bufords post I did the same,
cd /lib/x86_64-linux-gnu/
sudo ln -sf libudev.so.1 libudev.so.0
And she works!! To clarify, CMX started fine, but could not find the Fine Offset station.
Also could not get CMX to run using mono 2.10.8.1 Ubuntu 12.04
Running on Ubuntu 14.4 with mono 3.2.8
I'll keep checking posts, just got excited that I finally got it working and displaying!
Question, in Cumulus 1 you have the option to copy the files to the web directory rather than ftping them, I want to run this on the same machine
thats hosting my website, I don't see that copy option in CMX
libudev.so.0 is not available in 14.04, but must have been installed sometime prior, thus CMX ran fine on my laptop.
So following Bufords post I did the same,
cd /lib/x86_64-linux-gnu/
sudo ln -sf libudev.so.1 libudev.so.0
And she works!! To clarify, CMX started fine, but could not find the Fine Offset station.
Also could not get CMX to run using mono 2.10.8.1 Ubuntu 12.04
Running on Ubuntu 14.4 with mono 3.2.8
I'll keep checking posts, just got excited that I finally got it working and displaying!
Question, in Cumulus 1 you have the option to copy the files to the web directory rather than ftping them, I want to run this on the same machine
thats hosting my website, I don't see that copy option in CMX
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Fine Offset + Linux Mint
It's exactly the same in MX, you put a file name in the 'remote' box and don't tick 'ftp'. Where is the option that you think is missing?Hunter362 wrote:Question, in Cumulus 1 you have the option to copy the files to the web directory rather than ftping them, I want to run this on the same machine
thats hosting my website, I don't see that copy option in CMX
Steve
- mcrossley
- Posts: 12766
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Fine Offset + Linux Mint
I did read somewhere in my Googling on this when it first came up that libudev0 and libudev1 are not the same beast (hence the different names ) and whilst creating a cross link may work for some things, it may break others, and is generally considered a bad idea.Hunter362 wrote:cd /lib/x86_64-linux-gnu/
sudo ln -sf libudev.so.1 libudev.so.0