Hi, Felipe Balbi writes: > Kai Ruhnau <kai.ruhnau@xxxxxxxxxxxxx> writes: >>> Which peripheral controller is this board using? Is it chipidea? dwc2? >>> dwc3? High Speed or Super Speed? >> >> According to the device tree it's 'fsl,imx6sx-usb' driven by chipidea/ci_hdrc_imx.c >> When connecting to Windows, the dmesg shows: >> configfs-gadget gadget: high-speed config #2: c > > Okay, adding Peter (chipidea maintainer) to the loop here. There are a > few changes on UDC side of chipidea between 4.9 and 5.1: > > Peter, have you seen the problem described before? Findings today: The "Lost carrier" message comes when the 4.9 kernel enters runtime suspend (ci_runtime_suspend). With kernel 4.19, that function is called once during boot with a matching ci_controller_resume when I activate the configfs configuration. After that, the chip does not enter runtime suspend when I pull the USB cable, but does with 4.9. Cheers, Kai