Re: dwc2 gadget issues

Francesco Lavra
2017-03-03T07:43:40Z

[-- Attachment #1: Type: text/plain, Size: 1617 bytes --]

Hi,

On Thu, Mar 2, 2017 at 6:58 AM, Randy Li <randy.li-TNX95d0MmH7DzftRWevZcw@public.gmane.org> wrote:
> You don't need to send me a private mail, I would suggest you CC me next
> time.
>
> On 02/24/2017 03:27 AM, Heiko Stuebner wrote:
>>
>> Hi Francesco,
>>
>> Am Donnerstag, 23. Februar 2017, 19:11:37 CET schrieb Francesco Lavra:
>>>
>>> I'm having trouble getting the RK3288 OTG controller (the one at
>>> ff580000) to work in peripheral mode. I'm using a Firefly Reload board,
>>> and I know the hardware is fine because I can successfully use the port
>>> in device mode with U-Boot's mass storage gadget driver.
>>> Under Linux, the OTG port works fine when used in host mode, but fails
>>> to work in device mode: nothing happens when the a USB host is plugged
>>> into the OTG port, not even a single interrupt is generated by the
>>> controller. I'm using the latest device tree definitions from
>>> git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git.
>>
>>
>> you shouldn't use my tree as base for any real work :-) . Best to use the
>> regular mainline kernel or alternatively try linux-next to get all recent
>> usb
>> changes schedules for the next release.
>>
>>
>>> Tried with different gadget drivers (g_audio, g_ether, g_mass_storage),
>>> but it makes no difference.
>
> I tried g_ether and g_serial, it looks fine for me.

Thanks.
Would you mind sharing the config you used in your kernel, and what
kernel tree you are using?
I'm using the 4.10.0 mainline kernel, with the config in attachment.
Also, what RK3288 board did you try this with?

Regards,
Francesco

> Randy Li
>

[-- Attachment #2: 4.10.0.config --]
[-- Type: application/xml, Size: 122126 bytes --]

[-- Attachment #3: Type: text/plain, Size: 200 bytes --]

_______________________________________________
Linux-rockchip mailing list
Linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org