RE: iMX25PDK - Problems with USB gadget

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

 



 .
> >
> 
> 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).
> 

Get it!
Please print usbcmd after "fsl-usb2-udc: bind to driver g_webcam"
to know if usbcmd.rs is 0 or 1.

According to your log, it should be 1, then add debug log at which set usbcmd.rs
at fsl_udc_core.c.
> 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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux