Tuesday, June 9, 2009

Microdia Webcam sn9c20x driver for Ubuntu!

Microdia webcam kernel driver project

There is a Microdia project working on an Open Source driver by reverse engeneering (usb sniffing mainly) and some little documentation.
The project has a google group : http://groups.google.com/group/microdia and a launchpad PPA : https://launchpad.net/~nickel62metal/+archive.

You can add:

deb http://ppa.launchpad.net/nickel62metal/ubuntu intrepid main
deb-src http://ppa.launchpad.net/nickel62metal/ubuntu intrepid main

And then install by:
sudo apt-get install microdia-dkms

You can follow the development via git-web : http://repo.or.cz/w/microdia.git

If you want to test the driver (still in development, use at your own risks):

You need to install git first:
sudo apt-get install git-core gitk git-gui git-doc curl

Then clone the "microdia" repository:
git clone http://repo.or.cz/r/microdia.git

Then build the driver:
cd microdia
make

Now load some necessary modules before the microdia driver:
sudo modprobe videodev
sudo modprobe compat-ioctl32

Finally, load the microdia driver (rmmod to unload it):
sudo insmod microdia.ko

You can test the webcam with Ekiga, or mplayer:
mplayer -fps 30 tv://

Do the following so you don't have to insmod everytime you wish to use your webcam after a restart:
sudo cp microdia.ko /lib/modules/`uname -r`/kernel/drivers/media/video/usbvideo/
sudo depmod -a



Keep in mind that the driver name has changed and it is now called sn9c20x.ko

Sunday, January 4, 2009

Problems with Totem Youtube H264 Plugin in Ubuntu?

This forum post really help me fix the problem I was having trying to play Youtube videos with Totem and the Youtube plugin. I needed to download the Totem Youtube H264 plug and a file from this forum post and install that but it worked perfectly afterwards!