Upgrading to v5 from v4 - Insufficient privileges claiming USB

135 views
Skip to first unread message

mike.t...@noworries.plus.com

unread,
Jun 24, 2024, 8:27:38 AM (10 days ago) Jun 24
to weewx-user
Hi,
I've worked my way through the upgrade steps  following https://github.com/weewx/weewx/wiki/v5-upgrade and got to step 4 
 weewxd --config=/home/weewx/weewx.conf

running as pi I get the error 
weepi weewxd[17081]: CRITICAL weewxd: Unable to load driver: [Errno 13] Access denied (insufficient permissions)

I have changed the file ownership as per step 2 and everything under /weewx/home/ looks to have pi as the owner

if I sudo weewxd if does run without the driver error. I get a different error "TypeError: 'NoneType' object is not callable"  but weew is running and updating.

I have to confess I'm I'm not sure where to look to spot the incorrect privilege.

I'm using a RPI4 and Fine Offset weather station.

Thanks
Mike
_____________________________________________________________________________________
Jun 24 13:17:01 weepi CRON[17056]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 24 13:17:05 weepi weewxd[17081]: INFO weewxd: Initializing weewxd version 5.0.2
Jun 24 13:17:05 weepi weewxd[17081]: INFO weewxd: Command line: /home/pi/weewx-venv/bin/weewxd --config=/home/weewx/weewx.conf
Jun 24 13:17:05 weepi weewxd[17081]: INFO weewxd: Using Python 3.7.3 (default, Jan 22 2021, 20:04:44) #012[GCC 8.3.0]
Jun 24 13:17:05 weepi weewxd[17081]: INFO weewxd: Located at /home/pi/weewx-venv/bin/python3
Jun 24 13:17:05 weepi weewxd[17081]: INFO weewxd: Platform Linux-5.10.63-v7l+-armv7l-with-debian-10.11
Jun 24 13:17:05 weepi weewxd[17081]: INFO weewxd: Locale: 'en_GB'
Jun 24 13:17:05 weepi weewxd[17081]: INFO weewxd: Entry path: /home/pi/weewx-venv/lib/python3.7/site-packages/weewxd.py
Jun 24 13:17:05 weepi weewxd[17081]: INFO weewxd: WEEWX_ROOT: /home/weewx
Jun 24 13:17:05 weepi weewxd[17081]: INFO weewxd: Configuration file: /home/weewx/weewx.conf
Jun 24 13:17:05 weepi weewxd[17081]: INFO weewxd: User module: /home/weewx/bin/user
Jun 24 13:17:05 weepi weewxd[17081]: INFO weewxd: Debug: 0
Jun 24 13:17:05 weepi weewxd[17081]: INFO weewx.engine: Loading station type FineOffsetUSB (weewx.drivers.fousb)
Jun 24 13:17:05 weepi weewxd[17081]: INFO weewx.drivers.fousb: driver version is 1.3
Jun 24 13:17:05 weepi weewxd[17081]: INFO weewx.drivers.fousb: polling mode is PERIODIC
Jun 24 13:17:05 weepi weewxd[17081]: INFO weewx.drivers.fousb: polling interval is 60
Jun 24 13:17:05 weepi weewxd[17081]: INFO weewx.drivers.fousb: found station on USB bus= device=
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.drivers.fousb: Unable to claim USB interface 0: [Errno 13] Access denied (insufficient permissions)
Jun 24 13:17:05 weepi weewxd[17081]: ERROR weewx.engine: Import of driver failed: [Errno 13] Access denied (insufficient permissions) (<class 'weewx.WeeWxIOError'>)
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****  Traceback (most recent call last):
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****    File "/home/pi/weewx-venv/lib/python3.7/site-packages/weewx/drivers/fousb.py", line 1036, in openPort
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****      self.devh.claimInterface(self.usb_interface)
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****    File "/home/pi/weewx-venv/lib/python3.7/site-packages/usb/legacy.py", line 232, in claimInterface
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****      util.claim_interface(self.dev, interface)
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****    File "/home/pi/weewx-venv/lib/python3.7/site-packages/usb/util.py", line 207, in claim_interface
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****      device._ctx.managed_claim_interface(device, interface)
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****    File "/home/pi/weewx-venv/lib/python3.7/site-packages/usb/core.py", line 113, in wrapper
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****      return f(self, *args, **kwargs)
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****    File "/home/pi/weewx-venv/lib/python3.7/site-packages/usb/core.py", line 170, in managed_claim_interface
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****      self.managed_open()
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****    File "/home/pi/weewx-venv/lib/python3.7/site-packages/usb/core.py", line 113, in wrapper
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****      return f(self, *args, **kwargs)
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****    File "/home/pi/weewx-venv/lib/python3.7/site-packages/usb/core.py", line 131, in managed_open
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****      self.handle = self.backend.open_device(self.dev)
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****    File "/home/pi/weewx-venv/lib/python3.7/site-packages/usb/backend/libusb1.py", line 804, in open_device
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****      return _DeviceHandle(dev)
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****    File "/home/pi/weewx-venv/lib/python3.7/site-packages/usb/backend/libusb1.py", line 652, in __init__
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****      _check(_lib.libusb_open(self.devid, byref(self.handle)))
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****    File "/home/pi/weewx-venv/lib/python3.7/site-packages/usb/backend/libusb1.py", line 604, in _check
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****      raise USBError(_strerror(ret), ret, _libusb_errno[ret])
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****  usb.core.USBError: [Errno 13] Access denied (insufficient permissions)
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****  During handling of the above exception, another exception occurred:
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****  Traceback (most recent call last):
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****    File "/home/pi/weewx-venv/lib/python3.7/site-packages/weewx/engine.py", line 115, in setupStation
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****      self.console = loader_function(config_dict, self)
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****    File "/home/pi/weewx-venv/lib/python3.7/site-packages/weewx/drivers/fousb.py", line 232, in loader
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****      return FineOffsetUSB(**config_dict[DRIVER_NAME])
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****    File "/home/pi/weewx-venv/lib/python3.7/site-packages/weewx/drivers/fousb.py", line 967, in __init__
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****      self.openPort()
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****    File "/home/pi/weewx-venv/lib/python3.7/site-packages/weewx/drivers/fousb.py", line 1040, in openPort
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****      raise weewx.WeeWxIOError(e)
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewx.engine:     ****  weewx.WeeWxIOError: [Errno 13] Access denied (insufficient permissions)
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewxd: Unable to load driver: [Errno 13] Access denied (insufficient permissions)
Jun 24 13:17:05 weepi weewxd[17081]: CRITICAL weewxd:     ****  Exiting...

