On Mon, Apr 19, 2021 at 2:03 AM Thinh Nguyen <Thinh.Nguyen@xxxxxxxxxxxx> wrote: > Ferry Toth wrote: > > Op 17-04-2021 om 16:22 schreef Ferry Toth: > >> Op 17-04-2021 om 04:27 schreef Thinh Nguyen: > >>> Ferry Toth wrote: > >>>> Op 16-04-2021 om 00:23 schreef Thinh Nguyen: > >>>>> Thinh Nguyen wrote: > > On the PC side this resulted to: > > > > apr 17 18:17:44 delfion kernel: usb 1-5: new high-speed USB device > > number 12 using xhci_hcd > > apr 17 18:17:44 delfion kernel: usb 1-5: New USB device found, > > idVendor=1d6b, idProduct=0104, bcdDevice= 1.00 > > apr 17 18:17:44 delfion kernel: usb 1-5: New USB device strings: Mfr=1, > > Product=2, SerialNumber=3 > > apr 17 18:17:44 delfion kernel: usb 1-5: Product: USBArmory Gadget > > apr 17 18:17:44 delfion kernel: usb 1-5: Manufacturer: USBArmory > > apr 17 18:17:44 delfion kernel: usb 1-5: SerialNumber: 0123456789abcdef > > apr 17 18:17:49 delfion kernel: usb 1-5: can't set config #1, error -110 > > > > Thanks for all your help! > > Looks like it's LPM related again. To confirm, try this: > Disable LPM with this property "snps,usb2-gadget-lpm-disable" > (Note that it's not the same as "snps,dis_enblslpm_quirk") > > Make sure that your testing kernel has this patch [1] > 475e8be53d04 ("usb: dwc3: gadget: Check for disabled LPM quirk") Thinh, Ferry, I'm a bit lost in this thread. Can you summarize what patches I have to apply on top of v5.12-rc8 to mitigate issues, mentioned in this thread? (Sounds to me there are like ~5 patches floating around) I'll try to find time to test on my side. > [1] https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/commit/?h=usb-next&id=475e8be53d0496f9bc6159f4abb3ff5f9b90e8de -- With Best Regards, Andy Shevchenko