Quoting sandeep gupta <[EMAIL PROTECTED]>:

> I am working on development of USB Web camera Driver under linux. I have
> to prepare some design documentation for that. And I am facing
> difficulties in terms of "How to proceed" .
> 
> i.e.. What are basic steps to be followed?
> I have searched the net, And have documentation of USB specs. Now How do
> I implement that in real code. 
> 
> If you could provide me some basic guidelines or some sample code OR
> process of implementation followed OR some like mouse/ keyboard driver
> code. So that by seeing that code I will move further with development
> of Web Camera driver development.

This driver will require knowledge (or at least understanding) of both
USB stack and V4L API. Your best bet is to use existing helper library.
Check out usbvideo module in the CVS tree of the linux-usb project at
SourceForge. It consists of a library (usbvideo.*) and three drivers
that use this library (ibmcam, webcamgo, ultracam). These three should
be a good starting point.

Dmitri

-- 
Posession is nine points of the law.

PGP signature

Reply via email to