2010/5/16 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>: > On Sat, 15 May 2010, Ming Lei wrote: > > To tell the truth, I don't remember! All I can recall is that > usb_set_configuration is a "softer" way of unbinding drivers than > usb_remove_device, because the unbind takes place while the port is > still enabled and so the driver has a chance to send any final commands > (such as SYNCHRONIZE CACHE) to the device. I see. Also, usb_set_configuration(-1) may let device enter into un-configurated state at least, but usb_remove_device only can't do that. Thanks, -- 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