Hello All, Could somebody recommend me what is the standard way to share resources between host and gadget? I have seen at least two implementation: 1. Using suspend/resume: OTG driver resumes or suspends host and device accordingly to otg state (value ID pin for example) 2. Device registration/unregistration: OTG driver registers/unregisters host device accordingly to otg state . What is most preferable way to implement? How should user-space applications handle possibility of switching between host and gadget mode (for example libusb if controller is working as gadget ?) Thanks in advance, Valentin. -- 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