michael.k...@gmx.at

unread,
Jun 24, 2024, 9:05:37 AM (10 days ago) Jun 24
to weewx-user

mike.t...@noworries.plus.com

unread,
Jun 24, 2024, 12:01:17 PM (10 days ago) Jun 24
to weewx-user
Thanks Michael I've worked through the doc but not found a resolution.

pi the weewx user is in the following groups pi adm dialout cdrom sudo audio video plugdev games users input netdev lpadmin gpio i2c spi

The arm device is as follows;
(weewx-venv) pi@weepi:/home/weewx $ ls -l /dev/ttyAMA0
crw-rw---- 1 root dialout 204, 64 Jun 24 11:10 /dev/ttyAMA0

ps -ef | grep weewx - shows no instances running

If I sudo weewxd then it runs.
when running with sudo I see an error "unrecognised magic number 5528" in the log

Jun 24 16:57:46 weepi weewx[1345] INFO weewx.manager: Daily summaries up to date
Jun 24 16:57:47 weepi weewx[1345] ERROR weewx.drivers.fousb: unrecognised magic number 5528
Jun 24 16:57:47 weepi weewx[1345] DEBUG weewx.drivers.fousb: get 4079 records since 2024-06-24 15:52:30
Jun 24 16:57:47 weepi weewx[1345] INFO weewx.drivers.fousb: synchronising to the weather station (quality=1)
Jun 24 16:57:48 weepi weewx[1345] DEBUG weewx.drivers.fousb: status {'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0)
Jun 24 16:58:05 weepi weewx[1345] DEBUG weewx.drivers.fousb: new data
Jun 24 16:58:05 weepi weewx[1345] DEBUG weewx.drivers.fousb: setting sensor clock 29.5306
Jun 24 16:58:05 weepi weewx[1345] DEBUG weewx.drivers.fousb: live synchronised
Jun 24 16:58:05 weepi weewx[1345] DEBUG weewx.drivers.fousb: packet timestamp is 15:58:05

Thanks in advance
Mike

michael.k...@gmx.at

unread,
Jun 24, 2024, 1:49:36 PM (10 days ago) Jun 24
to weewx-user
Did you install an udev rule?

mike.t...@noworries.plus.com

unread,
Jun 24, 2024, 2:30:48 PM (10 days ago) Jun 24
to weewx-user
No I didn't
Neither /usr/lib/udev/rules.d/60-weewx.rules nor /etc/udev/rules.d/60-weewx.rules exists
found this file though /etc/udev/rules.d/99-com.rules

FYI this is an upgrade from v4 to 5 using FineOffset weather station


_____________________________________________________________________

pi@weepi:~ $ more /etc/udev/rules.d/99-com.rules
SUBSYSTEM=="input", GROUP="input", MODE="0660"
SUBSYSTEM=="i2c-dev", GROUP="i2c", MODE="0660"
SUBSYSTEM=="spidev", GROUP="spi", MODE="0660"
SUBSYSTEM=="bcm2835-gpiomem", GROUP="gpio", MODE="0660"
SUBSYSTEM=="rpivid-*", GROUP="video", MODE="0660"

KERNEL=="vcsm-cma", GROUP="video", MODE="0660"
SUBSYSTEM=="dma_heap", GROUP="video", MODE="0660"

SUBSYSTEM=="gpio", GROUP="gpio", MODE="0660"
SUBSYSTEM=="gpio", KERNEL=="gpiochip*", ACTION=="add", PROGRAM="/bin/sh -c 'chgrp -R gpio /sys/class/gpio && chmod -R g=u /sys/class/gpio'"
SUBSYSTEM=="gpio", ACTION=="add", PROGRAM="/bin/sh -c 'chgrp -R gpio /sys%p && chmod -R g=u /sys%p'"

# PWM export results in a "change" action on the pwmchip device (not "add" of a new device), so match actions other than "remove".
SUBSYSTEM=="pwm", ACTION!="remove", PROGRAM="/bin/sh -c 'chgrp -R gpio /sys%p && chmod -R g=u /sys%p'"

KERNEL=="ttyAMA0", PROGRAM="/bin/sh -c '\
        ALIASES=/proc/device-tree/aliases; \
        if cmp -s $$ALIASES/uart0 $$ALIASES/serial0; then \
                echo 0;\
        elif cmp -s $$ALIASES/uart0 $$ALIASES/serial1; then \
                echo 1; \
        else \
                exit 1; \
        fi\
'", SYMLINK+="serial%c"

KERNEL=="ttyAMA1", PROGRAM="/bin/sh -c '\
        ALIASES=/proc/device-tree/aliases; \
        if [ -e /dev/ttyAMA0 ]; then \
                exit 1; \
        elif cmp -s $$ALIASES/uart0 $$ALIASES/serial0; then \
                echo 0;\
        elif cmp -s $$ALIASES/uart0 $$ALIASES/serial1; then \
                echo 1; \
        else \
                exit 1; \
        fi\
'", SYMLINK+="serial%c"

KERNEL=="ttyS0", PROGRAM="/bin/sh -c '\
        ALIASES=/proc/device-tree/aliases; \
        if cmp -s $$ALIASES/uart1 $$ALIASES/serial0; then \
                echo 0; \
        elif cmp -s $$ALIASES/uart1 $$ALIASES/serial1; then \
                echo 1; \
        else \
                exit 1; \
        fi \
'", SYMLINK+="serial%c"

ACTION=="add", SUBSYSTEM=="vtconsole", KERNEL=="vtcon1", RUN+="/bin/sh -c '\
        if echo RPi-Sense FB | cmp -s /sys/class/graphics/fb0/name; then \
                echo 0 > /sys$devpath/bind; \
        fi; \
'"

vince

unread,
Jun 24, 2024, 2:41:26 PM (10 days ago) Jun 24
to weewx-user
Mike start with the minimum complexity on this one.   Unplug your device then plug it in, and look at output of 'dmesg' and 'lsusb' to verify which device it detects.

There are some very ancient threads here for FO station craziness with solutions saying unplug and remove/reinsert batteries from the station and the like, but lets see what your USB setup looks like.  Telling us which model station and whether you're using a usb multiport thing or connecting directly to the pi might help too.

mike.t...@noworries.plus.com

unread,
Jun 24, 2024, 3:00:27 PM (10 days ago) Jun 24
to weewx-user
Hi Vince

OK unplugged and re-plugged weather station
It's a Watson 8681 which has been running v4 for 2-3 years having replaced a Maplin both of which are FineOffset
The weather station is plugged directly into one of the usb2 ports, not a usb3 (blue one)
The wifi is also plugged into one of the usb2 ports
Years back I encountered the FO lockup issue, this isn't the same issue as I can sudo weewxd and it runs, hence doesn't appear that the console is locked.

Thanks


_______________________________________
pi@weepi:~ $ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.63-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1496 SMP Wed Dec 1 15:58:56 GMT 2021
[    0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.2
[    0.000000] random: fast init done
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x000000001ac00000, size 320 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] On node 0 totalpages: 504832
[    0.000000]   DMA zone: 1728 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 308224 pages, LIFO batch:63
[    0.000000] percpu: Embedded 20 pages/cpu s50828 r8192 d22900 u81920
[    0.000000] pcpu-alloc: s50828 r8192 d22900 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 503104
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1024x768M@60 smsc95xx.macaddr=DC:A6:32:B3:A2:CB vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=328eb792-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[    0.000000] Kernel parameter elevator= does not have any effect anymore.
               Please use sysfs to set IO scheduler for individual devices.
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x0000000015a00000-0x0000000019a00000] (64MB)
[    0.000000] Memory: 1587372K/2019328K available (10240K kernel code, 1364K rwdata, 3192K rodata, 2048K init, 891K bss, 104276K reserved, 327680K cma-reserved, 1232896K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 34315 entries in 68 pages
[    0.000000] ftrace: allocated 68 pages with 2 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x3c8/0x59c with crng_init=1
[    0.000009] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000036] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000100] bcm2835: system timer (irq = 25)
[    0.000748] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000770] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000792] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000811] Switching to timer-based delay loop, resolution 18ns
[    0.001073] Console: colour dummy device 80x30
[    0.001838] printk: console [tty1] enabled
[    0.001905] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.001960] pid_max: default: 32768 minimum: 301
[    0.002138] LSM: Security Framework initializing
[    0.002339] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002383] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.003879] cgroup: Disabling memory control group subsystem
[    0.004128] CPU: Testing write buffer coherency: ok
[    0.004607] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005845] Setting up static identity map for 0x200000 - 0x20003c
[    0.006061] rcu: Hierarchical SRCU implementation.
[    0.007006] smp: Bringing up secondary CPUs ...
[    0.008248] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.009624] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.011020] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.011181] smp: Brought up 1 node, 4 CPUs
[    0.011228] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[    0.011259] CPU: All CPU(s) started in HYP mode.
[    0.011286] CPU: Virtualization extensions available.
[    0.012166] devtmpfs: initialized
[    0.026500] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[    0.026753] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.026808] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.035088] pinctrl core: initialized pinctrl subsystem
[    0.036204] NET: Registered protocol family 16
[    0.040249] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.041099] audit: initializing netlink subsys (disabled)
[    0.041377] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.041944] thermal_sys: Registered thermal governor 'step_wise'
[    0.042659] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.042714] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.043142] Serial: AMBA PL011 UART driver
[    0.075828] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.090907] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-12-01T15:01:54, variant start
[    0.100922] raspberrypi-firmware soc:firmware: Firmware hash is 71bd3109023a0c8575585ba87cbb374d2eeb038f
[    0.142106] Kprobes globally optimized
[    0.147489] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.151755] vgaarb: loaded
[    0.152221] SCSI subsystem initialized
[    0.152466] usbcore: registered new interface driver usbfs
[    0.152544] usbcore: registered new interface driver hub
[    0.152632] usbcore: registered new device driver usb
[    0.153004] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.154927] clocksource: Switched to clocksource arch_sys_counter
[    1.113767] VFS: Disk quotas dquot_6.6.0
[    1.113889] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.114101] FS-Cache: Loaded
[    1.114329] CacheFiles: Loaded
[    1.115487] simple-framebuffer 3e8c7000.framebuffer: framebuffer at 0x3e8c7000, 0x300000 bytes, mapped to 0x(ptrval)
[    1.115536] simple-framebuffer 3e8c7000.framebuffer: format=a8r8g8b8, mode=1024x768x32, linelength=4096
[    1.119910] Console: switching to colour frame buffer device 128x48
[    1.123801] simple-framebuffer 3e8c7000.framebuffer: fb0: simplefb registered!
[    1.134226] NET: Registered protocol family 2
[    1.134527] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.135908] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.136133] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.136274] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.136414] TCP: Hash tables configured (established 8192 bind 8192)
[    1.136647] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.136751] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.137083] NET: Registered protocol family 1
[    1.137842] RPC: Registered named UNIX socket transport module.
[    1.137920] RPC: Registered udp transport module.
[    1.137983] RPC: Registered tcp transport module.
[    1.139872] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.141743] PCI: CLS 0 bytes, default 64
[    1.146596] Initialise system trusted keyrings
[    1.148685] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    1.158977] zbud: loaded
[    1.163037] FS-Cache: Netfs 'nfs' registered for caching
[    1.165682] NFS: Registering the id_resolver key type
[    1.167532] Key type id_resolver registered
[    1.169336] Key type id_legacy registered
[    1.171207] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.172991] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.175838] Key type asymmetric registered
[    1.177617] Asymmetric key parser 'x509' registered
[    1.179559] bounce: pool size: 64 pages
[    1.181330] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.183329] io scheduler mq-deadline registered
[    1.185157] io scheduler kyber registered
[    1.191486] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    1.193371] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    1.195393] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    1.197329] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x007fffffff -> 0x0400000000
[    1.257035] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[    1.259244] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    1.261045] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.262861] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[    1.264786] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    1.266885] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.272154] PCI: bus0: Fast back to back transfers disabled
[    1.274260] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    1.276172] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    1.278359] pci 0000:01:00.0: PME# supported from D0 D3cold
[    1.283538] PCI: bus1: Fast back to back transfers disabled
[    1.285328] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    1.287054] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    1.288808] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.290485] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    1.292550] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[    1.294441] pcieport 0000:00:00.0: PME: Signaling with IRQ 62
[    1.305059] iproc-rng200 fe104000.rng: hwrng registered
[    1.307028] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.309600] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    1.323657] brd: module loaded
[    1.337928] loop: module loaded
[    1.341418] Loading iSCSI transport class v2.0-870.
[    1.346449] libphy: Fixed MDIO Bus: probed
[    1.349885] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    1.364960] libphy: bcmgenet MII bus: probed
[    1.455073] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    1.457998] usbcore: registered new interface driver r8152
[    1.459765] usbcore: registered new interface driver lan78xx
[    1.461498] usbcore: registered new interface driver smsc95xx
[    1.464790] xhci_hcd 0000:01:00.0: enabling device (0140 -> 0142)
[    1.466660] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.468374] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    1.473343] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000060000000890
[    1.476397] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    1.478113] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.479803] usb usb1: Product: xHCI Host Controller
[    1.481468] usb usb1: Manufacturer: Linux 5.10.63-v7l+ xhci-hcd
[    1.483155] usb usb1: SerialNumber: 0000:01:00.0
[    1.485576] hub 1-0:1.0: USB hub found
[    1.487294] hub 1-0:1.0: 1 port detected
[    1.489575] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.491251] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    1.492934] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    1.495153] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    1.496862] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.498549] usb usb2: Product: xHCI Host Controller
[    1.500188] usb usb2: Manufacturer: Linux 5.10.63-v7l+ xhci-hcd
[    1.501837] usb usb2: SerialNumber: 0000:01:00.0
[    1.504180] hub 2-0:1.0: USB hub found
[    1.505910] hub 2-0:1.0: 4 ports detected
[    1.509254] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.511182] dwc_otg: FIQ enabled
[    1.511197] dwc_otg: NAK holdoff enabled
[    1.511211] dwc_otg: FIQ split-transaction FSM enabled
[    1.511229] Module dwc_common_port init
[    1.511700] usbcore: registered new interface driver uas
[    1.513400] usbcore: registered new interface driver usb-storage
[    1.515432] mousedev: PS/2 mouse device common for all mice
[    1.518702] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.523731] sdhci: Secure Digital Host Controller Interface driver
[    1.525396] sdhci: Copyright(c) Pierre Ossman
[    1.527699] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    1.529979] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.536395] ledtrig-cpu: registered to indicate activity on CPUs
[    1.538358] hid: raw HID events driver (C) Jiri Kosina
[    1.540174] usbcore: registered new interface driver usbhid
[    1.541770] usbhid: USB HID core driver
[    1.549338] Initializing XFRM netlink socket
[    1.550970] NET: Registered protocol family 17
[    1.552674] Key type dns_resolver registered
[    1.554591] Registering SWP/SWPB emulation handler
[    1.556360] registered taskstats version 1
[    1.558028] Loading compiled-in X.509 certificates
[    1.560456] Key type ._fscrypt registered
[    1.562032] Key type .fscrypt registered
[    1.563594] Key type fscrypt-provisioning registered
[    1.576660] uart-pl011 fe201000.serial: there is not valid maps for state default
[    1.578580] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    1.580262] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2
[    1.588620] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    1.591318] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    1.592932] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    1.622429] of_cfs_init
[    1.624304] of_cfs_init: OK
[    1.643472] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.646792] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.650053] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.654632] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.656225] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[    1.658412] Waiting for root device PARTUUID=328eb792-02...
[    1.659683] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.749269] mmc1: new high speed SDIO card at address 0001
[    1.771466] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[    1.773871] mmcblk0: mmc0:aaaa SM32G 29.7 GiB
[    1.775457] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    1.779383]  mmcblk0: p1 p2
[    1.814785] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.816503] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.818931] devtmpfs: mounted
[    1.830488] Freeing unused kernel memory: 2048K
[    1.865272] Run /sbin/init as init process
[    1.866867]   with arguments:
[    1.866882]     /sbin/init
[    1.866896]   with environment:
[    1.866911]     HOME=/
[    1.866925]     TERM=linux
[    1.957681] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    1.959357] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.960997] usb 1-1: Product: USB2.0 Hub
[    1.964966] hub 1-1:1.0: USB hub found
[    1.966846] hub 1-1:1.0: 4 ports detected
[    2.294990] usb 1-1.3: new high-speed USB device number 3 using xhci_hcd
[    2.316507] systemd[1]: System time before build time, advancing clock.
[    2.414139] NET: Registered protocol family 10
[    2.417256] Segment Routing with IPv6
[    2.426980] usb 1-1.3: New USB device found, idVendor=7392, idProduct=7811, bcdDevice= 2.00
[    2.428678] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.430327] usb 1-1.3: Product: 802.11n WLAN Adapter
[    2.431969] usb 1-1.3: Manufacturer: Realtek
[    2.433607] usb 1-1.3: SerialNumber: 00e04c000001
[    2.494178] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    2.499329] systemd[1]: Detected architecture arm.
[    2.535016] usb 1-1.4: new low-speed USB device number 4 using xhci_hcd
[    2.604423] systemd[1]: Set hostname to <weepi>.
[    2.688735] usb 1-1.4: New USB device found, idVendor=1941, idProduct=8021, bcdDevice= 1.00
[    2.690706] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.710885] hid-generic 0003:1941:8021.0001: hiddev96,hidraw0: USB HID v1.00 Device [HID 1941:8021] on usb-0000:01:00.0-1.4/input0
[    3.435958] random: systemd: uninitialized urandom read (16 bytes read)
[    3.453376] random: systemd: uninitialized urandom read (16 bytes read)
[    3.455925] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    3.460951] random: systemd: uninitialized urandom read (16 bytes read)
[    3.465236] systemd[1]: Created slice User and Session Slice.
[    3.469963] systemd[1]: Reached target Slices.
[    3.477330] systemd[1]: Created slice system-getty.slice.
[    3.482504] systemd[1]: Listening on udev Kernel Socket.
[    3.487774] systemd[1]: Listening on Syslog Socket.
[    3.492879] systemd[1]: Listening on Journal Socket (/dev/log).
[    3.664544] i2c /dev entries driver
[    4.196669] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    4.283961] systemd-journald[125]: Received request to flush runtime journal from PID 1
[    4.943271] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000
[    4.943925] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000
[    4.944462] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000
[    4.952320] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000
[    5.025946] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    5.036776] mc: Linux media interface: v0.10
[    5.037229] bcm2835_audio bcm2835_audio: card created with 4 channels
[    5.040582] bcm2835_audio bcm2835_audio: card created with 4 channels
[    5.059203] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    5.061568] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    5.061594] [vc_sm_connected_init]: start
[    5.071092] videodev: Linux video capture interface: v2.00
[    5.074755] [vc_sm_connected_init]: installed successfully
[    5.112081] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.115561] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.132006] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    5.132013] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    5.158596] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    5.158706] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    5.158753] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    5.159495] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    5.159946] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    5.160286] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    5.160542] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    5.160568] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    5.160606] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    5.160629] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    5.170742] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    5.174735] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    5.174783] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    5.188135] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    5.188203] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    5.198071] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[    5.198119] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[    5.265570] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    5.453830] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[    5.466853] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.474542] checking generic (3e8c7000 300000) vs hw (0 ffffffffffffffff)
[    5.474572] fb0: switching to vc4drmfb from simple
[    5.476008] Console: switching to colour dummy device 80x30
[    5.490994] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
[    5.495885] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[    5.556774] vc4-drm gpu: [drm] HDMI-A-1: EDID is invalid:
[    5.556804]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    5.556821]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    5.556836]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    5.556851]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    5.556866]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    5.556882]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    5.556898]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    5.556920]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    5.570187] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    5.625233] brcmfmac: F1 signature read @0x18000000=0x15264345
[    5.647388] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    5.648535] usbcore: registered new interface driver brcmfmac
[    5.701175] Console: switching to colour frame buffer device 128x48
[    5.720135] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device
[    5.905073] rtl8192cu: Chip version 0x10
[    5.914549] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    5.914665] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    5.925502] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan  4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e
[    6.222214] rtl8192cu: Board Type 0
[    6.222486] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[    6.222607] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[    6.222967] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[    6.229421] usbcore: registered new interface driver rtl8192cu
[    8.263615] 8021q: 802.1Q VLAN Support v1.8
[    8.429484] uart-pl011 fe201000.serial: no DMA platform data
[    8.795080] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[    8.818172] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   10.404164] random: crng init done
[   10.404179] random: 7 urandom warning(s) missed due to ratelimiting
[   10.683548] rtl8192cu: MAC auto ON okay!
[   10.717098] rtl8192cu: Tx queue select: 0x05
[   11.487422] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[   11.487918] bcmgenet fd580000.ethernet eth0: Link is Down
[   12.646763] wlan1: authenticate with 74:da:88:1c:f1:52
[   12.671476] wlan1: send auth to 74:da:88:1c:f1:52 (try 1/3)
[   12.683346] wlan1: authenticated
[   12.684978] wlan1: associate with 74:da:88:1c:f1:52 (try 1/3)
[   12.700595] wlan1: RX AssocResp from 74:da:88:1c:f1:52 (capab=0x1011 status=0 aid=6)
[   12.805087] wlan1: associated
[   12.896838] cryptd: max_cpu_qlen set to 1000
[   12.938084] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   14.147091] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.wlan1.retrans_time - use net.ipv6.neigh.wlan1.retrans_time_ms instead
[   15.511073] Bluetooth: Core ver 2.22
[   15.511192] NET: Registered protocol family 31
[   15.511209] Bluetooth: HCI device and connection manager initialized
[   15.511239] Bluetooth: HCI socket layer initialized
[   15.511262] Bluetooth: L2CAP socket layer initialized
[   15.511297] Bluetooth: SCO socket layer initialized
[   15.520866] Bluetooth: HCI UART driver ver 2.3
[   15.520889] Bluetooth: HCI UART protocol H4 registered
[   15.520996] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   15.521326] Bluetooth: HCI UART protocol Broadcom registered
[   15.787690] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   15.891966] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   15.891991] Bluetooth: BNEP filters: protocol multicast
[   15.892019] Bluetooth: BNEP socket layer initialized
[   15.950364] Bluetooth: RFCOMM TTY layer initialized
[   15.950404] Bluetooth: RFCOMM socket layer initialized
[   15.950444] Bluetooth: RFCOMM ver 1.11
[   18.863860] FS-Cache: Netfs 'cifs' registered for caching
[   18.887601] Key type cifs.spnego registered
[   18.887645] Key type cifs.idmap registered
[   18.889543] CIFS: Attempting to mount //192.168.1.65/pi
[   18.889631] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
[ 8701.285275] printk: systemd: 34 output lines suppressed due to ratelimiting
[ 8701.333582] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 8701.333952] systemd[1]: Detected architecture arm.
[ 8701.993338] systemd-journald[125]: Received SIGTERM from PID 1 (systemd).
[ 8701.993404] systemd[1]: Stopping Journal Service...
[ 8701.998089] systemd[1]: systemd-journald.service: Succeeded.
[ 8701.999105] systemd[1]: Stopped Journal Service.
[ 8702.005360] systemd[1]: Starting Journal Service...
[ 8702.044433] systemd[1]: Started Journal Service.
[10481.283632] usb 1-1.4: USB disconnect, device number 4
[10494.070493] usb 1-1.4: new low-speed USB device number 5 using xhci_hcd
[10494.213803] usb 1-1.4: New USB device found, idVendor=1941, idProduct=8021, bcdDevice= 1.00
[10494.213825] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[10494.228279] usbhid 1-1.4:1.0: can't add hid device: -32
[10494.228363] usbhid: probe of 1-1.4:1.0 failed with error -32
[10494.341507] usb 1-1.4: USB disconnect, device number 5
[10494.640528] usb 1-1.4: new low-speed USB device number 6 using xhci_hcd
[10494.783895] usb 1-1.4: New USB device found, idVendor=1941, idProduct=8021, bcdDevice= 1.00
[10494.783916] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[10494.801399] hid-generic 0003:1941:8021.0002: hiddev96,hidraw0: USB HID v1.00 Device [HID 1941:8021] on usb-0000:01:00.0-1.4/input0
pi@weepi:~ $

