public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] USB audio and video class gadget drivers
@ 2009-09-18 10:25 Laurent Pinchart
  2009-09-18 10:26 ` [PATCH 1/3] USB gadget: audio class function driver Laurent Pinchart
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Laurent Pinchart @ 2009-09-18 10:25 UTC (permalink / raw)
  To: linux-usb; +Cc: linux-media, Bryan Wu, Mike Frysinger

Hi everybody,

here are two new gadget function drivers for USB audio class and USB video 
class as well as a webcam gadget driver that combines both audio and video. 
All those drivers are work in progress (though not progressing much for the 
moment, as I'm busy with other development) and should probably not be applied 
before (at least) v2, but can still be useful as-is.

The code was developed and tested on TI DM365 hardware using a MUSB 
controller. I unfortunately don't have access to the hardware anymore for the 
time being, but I got an OMAP3-based platform in the meantime. If spare time 
permits I'll test the driver on the OMAP3 platform.

The audio class driver is based on Bryan Wu's work. It requires the "USB 
gadget: Handle endpoint requests at the function level" patch that I've posted 
on the list. Only the microphone use case is supported at the moment. If 
anyone wants to implement speaker support patches are welcome :-)

The video class driver reuses some of the UVC host driver code, mostly for 
video buffers queue management. It currently has its own copy of the code, so 
there's room for improvement there.

If you look closely you will notice that the UVC driver uses the V4L2 device 
node to forward events (connection/disconnection, UVC request arrival, ...) to 
userspace. I will soon post an RFC to the linux-media list to document the 
interface.

The webcam driver combines a UAC microphone (at 16kHz) and a UVC camera (at 
360p and 720p in YUYV and MJPEG).

Comments and ideas are welcome.

-- 
Best regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-09-18 14:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-18 10:25 [PATCH 0/3] USB audio and video class gadget drivers Laurent Pinchart
2009-09-18 10:26 ` [PATCH 1/3] USB gadget: audio class function driver Laurent Pinchart
2009-09-18 14:36   ` Clemens Ladisch
2009-09-18 10:27 ` [PATCH 2/3] USB gadget: video " Laurent Pinchart
2009-09-18 10:28 ` [PATCH 3/3] USB gadget: Webcam Audio/Video device Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox