Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Multimedia & Video
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Multimedia & Video
Have multimedia question? ATI, Nvidia, Sound cards. Just ask here.

 
Thread Tools Display Modes
Old November 20th, 2006   #1
binselam
5 Cups of Ubuntu
 
Join Date: Nov 2006
Beans: 16
Smile [How to] Logitech Quickcam IM/Connect webcam on Kubuntu 6.10 (Edgy Eft)

I have been trying to install Logitech Quickcam IM/Connect webcam on Kubuntu 6.10 (Edgy Eft). So, I have searched the ubuntuforms and how-to's. Although, what I have found in both sites was very helpful, but it was not specific to my webcam and step by step approach. I wanted to contribute to community by posting this.

I followed the ubuntu-community`s Spca5xx documentations and Yoriko post with little modifications.

It worked for me. I hope this helps you.



STEP 1: First, I have used lsusb to find out:
1) Vendor Id and Product ID
2) to see do I have usb support, and check the driver files for device support. The supportted device list is available at the Michael Xhaard's homepage ("http://mxhaard.free.fr/ ").

This list shows the lsusb result.
Bus 001 Device 005: ID 046d:08d9 Logitech, Inc.
Bus 001 Device 003: ID 045e:0039 Microsoft Corp. IntelliMouse Optical


STEP 2: Download latest Spca5xx source code to your home directory from Michael Xhaard's homepage. At the time of writing this installation guide, the latest source code version was spca5xx-20060501.
NOTE: There might be a newer version of the driver by the time you install. Please check the web page :" http://mxhaard.free.fr/ ".
Latest driver is:gspcav1-20070508.tar.gz (swejuggalo indicated that works fine on Ubuntu 7.04). Make sure you substitue correct driver name in the following steps, if you use a different driver.
(You can see the instructions for the new driver in following post: http://ubuntuforums.org/showthread.p...09418#poststop).

cd ~
wget http://mxhaard.free.fr/spca50x/Downl...01.orig.tar.gz



STEP 3: Become root. To do that, you need to open a terminal window and enter following command(Please enter user password when it is prompted. In each terminal window, you just need to enter sudo
command and password once (for the first time).

sudo -s
Password:########

Note: Prompt should change to: root@yourmachine:


STEP 4: Download the necessary packages. The following packages are needed from the Ubuntu repositories for compiling.
1. linux-headers-`uname -r`
2. linux-restricted-modules-`uname -r`
3. build-essential


uname -r
Identifies the version of running kernel. Exp: 2.6.17-10-generic

apt-get install linux-headers-`uname -r` linux-restricted-modules-`uname -r` build-essential


STEP 5: Compile the spca5xx source code. The linux stuff (drivers/programs) is installed under /usr/src. The downloaded driver files need to be placed to proper directory under linux. So, please type following commands to change directory, move downloaded source files, unpack the source files and change into directory. (NOTE: This step assumes you downloaded the driver file to your home directory.)

cd /usr/src
mv ~/spca5xx-220060501.orig.tar.gz .
tar xfvz spca5xx-20060501.orig.tar.gz
cd spca5xx- 20060501



STEP 6: Set the environment variable CC for spac5xx Makefile. In my case, Ubuntu Edgy Eft uses gcc 4.1 as kernel compiler. (NOTE: your system might use gcc-4.0. if you use version gcc4.0, you need to modify the command as "export CC=gcc-4.0" So, please make sure of your compiler version.)

export CC=gcc-4.1


STEP 7: Set a link back to source code(headers).

ln -s /usr/src/linux-headers-`uname -r` /lib/modules/`uname -r`/build

STEP 8: Now, we need to compile spca5xx source code, remove the old driver(from memory and hard drive), install the new driver and load the new driver. Please enter the following commands in the order given.

make
modprobe -r spca5xx
rm -rf /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx*
make install
modprobe spca5xx


If everything went accordingly, there should be no error messages. When you type dmesg, you should get something like shown above.

[17191980.272000] usbcore: deregistering driver spca5xx
[17191980.276000] drivers/media/video/spca5xx/spca5xx-main.c: driver spca5xx deregistered
[17192035.756000] Linux video capture interface: v1.00
[17192035.768000] /usr/src/spca5xx-20060501/drivers/usb/spca5xx.c: USB SPCA5XX camera found. Logitech QC IM/Connect
[17192035.768000] /usr/src/spca5xx-20060501/drivers/usb/spca5xx.c: [spca5xx_probe:5480] Camera type JPEG
[17192036.860000] /usr/src/spca5xx-20060501/drivers/usb/zc3xx.h: [zc3xx_config:558] Find Sensor HV7131R(c)
[17192036.872000] /usr/src/spca5xx-20060501/drivers/usb/spca5xx.c: [spca5xx_getcapability:1765] maxw 640 maxh 480 minw 176 minh 144
[17192036.872000] usbcore: registered new driver spca5xx
[17192036.872000] /usr/src/spca5xx-20060501/drivers/usb/spca5xx.c: spca5xx driver 00.60.00 registered
root@eagel:/usr/src/spca5xx-20060501#


GOOD LUCK!

Last edited by binselam; May 10th, 2007 at 06:09 PM..
binselam is offline   Reply With Quote
Old November 27th, 2006   #2
StratosL
5 Cups of Ubuntu
 
Join Date: Nov 2005
Location: Athens, Greece
Beans: 44
Re: [How to] Logitech Quickcam IM/Connect webcam on Kubuntu 6.10 (Edgy Eft)

Fantastic! Thanks! I was just about to give up!!! Works great...
StratosL is offline   Reply With Quote
Old November 30th, 2006   #3
binselam
5 Cups of Ubuntu
 
Join Date: Nov 2006
Beans: 16
Re: [How to] Logitech Quickcam IM/Connect webcam on Kubuntu 6.10 (Edgy Eft)

I am glad to here that.
binselam is offline   Reply With Quote
Old December 14th, 2006   #4
ickleangel
First Cup of Ubuntu
 
Join Date: Jul 2006
Beans: 5
Re: [How to] Logitech Quickcam IM/Connect webcam on Kubuntu 6.10 (Edgy Eft)

Thank you so much, i have finally got my camera working under ubuntu 6.10 edgy eft.

you are a hero!


ike,

Last edited by ickleangel; December 15th, 2006 at 05:10 AM..
ickleangel is offline   Reply With Quote
Old December 20th, 2006   #5
cjbrooker
First Cup of Ubuntu
 
Join Date: Jul 2006
Location: Bristol, UK
Beans: 4
Ubuntu 6.06 Dapper
Re: [How to] Logitech Quickcam IM/Connect webcam on Kubuntu 6.10 (Edgy Eft)

This also worked for me in Dapper Drake (6.06 LTS).

All I changed was the 'export CC=gcc-4.1' to 'export CC=gcc'. Other than that I followed your instructions exactly, including the dmesg command.

Thank you very much!
cjbrooker is offline   Reply With Quote
Old December 22nd, 2006   #6
jstad
5 Cups of Ubuntu
 
jstad's Avatar
 
Join Date: Apr 2006
Beans: 24
Ubuntu 6.10 Edgy
Send a message via AIM to jstad Send a message via MSN to jstad
Re: [How to] Logitech Quickcam IM/Connect webcam on Kubuntu 6.10 (Edgy Eft)

I dont see where to set export gcc-4.1 in the MakeFile. Im an idiot, any help!?
__________________
"Can't blame me for trying."
jstad is offline   Reply With Quote
Old December 23rd, 2006   #7
StratosL
5 Cups of Ubuntu
 
Join Date: Nov 2005
Location: Athens, Greece
Beans: 44
Re: [How to] Logitech Quickcam IM/Connect webcam on Kubuntu 6.10 (Edgy Eft)

Just in case you have not figured it out yet, you write that as a command in the terminal, you don't write it in any file
StratosL is offline   Reply With Quote
Old December 23rd, 2006   #8
StratosL
5 Cups of Ubuntu
 
Join Date: Nov 2005
Location: Athens, Greece
Beans: 44
Re: [How to] Logitech Quickcam IM/Connect webcam on Kubuntu 6.10 (Edgy Eft)

Having compiled kernel 2.6.19.1, I found myself without a camera again.

Looking around, I found this fantastic site, which provides a new kernel module. Check it out:

http://mxhaard.free.fr/index.html

StratosJL
StratosL is offline   Reply With Quote
Old January 3rd, 2007   #9
gu014
Just Give Me the Beans!
 
Join Date: Jun 2006
Beans: 66
Re: [How to] Logitech Quickcam IM/Connect webcam on Kubuntu 6.10 (Edgy Eft)

Hello,

Can someone please provide the model number for this Logitech Quickcam IM/Connect as i would like to purchase the exact model. Any help would be appreciated. Thank you.
gu014 is offline   Reply With Quote
Old January 3rd, 2007   #10
dvarsam
Grande Half-n-Half Cinnamon Ubuntu
 
dvarsam's Avatar
 
Join Date: Feb 2006
Location: Greece
Beans: 893
Ubuntu 8.10 Intrepid Ibex
Re: [How to] Logitech Quickcam IM/Connect webcam on Kubuntu 6.10 (Edgy Eft)

Quote:
Originally Posted by gu014 View Post
Can someone please provide the model number for this Logitech Quickcam IM/Connect as I would like to purchase the exact model.
And please provide a snapshot of it too!
Cause other people might be interested - including me!
Thanks.
__________________
Moderation is very strong in these Forums.
Soon you will find yourself not being able to create any posts.
As a result, you will be "forced" to request a "delete my account."
dvarsam is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:27 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry