Re: usb: gadget breakage on N900: bind UDC by name passed via usb_gadget_driver structure

Pavel Machek
2016-03-18T09:32:32Z

Hi!

> On Thu, Mar 17, 2016 at 11:26 PM, Pavel Machek <pavel@ucw.cz> wrote:
> > Hi!
> >
> > USB gadget stops working for me on n900, if I merge
>
> Could you please give us more details?
> Which gadget driver do you use (g_nokia?)

It seems I mis-merged the stuff. Hold on, I'm debugging it some more.

Not g_nokia:

CONFIG_USB_LIBCOMPOSITE=y
CONFIG_USB_U_ETHER=y
CONFIG_USB_F_ECM=y
CONFIG_USB_F_SUBSET=y

> > (I have patch in my tree to make USB gadget work when it is not
> > modular).
>
> So this can be reproduced only on builtin gadget, right?
>
> BTW, I have N900 and can try to play with it this weekend if you'll
> give us more details.

Thanks! Let me try to debug it, then I'll post .config.