Hi everybody, Here's a new version of the UVC gadget driver, rebased on 2.6.34-rc6. There has been no comment so far, so I'll assume that either the code is perfect or (most probably) people are busy doing something else. In either case, this adds a new driver to the kernel without disturbing anything else, so it should be safe to merge. The driver depends on the new V4L2 events API that will be available in 2.6.34 (the code is already available in the v4l-dvb tree on linuxtv.org and should be pushed to git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-next.git very soon). I've tested the driver after backporting it to a 2.6.28 kernel, as that's all my current test hardware runs at the moment. The previous version has been tested on a beagle board with 2.6.33, but the performances were limited by the lack of proper DMA support for the MUSB controller in the linux-omap kernel. I'd like the UVC function driver to make it to 2.6.35 if possible. The webcam gadget driver is mostly for example purpose, and doesn't need to be merged if there's any concern with it. Laurent Pinchart (2): USB gadget: video class function driver USB gadget: Webcam device drivers/usb/gadget/Kconfig | 9 +- drivers/usb/gadget/Makefile | 2 + drivers/usb/gadget/f_uvc.c | 661 ++++++++++++++++++++++++++++++++++++++++ drivers/usb/gadget/f_uvc.h | 376 +++++++++++++++++++++++ drivers/usb/gadget/uvc.h | 241 +++++++++++++++ drivers/usb/gadget/uvc_queue.c | 583 +++++++++++++++++++++++++++++++++++ drivers/usb/gadget/uvc_queue.h | 89 ++++++ drivers/usb/gadget/uvc_v4l2.c | 374 +++++++++++++++++++++++ drivers/usb/gadget/uvc_video.c | 386 +++++++++++++++++++++++ drivers/usb/gadget/webcam.c | 399 ++++++++++++++++++++++++ 10 files changed, 3119 insertions(+), 1 deletions(-) create mode 100644 drivers/usb/gadget/f_uvc.c create mode 100644 drivers/usb/gadget/f_uvc.h create mode 100644 drivers/usb/gadget/uvc.h create mode 100644 drivers/usb/gadget/uvc_queue.c create mode 100644 drivers/usb/gadget/uvc_queue.h create mode 100644 drivers/usb/gadget/uvc_v4l2.c create mode 100644 drivers/usb/gadget/uvc_video.c create mode 100644 drivers/usb/gadget/webcam.c -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html