On Thu, Oct 9, 2014 at 3:21 PM, Siarhei Siamashka <[email protected]> wrote: > On Thu, 9 Oct 2014 15:07:43 -0400 > "[email protected]" <[email protected]> wrote: > >> 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? >> >> 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? > > There is no MUSB support for sunxi in the mainline kernel yet. Check > http://lists.infradead.org/pipermail/linux-arm-kernel/2014-May/253463.html > and the Chen-Yu Tsai's wip branch: > https://github.com/wens/linux/tree/wip/sunxi-musb > > I've got a couple of Allwiner tablets a week ago, so MUSB has also > become my problem since then (because there is not other USB > connectivity). Let's see what can be done.
I don't care about having it toggle between host and device mode. Is there a simple way to force it to always go into device mode? > > -- > Best regards, > Siarhei Siamashka -- 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.