____________________________________

pi@weepi:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Bus 001 Device 003: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@weepi:~ $

vince

unread,
Jun 24, 2024, 4:24:40 PM (10 days ago) Jun 24
to weewx-user
"Dream Link WH1080 Weather Station / USB Missile Launcher" is either very funny or I fear your weather :-)

This entry made me think a little though - "CIFS: Attempting to mount //192.168.1.65/pi" - is it possible that your 'pi' user does not have privileges to write to the database if it ultimately resolves to there ?    What does /home/pi resolve to ?  I'm guessing a "df -h" will say you're having the pi mount a network share for /home/pi perhaps (????)

I think there have been a few false positives for seemingly device-related permissions that were really related to using network attached storage and the user weewx runs as not having write privileges there.

mike.t...@noworries.plus.com

unread,
Jun 24, 2024, 5:33:08 PM (10 days ago) Jun 24
to weewx-user
I thought you might have cracked it but...
I'm using pi as the weewx user.
I use NAS to backup weewx. The db skins etc are all on the rpi sd card.
I've checked and pi is the owner of the data on the NAS 
pi user can create files on NAS
I thought the virtual environment might prevent pi using the NAS, but no touch a file on the NAS worked
You're tip on the error possibly not pointing to the root cause, I'll follow up on other network possibilities
Thanks

