Re: dwc2 gadget issues

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

 



Hi,

On Thu, Mar 2, 2017 at 6:58 AM, Randy Li <randy.li@xxxxxxxxxxxxxx> 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: 4.10.0.config
Description: XML document


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

  Powered by Linux