Re: [BUG] usb: gadget: Kernel oops with UVC USB gadget and configfs

2017-02-14 Thread Laurent Pinchart
Hi Robert, On Monday 13 Feb 2017 20:29:36 Robert Jarzmik wrote: > Petr Cvek writes: > > Dne 12.2.2017 v 13:02 Robert Jarzmik napsal(a): > > That's weird I even removed pxa_set_udc_info() from magician machine init > > and it still fails. Host cable and/or actual camera is not

Re: [BUG] usb: gadget: Kernel oops with UVC USB gadget and configfs

2017-02-13 Thread Robert Jarzmik
Petr Cvek writes: > Dne 12.2.2017 v 13:02 Robert Jarzmik napsal(a): > That's weird I even removed pxa_set_udc_info() from magician machine init and > it still fails. > Host cable and/or actual camera is not required. It fails without them. > > So you binded pxa27x-udc as UDC

Re: [BUG] usb: gadget: Kernel oops with UVC USB gadget and configfs

2017-02-12 Thread Petr Cvek
Dne 12.2.2017 v 13:02 Robert Jarzmik napsal(a): > Petr Cvek writes: > >> Hi >> >> any news? > > Yeah, I don't have the error on my mainstone, which kind of hinders my debug > capability. > > I have tried your script, and this is what I get : > - dmesg | tail > random:

Re: [BUG] usb: gadget: Kernel oops with UVC USB gadget and configfs

2017-02-12 Thread Robert Jarzmik
Petr Cvek writes: > Hi > > any news? Yeah, I don't have the error on my mainstone, which kind of hinders my debug capability. I have tried your script, and this is what I get : - dmesg | tail random: crng init done gadgetfs: USB Gadget filesystem, version 24

Re: [BUG] usb: gadget: Kernel oops with UVC USB gadget and configfs

2017-02-11 Thread Petr Cvek
Hi any news? Petr Dne 4.2.2017 v 23:42 Robert Jarzmik napsal(a): > Petr Cvek writes: > >> Setting the UVC gadget with configfs and then reloading UDC controler driver >> (pxa27x_udc) causes kernel to fail. >> >> UDC subsystem was patched only in decreasing maxpacket size for

Re: [BUG] usb: gadget: Kernel oops with UVC USB gadget and configfs

2017-02-05 Thread Petr Cvek
Dne 4.2.2017 v 23:42 Robert Jarzmik napsal(a): > Petr Cvek writes: > >> Setting the UVC gadget with configfs and then reloading UDC controler driver >> (pxa27x_udc) causes kernel to fail. >> >> UDC subsystem was patched only in decreasing maxpacket size for UVC, addition >> of

Re: [BUG] usb: gadget: Kernel oops with UVC USB gadget and configfs

2017-02-04 Thread Robert Jarzmik
Petr Cvek writes: > Setting the UVC gadget with configfs and then reloading UDC controler driver > (pxa27x_udc) causes kernel to fail. > > UDC subsystem was patched only in decreasing maxpacket size for UVC, addition > of more predefined endpoints for pxa27x_udc and addition of

[BUG] usb: gadget: Kernel oops with UVC USB gadget and configfs

2017-01-24 Thread Petr Cvek
Setting the UVC gadget with configfs and then reloading UDC controler driver (pxa27x_udc) causes kernel to fail. UDC subsystem was patched only in decreasing maxpacket size for UVC, addition of more predefined endpoints for pxa27x_udc and addition of some debugging pr_info. Practically same