Re: otg: sharing resources between host and gadget

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 23, 2012 at 5:51 PM, Valentin Sitdikov <v.sitdikov@xxxxxxxxx> wrote:
> 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?
>
The second one,  the suspend/resume method will give lots of relation
between host and gadget.

msm and chipidea design is an good example.

> 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
--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux