Sonix SN9C102 based webcam driver.

Anyone good at deciphering images welcome...

NOTE: there is now a linux driver for this camera - this information if of historical interest only. DONT email me about it without good reason.

Recently I bought a webcam, under the mistaken impression it had support under linux. It turns out it didnt, and so I set about reverse engineering it. I have made some progress, in fact, I can actually get the camera to stream data to me.

What I put up here, although perhaps useful, is far from a driver. It is some *highly* experimental code, which basically replays the data from a capture of a session using the camera on Win98 with a USB sniffer. However, it does contain all the basics. its clear to see how the i2c support works, so it should be trivial to capture session data from windows for similar cameras to my own, and discover the commands sent to the CCD chip (i2c bus).

Here is the code, including a nasty gtk2 application I hacked up to help me visualise the data

Download
My code sn9c102.tar.bz2
The sn9c102 datasheet (very skimpy)
A datasheet for the sensor in my camera