EDIT: The information below is quite old, and as such you cannot follow the guide exactly. As of 9.04, my webcam works out of the box, so I see no reason to update it. I will leave it as reference, though.
Originally Posted by
linuxwizard
After doing some searching on your webcam >Bus 006 Device 002: ID 0402:5602 ALi Corp. Video Camera Controller > it is not supported in Linux no driver.
Actually, I got my ALi Corp webcam working, with some help from the place I bought the computer from. Here's how:
1. Make sure you have the ALi Corp webcam installed. Activate it (for me I do so by pressing Fn+F10), then run
I get
Code:
Bus 003 Device 004: ID 0402:5602 ALi Corp. Video Camera Controller
which means I have the correct webcam.
2. Install subversion
Code:
sudo apt-get install subversion
3. Pull the required files via subversion
Code:
svn co https://m560x-driver.svn.sourceforge.net/svnroot/m560x-driver/m560x/branches/m5602-ov9650
EDIT: As it seems they have made an update, I have not tested this version of the driver myself, and cannot answer for whether it works or not. Perhaps a different branch is better for your computer.
This will give you all the different branches, as well as some other stuff, from their subversion repo:
Code:
svn co https://m560x-driver.svn.sourceforge.net/svnroot/m560x-driver
Check out the link at the bottom of this post to find the project page at sourceforge.
4. 5. You need the proper packages so you can compile code
Code:
sudo apt-get install build-essential
Then you can compile by simply running
in the folder you downloaded the files to.
6.
Code:
sudo mkdir /lib/modules/`uname -r`/kernel/drivers/usb/media
sudo cp m5602.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
sudo depmod -a
sudo modprobe m5602
7. The camera should now work. You can try it out with xawtv. If you want it to work with cheese you need to install a script -- go here to download it:
http://sourceforge.net/mailarchive/f...x-driver-devel
It is the .fdi file attached at the top of his post.
Then go to the folder where you downloaded the file and do
Code:
sudo cp 10-m5602-webcam.fdi /usr/share/hal/fdi/information/20thirdparty/
After this, reboot and everything should now work.
I first tried this with the 64-bit version of Ubuntu, and it worked with cheese but not xawtv. There were also some other bugs such as the computer hard freezing when trying to exit one of the programs or trying to add different effects in Cheese, and sometimes it also refused to resume after suspending.
I have just reinstalled Ubuntu (Mint) 32-bit version, and I followed my own guide to activate the cam while writing it. So far everything seems to work smoothly.
More info can be found here:
http://sourceforge.net/projects/m560x-driver
Or at their mailing list:
http://sourceforge.net/mailarchive/f...x-driver-devel
Bookmarks