Hello everyone!
I'm trying to connect a usb printer to an openwrt virtual machine. I'm facing a problem where I need to start printer first and then start the virtual machine. If the virtual machine starts before the printer, i needed shutdown and play VM.
In VMs xml, I've added the option <source startupPolicy='optional'> to allow it to start without a usb device.
In this scenario, OpenWRT shows that the usb device is not connected (To make printer visible in the VM, me need to turn off the VM in KVM and then turn it back on, rebooting doesn't help).
How can I solve problem so that printer can be connected to a running VM as a hotplug?
In all scenarios where the printer is passed through or not, OMV in lsusb displays connected printer to its system.
Please do not recommend using CUPS, as I was unable to configure it due to old printer.