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 4021) - 04 May 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 4021) - 04 May 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
Raspberry (OrangePi) FineOffset meteostation problem
Moderator: mcrossley
Raspberry (OrangePi) FineOffset meteostation problem
Hello all.
I have installed mono and CumulusMX on my OrangePi (clone of RaspberryPi) with Armbian (Debian Jessie) installed.
Here some info about mono and Debian:
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-10)
Operating System: Debian GNU/Linux 8 (jessie)
Kernel: Linux 3.4.113-sun8i
Architecture: arm
After ran cumulis with "mono CumulusMX.exe" command, i got this message:
Current culture: English (United States)
Serial: A7517CD484456E480D66F840008514EE
Cumulus MX v.3.0.0 build 3043
Today.ini = data/today.ini
Last update=2017-04-09T20:57:20
Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
sysname=Linux release=3.4.113 machine=armv7l
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
Fine Offset station not found
But station WH-1080 is connected to USB port, logging with pywws works well.
Any idea what is wrong or what can I do to make Cumulus works?
Thanx for your time.
Mickey
I have installed mono and CumulusMX on my OrangePi (clone of RaspberryPi) with Armbian (Debian Jessie) installed.
Here some info about mono and Debian:
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-10)
Operating System: Debian GNU/Linux 8 (jessie)
Kernel: Linux 3.4.113-sun8i
Architecture: arm
After ran cumulis with "mono CumulusMX.exe" command, i got this message:
Current culture: English (United States)
Serial: A7517CD484456E480D66F840008514EE
Cumulus MX v.3.0.0 build 3043
Today.ini = data/today.ini
Last update=2017-04-09T20:57:20
Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
sysname=Linux release=3.4.113 machine=armv7l
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
Fine Offset station not found
But station WH-1080 is connected to USB port, logging with pywws works well.
Any idea what is wrong or what can I do to make Cumulus works?
Thanx for your time.
Mickey
Re: Raspberry (OrangePi) FineOffset meteostation problem
After some time of googling I found solution for "libudev.so.0 is missing".
I made copy of libudev.so.1 to libudev.so.0 and message is gone.
But still no station found:
mono CumulusMX.exe
Current culture: English (United States)
Serial: A7517CD484456E480D66F840008514EE
Cumulus MX v.3.0.0 build 3043
Today.ini = data/today.ini
Last update=2017-04-10T07:54:06
Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
sysname=Linux release=3.4.113 machine=armv7l
Fine Offset station not found
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
4/10/2017 7:54:07 AM
Type Ctrl-C to terminate
What now?
Mickey
I made copy of libudev.so.1 to libudev.so.0 and message is gone.
But still no station found:
mono CumulusMX.exe
Current culture: English (United States)
Serial: A7517CD484456E480D66F840008514EE
Cumulus MX v.3.0.0 build 3043
Today.ini = data/today.ini
Last update=2017-04-10T07:54:06
Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
sysname=Linux release=3.4.113 machine=armv7l
Fine Offset station not found
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
4/10/2017 7:54:07 AM
Type Ctrl-C to terminate
What now?
Mickey
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Raspberry (OrangePi) FineOffset meteostation problem
Does the command lsusb show that your station is detected by linux? If it is (and it sounds like it probably is, as it's working with pywws), then it could be that the hack to copy libudev may have made the error message go away, but it isn't actually working.
Steve
Re: Raspberry (OrangePi) FineOffset meteostation problem
Hi Steve.
lsusb command shows this output:
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
So WH1080 "Missile Launcher" is connected and visible.
I dont know what to do now :-/
Thx for any advice to help me to make Cumulus works...
Mickey
lsusb command shows this output:
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
So WH1080 "Missile Launcher" is connected and visible.
I dont know what to do now :-/
Thx for any advice to help me to make Cumulus works...
Mickey
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Raspberry (OrangePi) FineOffset meteostation problem
Looks like the libudev hack isn't working.
Steve
Re: Raspberry (OrangePi) FineOffset meteostation problem
Thx for reply.
And little question: is it my fault, did I made something wrong and can I correct it?
Or it is some kind of "bug" in Cumulus?
I am not sure what is libudev hack
Mickey
And little question: is it my fault, did I made something wrong and can I correct it?
Or it is some kind of "bug" in Cumulus?
I am not sure what is libudev hack
Mickey
- mcrossley
- Posts: 12821
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Raspberry (OrangePi) FineOffset meteostation problem
You haven't installed a real copy of libudev.so.0, you have just copied version 1 to version 0 and hoped it works.myckei wrote: I am not sure what is libudev hack
Re: Raspberry (OrangePi) FineOffset meteostation problem
Yes, this could be a problem.
But I dont know, how to install libudev.so.0 :-/
Only solution, that I found was to copy files...
Mickey
EDIT: I have found this topic: https://cumulus.hosiene.co.uk/viewtopic.p ... 13#p107913, but still no station found...
But I dont know, how to install libudev.so.0 :-/
Only solution, that I found was to copy files...
Mickey
EDIT: I have found this topic: https://cumulus.hosiene.co.uk/viewtopic.p ... 13#p107913, but still no station found...
-
- Posts: 7
- Joined: Mon 16 May 2016 2:30 am
- Weather Station: WH3081
- Operating System: Windows 10
- Location: Australia
Re: Raspberry (OrangePi) FineOffset meteostation problem
Sorry, posted this before I remembered that orangepi runs armbian...
====================================
This is a known problem in some versions of debian jessie (see: https://github.com/szwacz/sputnik/issues/20 ) so may apply also to the versions of raspbian jessie.
You could try the following command:
ln -s /lib/arm-linux-gnueabihf/libudev.so.1 /lib/arm-linux-gnueabihf/libudev.so.0
If you get a permissions error try using
sudo ln -s /lib/arm-linux-gnueabihf/libudev.so.1 /lib/arm-linux-gnueabihf/libudev.so.0
Alternatively, upgrade to a current release of jessie here: https://www.raspberrypi.org/downloads/raspbian/
Cheers.
====================================
This is a known problem in some versions of debian jessie (see: https://github.com/szwacz/sputnik/issues/20 ) so may apply also to the versions of raspbian jessie.
You could try the following command:
ln -s /lib/arm-linux-gnueabihf/libudev.so.1 /lib/arm-linux-gnueabihf/libudev.so.0
If you get a permissions error try using
sudo ln -s /lib/arm-linux-gnueabihf/libudev.so.1 /lib/arm-linux-gnueabihf/libudev.so.0
Alternatively, upgrade to a current release of jessie here: https://www.raspberrypi.org/downloads/raspbian/
Cheers.
-
- Posts: 7
- Joined: Mon 16 May 2016 2:30 am
- Weather Station: WH3081
- Operating System: Windows 10
- Location: Australia
Re: Raspberry (OrangePi) FineOffset meteostation problem
Ok. Just fired up an Orangepi and checked. There is NO libudev.so.0 present on my version of armbian (latest nightly beta). So, the following command (same as previously) might help.
ln -s /lib/arm-linux-gnueabihf/libudev.so.1 /lib/arm-linux-gnueabihf/libudev.so.0
Sorry for the confusion in my previous post.
Cheers.
ln -s /lib/arm-linux-gnueabihf/libudev.so.1 /lib/arm-linux-gnueabihf/libudev.so.0
Sorry for the confusion in my previous post.
Cheers.
Re: Raspberry (OrangePi) FineOffset meteostation problem
Hello all!
Problem is solved now.
I want to apologize - problem wasnt in armbian or libusb library.
The point was in using pywws script which have to write informations from meteostation to mysql database (https://github.com/x4x/pywws2mysql).
After restart orangepi without running the script, Cumulus ran without any problem. After script - station not found
So now Cumulus is running OK, but no daily.txt is created and daily database is empty.
But it will be another problem in another thread.
Thx everyone for help!
Mickey
Problem is solved now.
I want to apologize - problem wasnt in armbian or libusb library.
The point was in using pywws script which have to write informations from meteostation to mysql database (https://github.com/x4x/pywws2mysql).
After restart orangepi without running the script, Cumulus ran without any problem. After script - station not found
So now Cumulus is running OK, but no daily.txt is created and daily database is empty.
But it will be another problem in another thread.
Thx everyone for help!
Mickey