RE: iMX25PDK - Problems with USB gadget

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


Hi Peter,

> -----Mensaje original-----
> De: Chen Peter-B29397 [mailto:B29397@xxxxxxxxxxxxx]
> Enviado el: jueves, 03 de mayo de 2012 12:09
> Para: Fernandez Gonzalo; linux-usb@xxxxxxxxxxxxxxx;
> laurent.pinchart@xxxxxxxxxxxxxxxx
> Asunto: RE: iMX25PDK - Problems with USB gadget
> 
> 
> > [fsl_udc_irq]  Packet int
> > [process_ep_req]  dTD transmitted successful
> > [dtd_complete_irq]  status of process_ep_req= 0, ep = 0
> > <composite> => composite_setup_complete
> > [fsl_build_dtd]  length = 0 address= 0x83b81000
> > [fsl_udc_irq]  Packet int
> > [process_ep_req]  dTD transmitted successful
> > [dtd_complete_irq]  status of process_ep_req= 0, ep = 0
> > [fsl_udc_irq]  Packet int
> > <composite> => uvc_function_set_alt
> > g_webcam gadget: uvc_function_set_alt(1, 0)
> > [fsl_build_dtd]  length = 0 address= 0x83b81000
> > [fsl_udc_irq]  Packet int
> > <composite> => composite_setup_complete
> > g_webcam gadget: setup complete --> -108, 0/0
> > g_webcam gadget: non-core control reqa1.87 v0100 i0001 l26
> >  [fsl_udc_irq]  Packet int
> > [fsl_udc_irq]  Packet int
> > g_webcam gadget: non-core control reqa1.81 v0100 i0001 l26
> > root@freescale ~$
> > root@freescale ~$
> > root@freescale ~$
> > root@freescale ~$
> >
> >
> > Any ideas?
> >
> 
> Add maintainer Laurent.
> I have also met this problem when I have tried UVC at Freesacle
> newest SoC i.mx6q. It seems it is not controller driver problem.
> I am not familiar with V4L2, do you have the test app? besides,
> it seems lack of code between real camera driver and UVC driver.
> 

I'm not sure if I understand you correctly. 
First part of the debug output shows only g_webcam and fsl_usb2_udc
binding process. The USB cord is not plugged into my PC. 
As shown by:
[fsl_pullup]:  PULLUP OFF    (this is one of my printks in fsl_udc_core)
enumeration shouldn't start, but as you can see in the second part or
the debug output, as soon as I plug the USB cord into my PC, enumeration
process starts. I'm running _NO_ user-space program, so I'm not worried
about " g_webcam gadget: setup complete --> -108, 0/0" (I'll be worried
about this later, because when running my user-space program I get a
similar problem).

Gonzalo.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


B and H Foto and Electronics Corp.

[Linux Media]     [Video for Linux]     [Linux Input]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]     [More Archives]

Add to Google Powered by Linux