Re: No carrier lost information with gadget RNDIS/ECM

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

 



> 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.
>
Hi Kai,

Thanks for reporting that.

Do you mean at v4.9, the ci_controller_suspend is called even you plug
in the cable to host? But this does not happen for newer kernel.
Besides, what's your expectation for rndis behaviors for both windows and mac?

Peter



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

  Powered by Linux