![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
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 |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Nov 2006
Beans: 16
|
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.. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|