So it looks like there are three lines:

USB0-IDDET  -- input, detects an OTG cable
USB0-VBUSDET - input, +5 on the connector.
USB0-DRV - output, enable +5 output onto the connector

And I don't see anything in the Cubietruck DTS hooking those GPIOs
into the OTG driver.

So now I wonder what is the state of this, is it a simple fix or a month's work?

On Thu, Oct 9, 2014 at 3:07 PM, [email protected] <[email protected]> wrote:
> USB0-VBUSDET goes into GPIO PH22 on the Cubietruck.
> I wonder that that does? It is marked as input.
>
> My understanding was that plugging an OTG device in would trigger that
> input and signal the system to go into OTG mode.  So how do I set this
> up in a Cubietruck DTS?
>
> On Thu, Oct 9, 2014 at 3:00 PM, Benjamin Henrion <[email protected]> wrote:
>> On Thu, Oct 9, 2014 at 8:49 PM, [email protected] <[email protected]> 
>> wrote:
>>> Has anyone tried USB gadget mode on the A20?
>>>
>>> Any success? Which kernels does it work on?
>>>
>>> I tried it on mainline and the OTG device is not in the device tree,
>>> I'm poking around and trying to figure out how to get it going.
>>
>> On the Ralink RT5350F, I spent quite some time to find out that you
>> had to put a GPIO low in order to get the OTG mode.
>>
>> Maybe it is the same on A20?
>>
>> --
>> Benjamin Henrion <bhenrion at ffii.org>
>> FFII Brussels - +32-484-566109 - +32-2-4148403
>> "In July 2005, after several failed attempts to legalise software
>> patents in Europe, the patent establishment changed its strategy.
>> Instead of explicitly seeking to sanction the patentability of
>> software, they are now seeking to create a central European patent
>> court, which would establish and enforce patentability rules in their
>> favor, without any possibility of correction by competing courts or
>> democratically elected legislators."
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "linux-sunxi" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Jon Smirl
> [email protected]



-- 
Jon Smirl
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to