linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* configfs on dwc3: msc enum failed if three functions defined
@ 2019-04-22 13:43 Bin Liu
  2019-04-25 22:44 ` Jack Pham
  0 siblings, 1 reply; 7+ messages in thread
From: Bin Liu @ 2019-04-22 13:43 UTC (permalink / raw)
  To: linux-usb, Felipe Balbi

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

Hi Felipe,

I am having an issue with dwc3 on TI AM57x device, and would like to ask
for your comments.

I use configfs to create a multi-function gadget on dwc3, mass_storage
is the last function, it seems if I create 3 functions, the mass_storage
enumeration will fail on the host. It works fine if only create 2
functions.

The dwc3 tracepoints log shows after all the ep0 transfers for
mass_storage, the very first epXin transfer is not complete - dwc3
programmed the urb, but never generates RX completion event. This also
matches the bus analyzer trace - dwc3 NAKs the very first IN token for
ever.

I use the attached script to create the gadget, The macro FUNCS in the
beginning of the script defines the functions to be created.

Any comments are appreciated.

-Bin.

[-- Attachment #2: usbconfigfs.sh --]
[-- Type: application/x-sh, Size: 4630 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-07-03  6:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-22 13:43 configfs on dwc3: msc enum failed if three functions defined Bin Liu
2019-04-25 22:44 ` Jack Pham
2019-07-02 14:48   ` Bin Liu
2019-07-02 16:51     ` Jack Pham
2019-07-02 17:50       ` Bin Liu
2019-07-02 18:20         ` Bin Liu
2019-07-03  6:12           ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).