?

Log in

No account? Create an account
ltsp, tux, Nepalinux, linux, fossnepalnepbabu wrote
on September 20th, 2008 at 01:06 am

Setting up Logitech quickcam e2500 for linux

Today I bought a Logitech quickcam e2500. The webcam is good looking, slim build and sports a 1.3 mega-pixel photos and a decent 640x480 VGA camera. You can look at the camera here

To get it working for Linux, I used these procedures -


$ lsusb | grep Log
Bus 004 Device 002: ID 046d:089d Logitech, Inc.

So, basically I sat down couple of hours ago to make it work on my Linux box; couple of head banging for not remembering the module parameters and it was finally done. The following are the steps I took to make it work -

1) Downloaded gspca source
* wget http://mxhaard.free.fr/spca50x/Download/gspcav1-20071224.tar.gz
* tar -xvf gspcav1-20071224.tar.gz

2) Downloaded a patch specific to my webcam -
* wget http://forums.quickcamteam.net/attachment.php?aid=86 -O patch.tar.gz
* tar -xvf patch.tar.gz
* cd gspcav1-20071224
* patch -p1 < ../quickcamE2500.diff

3) Compiled and installed the patched kernel module -
* cd gspcav1-20071224;
* make;
* sudo cp gspca.ko /lib/modules/2.6.24-19-generic/ubuntu/media/gspcav1/

4) Reloaded the gspca module with additional parameters -
* sudo modprobe -r gspca;
* sudo modprobe gspca autoexpo=0 gamma=2

5) Installed gstfakevideo for skype since it used 90% of my CPU when video was enabled. More info is available here
* svn checkout http://gstfakevideo.googlecode.com/svn/trunk/ gstfakevideo ('subversion' package must be installed)
* cd gstfakevideo
* make
* sudo make install
* sudo mv /dev/video0 /dev/video1
* ./gstfakevideo v4lsrc device=/dev/video1 ! ffmpegcolorspace (this will fire off skype)

5) Tried each of the following -
* xawtv (worked)
* mplayer tv:// -tv driver=v4l:width=352:height=288:outfmt=yv12:device=/dev/video0 (worked)
* skype (worked after I provided the module parameters "autoexpo=0 gamma=2")
* ekiga (worked)
* cheese ( this didn't work for me )

Note: It will take some time for skype and ekiga to load up the image from the webcam. Be patient :)
Have fun! :)

(Read Comments)

No HTML allowed in subject

 
When you submit the form an invisible reCAPTCHA check will be performed. You must follow the Privacy Policy and Google Terms of use
   
 

Notice! This user has turned on the option that logs your IP address when posting. 

(will be screened)