How to Install Hercules Classic Silver Webcam in Ubuntu 8.10

 How to Install Hercules Classic Silver Webcam in Ubuntu 8.10

 How to Install Hercules Classic Silver Webcam in Ubuntu 8.10

This tutorial will explain you how to Install Hercules Classic Silver Webcam in Ubuntu.This how-to assumes that you have not previously tried to load the gspca from source. If you have, you will need to clean up all the drivers that were installed previously.

For starters, you will know you have this webcam if, when you run the command:

$lsusb | grep 06f8:3004

You get:

Bus 001 Device 003: ID 06f8:3004 Guillemot Corp.

Since we will be build from source, we need to make sure we have all the tools:

$ sudo aptitude install build-essential

First we need to have a place to download and keep the source code. In this case we create a directory /opt/src for this, but you can just as easily use another location

$ sudo mkdir /opt/src

$ sudo chmod 777 /opt/src

$ cd /opt/src

The gspca source lives in the v4l-dvb project. This project uses Mercurial to allow for easy updating of source. So let’s install Mercurial

$ sudo aptitude install mercurial

Using mercurial, download the most recent version of v4l-dvb:

$ hg clone http://linuxtv.org/hg/v4l-dvb

This will actively pull all the most recent source code for this project into a newly created directory called v4l-dvb. If you ever need to update the source just go to that directory and type

$ hg pull -u http://linuxtv.org/hg/v4l-dvb

Before we compile, we need to clean up any gspca stuff already on the system from the original install of 8.10. The drivers live in the specific folders for your kernel under /lib/modules. You can identify your kernel by

$ uname -r

and locate the /kernel/drivers/media/video/gspca folder. Or, you can use the below command to quickly remove them

$ sudo rm -r /lib/modules/`uname -r`/kernel/drivers/media/video/gspca

There are some modules we need to make sure are not loaded as well before compiling

$ sudo rmmod videodev

Check to see if any gspca modules are currently loaded

$ lsmod | grep gspca

If any are found, remove them by name:

$ sudo rmmod (name of mod here)

Now we are ready to compile. Go into the v4l-dvb directory

$ cd v4l-dvb

And compile:

$ make

This will take about 10 mins or so and will compile all the v4l drivers including TV capture card drivers and other stuff. I’m sure there’s a way to only compile what we need, but I’m not smart enough to figure it out.

Once it’s done compiling, install it with

$ sudo make install

Restart your system using the following command

$ sudo reboot

Once it reboots, your camera should be recognized. Run:

$ dmesg

and look for something like:

gspca: main v2.4.0 registered
gspca: probing 06f8:3004
sonixj: Sonix chip id: 11
spca: probe ok
gspca: probing 06f8:3004
gspca: probing 06f8:3004
usbcore: registered new interface driver sonixj
sonixj: registered

If you tried to use Skype, You may got very colorful static instead of a picture of Yours Truly. Starting Skype with:

$ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

fixed it.

A way to start Skype from the menu instead of command line using the following procedure

$ sudo gedit /usr/local/bin/skype

and paste the following two lines into the new file

#!/bin/bash
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype

save, then make it executable

$ sudo chmod a+x /usr/local/bin/skype

That’s it!

 How to Install Hercules Classic Silver Webcam in Ubuntu 8.10  How to Install Hercules Classic Silver Webcam in Ubuntu 8.10  How to Install Hercules Classic Silver Webcam in Ubuntu 8.10  How to Install Hercules Classic Silver Webcam in Ubuntu 8.10  How to Install Hercules Classic Silver Webcam in Ubuntu 8.10  How to Install Hercules Classic Silver Webcam in Ubuntu 8.10  How to Install Hercules Classic Silver Webcam in Ubuntu 8.10  How to Install Hercules Classic Silver Webcam in Ubuntu 8.10  How to Install Hercules Classic Silver Webcam in Ubuntu 8.10
    Related PostsHow to Install Microsoft Office 2007 on Ubuntu Intrepid...Howto install Nvidia 185.18.36 drivers in Ubuntu (64 bit)...

Related posts brought to you by Yet Another Related Posts Plugin.


Leave a Reply