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

Raspberry 3 with USB station not working

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
XBower
Posts: 55
Joined: Fri 09 Aug 2013 9:12 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10 64b
Location: Gothenburg, SE

Raspberry 3 with USB station not working

Post by XBower »

Hi all.

I'm trying to get a RaspBerry Pi 3b running Stretch to work with a Fine Offset USB station.
I have installed everything from scratch on a fresh SD card.
I have managed to downgrade to mono v4.0.5, and run CumulusMX v3 build 3043.
Everything seems to work OK, but I can't access the station.
I simply can't find out what device file to configure into the system.
Have I missed something?

mono -V
Mono JIT compiler version 4.0.5 (Stable 4.0.5.1/1d8d582 Thu Nov 12 12:22:41 UTC 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen

dmesg
[ 2328.418370] usb 1-1.2: new low-speed USB device number 5 using dwc_otg
[ 2328.594056] usb 1-1.2: New USB device found, idVendor=1941, idProduct=8021
[ 2328.594070] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2328.629962] hid-generic 0003:1941:8021.0002: hiddev0,hidraw0: USB HID v1.00 Device [HID 1941:8021] on usb-3f980000.usb-1.2/input0

lsusb
Bus 001 Device 005: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
----------------------------------------------------------------------
--- There IS intelligent life on Earth, but I'm only visiting ---
----------------------------------------------------------------------
User avatar
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 3 with USB station not working

Post by steve »

What does the MX diags file say? Fine Offset station not found? Do you have libudev0 installed?
Steve
XBower
Posts: 55
Joined: Fri 09 Aug 2013 9:12 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10 64b
Location: Gothenburg, SE

Re: Raspberry 3 with USB station not working

Post by XBower »

Hi.
Yes, correct:

2017-12-10 07:06:13.853 Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
2017-12-10 07:06:13.946 Fine Offset station not found

I suppose I have libudev0 installed:

pi@raspberrypi:~/CumulusMX $ sudo apt-get install libudev0
Reading package lists... Done
Building dependency tree
Reading state information... Done
libudev0 is already the newest version (175-7.2).
0 upgraded, 0 newly installed, 0 to remove and 195 not upgraded.
pi@raspberrypi:~/CumulusMX $

When disconnect/reconnect the station, dmesg says:

[ 508.994028] usb 1-1.2: USB disconnect, device number 4
[ 520.301061] usb 1-1.2: new low-speed USB device number 5 using dwc_otg
[ 520.467060] usb 1-1.2: New USB device found, idVendor=1941, idProduct=8021
[ 520.467073] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 520.502992] hid-generic 0003:1941:8021.0002: hiddev0,hidraw0: USB HID v1.00 Device [HID 1941:8021] on usb-3f980000.usb-1.2/input0
pi@raspberrypi:~/CumulusMX $
----------------------------------------------------------------------
--- There IS intelligent life on Earth, but I'm only visiting ---
----------------------------------------------------------------------
User avatar
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 3 with USB station not working

Post by steve »

Sorry, I don’t know what else to suggest, maybe someone else can offer help.
Steve
XBower
Posts: 55
Joined: Fri 09 Aug 2013 9:12 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10 64b
Location: Gothenburg, SE

Re: Raspberry 3 with USB station not working

Post by XBower »

Hi.

When surfing around, I found a solution on a different forum, that I decided to try.
Just a few simple steps was all it took.

1) Create a file under /etc/udev/rules.d
I called mine 69-fineoffset.rules
2) Edit the line
ATTRS{idVendor}=="1941", ATTRS{idProduct}=="8021", SUBSYSTEMS=="usb", ACTION=="add", MODE="0666", GROUP="plugdev"
into the created file. The Vendor and Product figures from lsusb.
3) Verify that the user is a member of the plugdev group, in my case pi.
adduser pi plugdev
4) Rebbot the Rasp, and everything is working.

I have not been able to make this work with any later version of mono than 4.0.5.

Thanks for Your support.
----------------------------------------------------------------------
--- There IS intelligent life on Earth, but I'm only visiting ---
----------------------------------------------------------------------
User avatar
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 3 with USB station not working

Post by steve »

Ah, OK, you wouldn’t normally need that as far as I know, assuming you were running it as root (with sudo) but perhaps for some reason it’s needed on your system.
Steve
Locked