Sony TZ21 Webcam (VGP-VCC7) in Ubuntu
There is a kernel module for this webcam called r5u870, however a new project is producing a purely user space implementation. The website for both is: http://www.arakhne.org/ricoh/
The instructions to install the newer driver from the r5u87x () driver package’s README file:
$ sudo apt-get install libglib2.0-dev libusb-dev build-essential gcc automake mercurial
$ hg clone http://bitbucket.org/ahixon/r5u87x/
$ cd r5u87x
$ make
$ sudo make install
$ sudo r5u87x-loader --reload
If your camera appears to be playing up, you can try forcefully resetting it:
$ sudo r5u87x-loader --force-clear
Now, the loader will automatically be run on boot when it detects your webcam. Alas, there are some bugs, and my device has some kind of ghosting issue which shows two of me!