Rocky Linux 9.5 - USB problem with WH1080

87 views
Skip to first unread message

Ole Andreas Gløersen

unread,
Apr 5, 2025, 5:37:28 PMApr 5
to weewx-user
I have installed it several times.

It seems to be some USB driver problems.

Any help please.



# sudo systemctl status weewx
● weewx.service - WeeWX
     Loaded: loaded (/usr/lib/systemd/system/weewx.service; enabled; preset: disabled)
     Active: active (running) since Sat 2025-04-05 23:28:43 CEST; 47s ago
       Docs: https://weewx.com/docs
   Main PID: 25755 (weewxd)
      Tasks: 2 (limit: 202318)
     Memory: 14.8M
        CPU: 129ms
     CGroup: /system.slice/weewx.service
             └─25755 /bin/python3 /usr/local/bin/weewxd /etc/weewx/weewx.conf

april 05 23:28:43 RockyLinux1 weewxd[25755]: INFO weewx.restx: CWOP: Posting not enabled.
april 05 23:28:43 RockyLinux1 weewxd[25755]: INFO weewx.restx: WOW: Posting not enabled.
april 05 23:28:43 RockyLinux1 weewxd[25755]: INFO weewx.restx: AWEKAS: Posting not enabled.
april 05 23:28:43 RockyLinux1 weewxd[25755]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available
april 05 23:28:43 RockyLinux1 weewxd[25755]: INFO weewxd: Starting up weewx version 5.1.0
april 05 23:28:43 RockyLinux1 weewxd[25755]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
april 05 23:28:43 RockyLinux1 weewxd[25755]: INFO weewx.manager: Starting backfill of daily summaries
april 05 23:28:43 RockyLinux1 weewxd[25755]: INFO weewx.manager: Daily summaries up to date
april 05 23:28:43 RockyLinux1 weewxd[25755]: ERROR weewx.drivers.fousb: unrecognised magic number 2521
april 05 23:28:43 RockyLinux1 weewxd[25755]: INFO weewx.drivers.fousb: synchronising to the weather station (quality=1)


# dmesg | grep -i hid
[    0.369420] hid: raw HID events driver (C) Jiri Kosina
[    0.369448] usbcore: registered new interface driver usbhid
[    0.369449] usbhid: USB HID core driver
[    0.995154] hid-generic 0003:046D:C52B.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:14.0-7/input0
[    1.050878] hid-generic 0003:046D:C52B.0002: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:14.0-7/input1
[    1.052283] hid-generic 0003:046D:C52B.0003: hiddev97,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-7/input2
[    1.083320] hid-generic 0003:0B05:18A3.0004: hiddev98,hidraw3: USB HID v1.11 Device [AsusTek Computer Inc. AURA MOTHERBOARD] on usb-0000:00:14.0-6.4/input0
[    1.338597] hid-generic 0003:1941:8021.0005: hiddev99,hidraw4: USB HID v1.00 Device [HID 1941:8021] on usb-0000:00:14.0-9/input0
[    1.526223] logitech-djreceiver 0003:046D:C52B.0003: hiddev96,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-7/input2
[    1.631036] hid-generic 0003:046D:4051.0006: input,hidraw1: USB HID v1.11 Mouse [Logitech Wireless Device PID:4051] on usb-0000:00:14.0-7/input2:1
[    2.934698] logitech-hidpp-device 0003:046D:4051.0006: input,hidraw1: USB HID v1.11 Mouse [Logitech M510] on usb-0000:00:14.0-7/input2:1

# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 004: ID 0b05:18a3 ASUSTek Computer, Inc. AURA MOTHERBOARD
Bus 001 Device 005: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Ole Andreas Gløersen

unread,
Apr 6, 2025, 11:23:17 AMApr 6
to weewx-user
Somthing strange...

Left the system with the error last evening:
april 05 23:28:43 RockyLinux1 weewxd[25755]: ERROR weewx.drivers.fousb: unrecognised magic number 2521

This morning the system was working.

I had to setup a new system disk in my server because the boot record/partition was failing and no way I was able to restore the boot record/partition. I had Rocky Linux to setup RAID 1 for the  system disk but no help so I bought a new disk and had to setup the hole server configuration againg. I was able to mount one of the system disks (get the RAID run with one disk) to another server and download several configurations. Also for WEEWX.

Part of the config:

##############################################################################

[FineOffsetUSB]
    # This section is for the Fine Offset series of weather stations.
   
    # The station model, e.g., WH1080, WS1090, WS2080, WH3081
    model = WS2080
   
    # How often to poll the station for data, in seconds
    polling_interval = 10
   
    # The driver to use:
    driver = weewx.drivers.fousb

##############################################################################

Well, system is working now. 

matthew wall

unread,
Apr 7, 2025, 12:58:53 PMApr 7
to weewx...@googlegroups.com
good to know your station is working. here are my notes from the fousb.py driver about the magic numbers in fine offset consoles.

# USB Lockups
#
# the ws2080 will frequently lock up and require a power cycle to regain
# communications. my sample size is small (3 ws2080 consoles running
# for 1.5 years), but fairly repeatable. one of the consoles has never
# locked up. the other two lock up after a month or so. the monitoring
# software will detect bad magic numbers, then the only way to clear the
# bad magic is to power cycle the console. this was with wview and pywws.
# i am collecting a table of bad magic numbers to see if there is a pattern.
# hopefully the device is simply trying to tell us something. on the other
# hand it could just be bad firmware. it seems to happen when the data
# logging buffer on the console is full, but not always when the buffer
# is full.
# --mwall 30dec2012
#
# the magic numbers do not seem to be correlated with lockups. in some cases,
# a lockup happens immediately following an unknown magic number. in other
# cases, data collection continues with no problem. for example, a brand new
# WS2080A console reports 44 bf as its magic number, but performs just fine.
# --mwall 02oct2013

https://github.com/weewx/weewx/blob/master/src/weewx/drivers/fousb.py
Reply all
Reply to author
Forward
0 new messages