Hi,

I am currently stuck with pre 2.6.35 kernel on my machine (DM365), but
I would like to test
the uvc gadget code.

I used the patch from september 2009 because it does not need the
v4l2_event code.

How far is it from the "final" patch posted in April/May 2010 ?

Any example code on the gadget side is welcome. I am used to writing
V4L2 apps, but usually as a master when it comes to format setting, and decision
when to start or stop streaming.
Here the application should react to the Host orders, and I guess
it is doable through the event part,
but how does it work ?

Here is my current idea of how it should work.

wait_for_event (using the special event IOCTL or the v4l2_event
mechanism if available)
on connection, or format negotiation
  G_FMT to get resolution and format
  buffer setup
  STREAM_ON
  loop
     select
     read event ???
     QBUF
     DQBUF

Regards,
Jean-Philippe François
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to