2010/9/28 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>: > On Tue, 28 Sep 2010, Alan Stern wrote: > >> Your diagnosis looks right, but your solution is wrong. The problem is Maybe my solution is not wrong, but it is not better with yours, :-) So, please ignore the 1st post of mine. >> that the endpoints need to be disabled reliably when a configuration is >> changed, even though unbinding an interface can cause its endpoints to >> be re-enabled. This really has nothing to do with authorization. We can think udev->authorized means intf->unregistering. In fact, I should have replaced the check for udev->authorized with intf->unregistering, then my patch and your 1st patch is very similar. > > This new patch is a safer way of accomplishing the same thing. It has > the advantage of not disabling endpoints while drivers are still using > them. This one is a elegant solution, also test OK in my machine. -- Lei Ming -- 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