dissabte, 19 de gener del 2008

Hercules Webcam Deluxe instal·lada a l'ubuntu!

Hola amics!

Aquest petit tutorial va dedicat sobretot al Roger, que té la mateix webcam que jo, i així la podrà utilitzar en el seu ordinador.

Després d'estar pràcticament desesperat perquè no podia instal·lar la meva webcam Hercules Webcam Deluxe al meu Ubuntu 7.10 i 8.04, ho he aconseguit!

Exactament, i amb menys de dos minuts, seguint aquest tutorial. Amb el text que enganxo a continuació n'hi ha d'haver prou per instal·lar-la, però sinó teniu en aquesta web que us acabo de ficar tota la resta de la documentació. Vinga salut!


Copio i enganxo de la web:

Installation
Get linux headers

Get the linux headers for your system, so that you can compile the drivers once you downloaded them. To do this, open a terminal window (Applications -> Terminal on XUbuntu) and type

sudo apt-get install build-essential linux-headers-`uname -r`

Get the modules

Get the modules for your webcam:

wget http://www.rastageeks.org/downloads/ov51x-jpeg/ov51x-jpeg-1.5.9.tar.gz

(If this results in an error, check the [[WWW] rastageeks ov51x-jpeg directory], maybe you have to download a newer version)

Ensure the drivers landed into a directory you know...
Extract the drivers

Move to the directory where your downloaded drivers are, and extract the source files from the tar files.

tar -xvf ov51x-jpeg-1.5.9.tar.gz

and Change directory to where your sources are:

cd ov51x-jpeg-1.5.9

Prepare the installation files

make


Compile

Compile the modules:

sudo make install

Install

And install them:

sudo depmod -A
sudo modprobe ov51x-jpeg

You should now be able to enjoy images from your webcam.

Nota per els que usen l'skype i veuen una pantalla negra en la webcam:

S'ha d'afegir en el fitxer:
/etc/modprobe.d/options

la següent línia

options ov51x-jpeg forceblock=1


Font: Primera | Segona