Re: otg: sharing resources between host and gadget

2012-07-23 Thread Valentin Sitdikov
emulated with only roothub on it but not taking control over the bus ? Or suspend/resume should not be used for the otg ? On Mon, Jul 23, 2012 at 2:17 PM, Peter Stuge wrote: > Valentin Sitdikov wrote: >> How should user-space applications handle possibility of switching >> between

otg: sharing resources between host and gadget

2012-07-23 Thread Valentin Sitdikov
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/u