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

2016-04-01 Thread Pavel Machek
Hi! > >> > Dmesg from the n900 is attached as /tmp/delme.gz. I did _not_ apply > >> > the patch from https://lkml.org/lkml/2016/3/24/670 , yet, as I'm using > >> > devicetree boot. > >> > >> Hmm.. don't see anything strange in the boot log related to USB, > >> I'll try your config > > > > Let me k

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

2016-03-28 Thread Pavel Machek
Hi! > >> >> I managed to boot N900 with working USB gadget (builtin g_ether) > >> >> in boardfile mode, can ping it from PC and transfer data. I don't > >> >> see any issue (except of musb name issue in twl phy driver, I've > >> >> already sent a fix for that: https://lkml.org/lkml/2016/3/24/670 )

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

2016-03-27 Thread Ruslan Bilovol
Hi, On Sun, Mar 27, 2016 at 11:26 PM, Pavel Machek wrote: > Hi! > >> >> I managed to boot N900 with working USB gadget (builtin g_ether) >> >> in boardfile mode, can ping it from PC and transfer data. I don't >> >> see any issue (except of musb name issue in twl phy driver, I've >> >> already sen

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

2016-03-27 Thread Pavel Machek
Hi! > >> I managed to boot N900 with working USB gadget (builtin g_ether) > >> in boardfile mode, can ping it from PC and transfer data. I don't > >> see any issue (except of musb name issue in twl phy driver, I've > >> already sent a fix for that: https://lkml.org/lkml/2016/3/24/670 ) > >> > >> P

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

2016-03-26 Thread Ruslan Bilovol
On Sat, Mar 26, 2016 at 11:32 PM, Ruslan Bilovol wrote: > Hi > > On Fri, Mar 25, 2016 at 11:09 PM, Pavel Machek wrote: >> Hi! >> >>> OK, so at last I finished charging of my N900; found 1.8V USB >>> to UART adapter and soldered it to the phone. >>> >>> I managed to boot N900 with working USB gadg

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

2016-03-26 Thread Ruslan Bilovol
Hi On Fri, Mar 25, 2016 at 11:15 PM, Pavel Machek wrote: > Hi! > >> OK, so at last I finished charging of my N900; found 1.8V USB >> to UART adapter and soldered it to the phone. >> >> I managed to boot N900 with working USB gadget (builtin g_ether) >> in boardfile mode, can ping it from PC and t

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

2016-03-26 Thread Ruslan Bilovol
Hi On Fri, Mar 25, 2016 at 11:09 PM, Pavel Machek wrote: > Hi! > >> OK, so at last I finished charging of my N900; found 1.8V USB >> to UART adapter and soldered it to the phone. >> >> I managed to boot N900 with working USB gadget (builtin g_ether) >> in boardfile mode, can ping it from PC and t

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

2016-03-25 Thread Pavel Machek
Hi! > OK, so at last I finished charging of my N900; found 1.8V USB > to UART adapter and soldered it to the phone. > > I managed to boot N900 with working USB gadget (builtin g_ether) > in boardfile mode, can ping it from PC and transfer data. I don't > see any issue (except of musb name issue i

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

2016-03-25 Thread Pavel Machek
Hi! > OK, so at last I finished charging of my N900; found 1.8V USB > to UART adapter and soldered it to the phone. > > I managed to boot N900 with working USB gadget (builtin g_ether) > in boardfile mode, can ping it from PC and transfer data. I don't > see any issue (except of musb name issue i

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

2016-03-25 Thread Pavel Machek
Hi! > OK, so at last I finished charging of my N900; found 1.8V USB > to UART adapter and soldered it to the phone. > > I managed to boot N900 with working USB gadget (builtin g_ether) > in boardfile mode, can ping it from PC and transfer data. I don't > see any issue (except of musb name issue i

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

2016-03-24 Thread Ruslan Bilovol
OK, so at last I finished charging of my N900; found 1.8V USB to UART adapter and soldered it to the phone. I managed to boot N900 with working USB gadget (builtin g_ether) in boardfile mode, can ping it from PC and transfer data. I don't see any issue (except of musb name issue in twl phy driver,

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

2016-03-23 Thread Ruslan Bilovol
Hi Pavel, I didn't use my N900 for years, it is deeply discharged and can't boot, so I left it connected overnight to the wall adapter to let it get some juice. Meanwhile I looked into sources and still can't understand how it happens. Could you please attach your full .config and also dmesg with

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

2016-03-23 Thread Pavel Machek
On Mon 2016-03-21 12:51:51, Marek Szyprowski wrote: > Hi > > On 2016-03-18 21:20, Pavel Machek 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?) > >Ok, so I could get it to work with v

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

2016-03-21 Thread Marek Szyprowski
Hi On 2016-03-18 21:20, Pavel Machek 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?) Ok, so I could get it to work with v4.5, and this patch. I'm including my config, too. No, I don't think I'm us

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

2016-03-19 Thread Pavel Machek
Hi! USB gadget stops working for me on n900, if I merge usb: gadget: bind UDC by name passed via usb_gadget_driver structure patch. commit 2284b29d3d9dd16490909962574d7f3fef83fd97 Author: Ruslan Bilovol Date: Mon Nov 23 09:56:35 2015 +0100 usb: gadget: bind UDC by name passed via usb_ga

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

2016-03-19 Thread Ruslan Bilovol
Hi Pavel On Thu, Mar 17, 2016 at 11:26 PM, Pavel Machek 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?) > > usb: gadget: bind UDC by name passed via usb_gadget_driver structure > > patch. > > c

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

2016-03-19 Thread Pavel Machek
Hi! > On Thu, Mar 17, 2016 at 11:26 PM, Pavel Machek 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_nok

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

2016-03-19 Thread Pavel Machek
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?) Ok, so I could get it to work with v4.5, and this patch. I'm including my config, too. No, I don't think I'm using g_nokia. Best regards,