NCS2 UDEV.rule question

hi there I have question on how to migrate a udev rule into openwrt.

the udev rule is:

SUBSYSTEM=="usb", ATTRS{idProduct}=="2150", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idProduct}=="2485", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idProduct}=="f63b", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"

I compiled a device driver and basically works fine. but the problem is . when the VPU is operated it first uploads a firmware to the device. then once that firmware is uploaded. the device is disconnected as high speed device and reconnects as new device super speed and I loose the read/write permissions
Example:

[173865.066899] usb 1-1.2: new high-speed USB device number 18 using xhci_hcd
[174444.479420] usb 1-1.2: USB disconnect, device number 18
[174444.801273] usb 2-1.2: new SuperSpeed Gen 1 USB device number 9 using xhci_hcd
[174457.498452] usb 2-1.2: USB disconnect, device number 9
[174457.662460] usb 2-1: reset SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[174457.851495] usb 1-1.2: new high-speed USB device number 19 using xhci_hcd

it will go from this

crw-rw-rw- 1 root root 189, 18 Jun  6 17:25 /dev/bus/usb/001/019

to

crw------- 1 root root 189, 19 Jun  6 17:47 /dev/bus/usb/001/020

thank you for your time

Hotplug scripts is udev equivalent.
[https://openwrt.org/docs/guide-user/base-system/hotplug]

thank you for the reply_ i wrote a little script for hotplug but it does not seam to work as expected . perhaps some one would be able to help.
it changing the permissions and everything but for some reason the software does not detect the change or looses sight of the device .
the script: ( some parts are there just for debugging to see what going on)

#!/bin/sh

echo "${PRODUCT}" >> /tmp/usb_add
#fi
ncs2_PRODID="3e7/2485/1"

if [ "${PRODUCT}" = "${ncs2_PRODID}" ]; then
    if [ "${ACTION}" = "add" ]; then
# echo "usb added highspeed" >> /tmp/usb_add


          if [ -z ${DEVNAME} ]; then
              echo "transistion" #>> /tmp/usb_add
            else
echo "usb added highspeed" >> /tmp/usb_add
chmod 666 /dev/${DEVNAME}
          echo "/dev/${DEVNAME}" >> /tmp/usb_add
#           echo "setting prmission" >> /tmp/usb_add
         

           fi

#           
    fi
fi

ncs2_PRODID="3e7/f63b/100"

if [ "${PRODUCT}" = "${ncs2_PRODID}" ]; then
    if [ "${ACTION}" = "add" ]; then
# echo "usb added superspeed" >> /tmp/usb_add


          if [ -z ${DEVNAME} ]; then
              echo "transistion" #>> /tmp/usb_add  
            else
chmod 666 /dev/${DEVNAME}
echo "usb added superspeed" >> /tmp/usb_add   
       echo "/dev/${DEVNAME}" >> /tmp/usb_add
 #          echo "setting permission" >> /tmp/usb_add
          
          fi
#           
    fi
fi

it switching the device permission to 666 when the device appears
but is still not seen. it loads the firmware ( 1.1.2-ma2480) but once it switches function goes from highspeed device to superspeed device it not visible. then it fails and reverts back to highspeed device

I: [ncAPI] [    944074] [benchmark_app] ncDeviceOpen:926        ncDeviceOpen() XLinkBootRemote is running for 1.1.2-ma2480...

I: [ncAPI] [    944305] [benchmark_app] ncDeviceOpen:944        ncDeviceOpen() XLinkBootRemote returned success X_LINK_SUCCESS for 1.1.2-ma2480
E: [ncAPI] [    959305] [benchmark_app] ncDeviceOpen:1013       Failed to find booted device after boot
W: [ncAPI] [    959305] [benchmark_app] ncDeviceOpen:1015       Device (1.1.2-ma2480) doesn't disappear after firmware loading
I: [ncAPI] [    959305] [benchmark_app] destroyDeviceHandle:1651        Destroying device handler
I: [ncAPI] [    959305] [benchmark_app] ncDeviceClose:1685      Handle already destroyed
[ ERROR ] Failed to allocate graph: MYRIAD device is not opened.

from the original udev configration

SUBSYSTEM=="usb", ATTRS{idProduct}=="f63b", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"

I am not sure what - ENV{ID_MM_DEVICE_IGNORE}="1" is or does - and how i could integrate it into my script - if that is what i am missing

any help or any suggestions would be appreciated