Dipen Patel wrote: > Can anyone help me with this? How my application should detect device > plugout/plugin and SET_CONFIGURATION events? > > Is my current solution of generating input event on SET_CONFIGURATION > call for application to close and reopen device node is Okay? I don't think g_serial should provide an input event.. That doesn't make much sense. Is there no other event delivery mechanism you can use that is already part of the g_serial gadget API? //Peter -- 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