Ferenc Tamas Gyurcsan wrote:
Hi everybody,
I looked around on the net, and found out that there is not much for this
webcamera. I also found out that it pretty much s*cks, but I have one now, so
it's a nice challenge:-). Especially, because I don't have an OS on which I
could try it.
So my question is if I wanted to go ahead and start writing a device driver for
this thing, what would be a good documentation to start with? So I guess I'm
asking somebody who has been through this road how they managed to succeed?
I have some knowledge of kernel(s), but this would be my first real device
driver.
You haven't told much about the device. I looked it up on the Web, but I
am not
sure if I saw the camera that you got. If this is a USB camera then I
can give you some pointers,
and you might want to switch to linux-usb-devel mailing list (see
http://www.linux-usb.org/)
In any case, step #0 is to make sure that none of existing drivers work
with this camera.
Check out CPiA and OV511 drivers first. Note that even if the driver
does not recognize
the camera it does not mean that it can not control the chipset. Cameras
have OEM-specific
vendor ID and product ID, and driver uses those to detect the supported
device. You may
need to open the camera to see what's inside - though I'd do it anyway :-)
Dmitri