Realtek USB 2.5 Gbe - Random USB disconnect

I have tried it all and it still does not work. Running a Dell Optiplex 7050 micro

Bash:
# show autosuspend
cat /sys/module/usbcore/parameters/autosuspend
> 2

# show usb devices
lsusb

> Bus 002 Device 002: ID 0bda:8156 Realtek Semiconductor Corp. USB 10/100/1G/2.5G LAN

#show delay
cat /sys/bus/usb/devices/usb2/power/autosuspend_delay_ms
>0

# show grub
cat /etc/default/grub
> GRUB_CMDLINE_LINUX_DEFAULT="quiet usbcore.autosuspend=-1"

SOLVED I was editing the wrong files, because I do not use GRUB.

so I only had to add usbcore.autosuspend=-1 to the file /etc/kernel/cmdline and proxmox-boot-tool refresh and reboot before it worked!
Does anyone know if this still works in PVE 9.1? Did something change? I have an issue with a UPS that constantly connects and disconnects, I am running the same model of UPS on another PVE host running 8.x and this process seemed to work on that, albeit it uses grub to boot rather than UEFI on the newer server?