Hi Chen, On Friday 04 May 2012 04:28:53 Chen Peter-B29397 wrote: > > If I supress these 3 lines, enumeration doesn't start until I open > > /dev/video0 from my test app. This looks to be running OK but I don't > > know the collateral effects of this change. Could you take a look at > > this?? > > Should be ok for g_webcam, as the usbcmd.rs will be set after app loads. > But it is not ok for gadget drivers who does not do dp pullup during > the initialization or runtime. > > By the way, how do you fix below error, where you have handled below > Video Class Command? The command is handled by a userspace application. A sample application for such purpose is available at http://git.ideasonboard.org/uvc-gadget.git. > > > <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 -- Regards, Laurent Pinchart -- 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