Hi there,
I was wondering what the current state of USB 3.0 support for device mode is for K2E. The latest information I can see is:
- The MCSDK User Guide (see http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Exploring#USB_Driver), which states that only host mode is currently supported, and
- A thread from about this time last year (i.e. March 2014) at http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/328352, which says that device mode will be supported, but that there's no schedule for it.
So I assume the current SDK and kernel that I'm using (at least I think it's current - the kernel is 3.10.61 with a few config changes and some tweaks to a clock driver) won't be able to act as a USB 3.0 device, is this correct? Is there an update on the plan/schedule for this? Should I be making double-sure I'm using a certain/the latest version of the SDK/kernel?
If USB 3.0 device mode isn't supported, what would we have to do to get to a state where our kernel can do this? I'm okay with kernel patching/modification, but I have no experience with USB devices at this level, so I can't really see how to go about this, or what's missing/needs to be done. Any pointers in the right direction would be appreciated!
It certainly doesn't seem to just work out-of-the-box, though it could just be that I'm looking at the wrong thing. What I really want to do is get libusb to talk between the target board and my host PC, but libusb_init() fails with return code -99. I can, however, do "modprobe g_serial" and then I see the contents of /sys/kernel/debug/2690000.dwc3/link_state be "SS.Disabled" when I do not have a USB cable connected between target and host and "U0" when I do, so obviously something's happening, but after that stage I'm fumbling in the dark.
I'm happy to provide any more info that's needed, but to be honest I'm not sure what would be most relevant/helpful. Although if there's absolutely no support for device mode at the moment, I guess that's a moot point...
Thanks for any help,
John G