Wednesday, February 18, 2009

Updating the PS3 Eye driver

This week kaswy released a new version of his driver (V0.3) and there also was a new kernel release for Ubuntu. Some of you might want to update, but also want to keep a working driver, that is the purpose of this post.

Let's get started, go ahead and install the new Linux kernel using your favourite update manager (e.g. apt-get or Synaptic Package Manager). Reboot your computer after the update to make sure the new kernel is loaded (save the URL to this page so you can follow the rest of the instructions!).

At this point, you probably don't have a working driver, we're going to fix that. Get the latest version of kaswy's modified driver and extract it to a directory, e.g. ~/src/gspca-ps3eyeMT. It's important that you do not have a build of the old source code present in the directory you extract the source code to, you can prevent that by moving the destination folder to a backup location first if it already exists.

We need to verify the source will compile for the current kernel, in my case 2.6.27-12-generic. You can check your version with:
$ uname -r
At the time of writing, the source is set to compile for 2.6.27-11-generic, which is not what we want, as this will not work for our situation. But luckily this is easily resolved! Open the hidden config file ~/src/gspca-ps3eyeMT/v4l/.version and inspect it's content:
VERSION=2
PATCHLEVEL:=6
SUBLEVEL:=27
KERNELRELEASE:=2.6.27-11-generic
As you can see, the variable KERNELRELEASE does not match our kernel release. Edit the line to match your kernel and save it. Now we are ready to compile the binaries for the new kernel. Execute the following commands:
$ cd ~/src/gspca-ps3eyeMT
$ make
$ sudo make install
$ sudo modprobe gspca_ov534 videomode=04
Your driver should now be installed and loaded!

Side note: I learned about editing the hidden config file from an explanation from vw_kubel.

15 comments:

  1. The Tennessee Titan Flag is viewable from both sides with the opposite side being a reverse image.Fly your Tennessee Titan Flag with our tailgate pole or 6' aluminum flagpole and adjustable flag bracket.sports flags,
    nfl flags wholesale,
    house divided flags,Panthers stars and stripes flags

    ReplyDelete
  2. Nike è diventato AS kit fornitore di Roma nel 2014, un anno dopo che il club aveva separato i sensi con sponsor precedente Kappa. Nella stagione 2013-14, Roma notoriamente sfoggiava kit non di marca. Una costante da allora è la mancanza di uno sponsor camicia, e nulla ha indicato finora che questo cambierà nella stagione 2016-17.magliette calcio
    maglie calcio 2017,
    maglie calcio poco prezzo, Maglia inter milan outlet

    ReplyDelete
  3. This blog is so nice to me. I will continue to come here again and again. Visit my link as well. Good luck
    http://www.jualobataborsiherbal.com/ obat aborsi
    http://caramenggugurkankandungan.info/ cara menggugurkan kandungan
    http://www.jualobataborsiherbal.com/cara-menggugurkan-kandungan/ cara menggugurkan kandungan
    http://jualobatpenggugurkandungan.net/ obat penggugur kandungan
    http://tandatandakehamilan.net/ tanda tanda kehamilan
    http://tandatandakehamilan.net/cara-cepat-dan-selamat-menggugurkan-kandungan/ cara menggugurkan kandungan
    http://obataborsi59.com/ obat aborsi
    http://obataborsi59.com/cara-menggugurkan-kandungan-dengan-cepat-dan-aman/ cara menggugurkan kandungan
    http://obattelatdatangbulan.info/ obat telat datang bulan

    ReplyDelete