Am Sonntag, 3. Mai 2009 14:06:45 schrieb Pantelis Koukousoulas: > > Usb devices have a real struct device whose children are the interfaces. > > You should be able to unbind usbcore from a device through sysfs. > > Yes, but would it be possible to "keep it unbound" for as long as userspace > is holding a specific lock? > > Here is one of the things I 'm trying to achieve: > > 1) Start qemu: > qemu -usbdevice host:auto:3.* > qemu places a "grab" for all ports in this bus. A bus' host controller is a PCI device you can unbind from its driver. Nothing but a hotplug event or a module load would reprobe it. What happens if you unbind a USB device and produce a port statuschange on its parent is a good question. Simply try it, you can trigger it by hand through sysfs. Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html