Adding this issue here as I am having the same issue as described. On a RPi5 my wireless "airmouse" dongle is being recognised until I physically unplug and re-plug the dongle after each reboot. I found updating to the latest 12.2.1 did not help. As a workaround I've arrived at a small system service that resets the USB after boot, and it seems to work. However, it's just a workaround and will restart all usb devices which may cause issues depending on one's setup.
Code
cat > /storage/.config/reset-usb-ports.sh <<'EOF'
> #!/bin/sh
>
> logger "reset-usb-ports: disabling USB ports"
>
> for f in /sys/bus/usb/devices/*:1.0/usb*-port*/disable; do
> [ -w "$f" ] && echo 1 > "$f"
> done
>
> sleep 3
>
> logger "reset-usb-ports: enabling USB ports"
>
> for f in /sys/bus/usb/devices/*:1.0/usb*-port*/disable; do
> [ -w "$f" ] && echo 0 > "$f"
> done
>
> logger "reset-usb-ports: complete"
> EOF
chmod +x /storage/.config/reset-usb-ports.sh
mkdir -p /storage/.config/system.d
cat > /storage/.config/system.d/reset-usb-ports.service <<'EOF'
> [Unit]
> Description=Reset USB ports after boot
> After=multi-user.target
> Before=kodi.service
>
> [Service]
> Type=oneshot
> ExecStart=/bin/sh -c 'sleep 10; /storage/.config/reset-usb-ports.sh'
> RemainAfterExit=yes
>
> [Install]
> WantedBy=multi-user.target
> EOF
systemctl daemon-reload
systemctl enable reset-usb-ports.service
reboot
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 25a7:2402 Areson Technology Corp RFIC-MOUSE
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Display More