Re: [spice-devel][usbredir] why do usbredirhost_open trigger udev/kernel events ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]