I have a fully updated Archlinux installation and I use udev to set specific permissions on the device node based on USB bus and port numbers so that I can redirect the ports (and not devices based on product/vendor IDs) to a virtual machine.
This used to work before with the same OS, but after reinstalling, on each reboot the bus number changes and I have to manually adapt the udev rule and VM configuration, only to repeat the process again the next reboot.
Sometimes the bus appears as 3, sometimes as 8 and right now it appeared as 7; I'd rather not set those (insecure) permissions on all USB ports to avoid a security disaster, so how can I sort this out and have persistent USB bus numbers ?