On Wed, 4 Nov 2009, Oliver Neukum wrote: > > If power is turned off, there's nothing we can do about it. Once that > > happens, it doesn't make much difference whether the mode switch occurs > > in usb-storage or from a userspace program. The old device instance > > will go away and a new one will appear. > > That is what happens and what must happen if we switch mode in user space. > In kernel space, the kernel could repeat the mode switch. How? Doesn't the mode switch cause a change in the configuration, interface, or endpoint descriptors? The end result would be the same -- the old device instance would go away and a new one would appear. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html