______________________________________________________

pi@weepi:~ $ df -h
Filesystem         Size  Used Avail Use% Mounted on
/dev/root           15G  3.8G  9.9G  28% /
devtmpfs           776M     0  776M   0% /dev
tmpfs              937M     0  937M   0% /dev/shm
tmpfs              937M  8.5M  928M   1% /run
tmpfs              5.0M  4.0K  5.0M   1% /run/lock
tmpfs              937M     0  937M   0% /sys/fs/cgroup
/dev/mmcblk0p1     253M   49M  204M  20% /boot
//192.168.1.65/pi  3.7T  529G  3.1T  15% /mnt/NAS
tmpfs              188M     0  188M   0% /run/user/1000

Graham Eddy

unread,
Jun 24, 2024, 11:22:22 PM (9 days ago) Jun 24
to WeeWX User
from memory, ‘magic error’ numbers pop up mostly with corrupt executables (or wrong processor) and filesys mounts (unsupported format)
⊣GE⊢

Graham Eddy

unread,
Jun 24, 2024, 11:24:17 PM (9 days ago) Jun 24
to WeeWX User
*sigh* .. ‘magic number’ errors ..
⊣GE⊢

mike.t...@noworries.plus.com

unread,
Jun 25, 2024, 2:14:26 PM (9 days ago) Jun 25
to weewx-user
I've decided to revert back to v4 and review logs etc to see if I'm carrying anything across.
Then when I have a bit more time I'll try v5 again either upgrade or clean install 

Reply all
Reply to author
Forward
0 new messages