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

From: Pavel Machek
Date: Fri Mar 18 2016 - 05:32:34 EST


Hi!

> On Thu, Mar 17, 2016 at 11:26 PM, Pavel Machek <pavel@xxxxxx> 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.

Best regards,
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html