Hi, On 04/11/2013 05:41 AM, zhou link wrote:
these days, i run the usbredirserver, which is a test program of usbredir-0.6. udevadmin monitor will receive udev/kernel events when usbredirserver calls usbredirhost_open it seems the usb device removes or adds, how to block the events?
When usbredir opens the device, the kernel driver for the device gets detached and replaced with the generic usbfs driver for userspace access to usb devices, and on closing the device the reverse happens. Driver attach / detach generates udev events, there is nothing usbredir can do to avoid this. If you've specific udev rules which are behaving undesirable with this, the only thing you can do is fix the rules. Regards, Hans _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel