Asus notebook webcam on Linux

July 4th, 2008

Only yesterday I finally decided to take the time to try to set up my Asus X20s webcam, and it didn’t take as long as I was expecting!

After searching a little I found the French ubuntu-fr website that had the tutorial.

The webcam in my laptop is a Syntek one which also is inside a bunch of other Asus models.

So, here are the steps that worked for me:

  1. Check the table in the ubuntu-fr website under the section Compabilité to check your model. Mine is a X20s and is NOT on the table so, maybe yours also isn’t, this means the best way is to check the USB Id. Just execute the command:
    $ lsus
    on a terminal and you should see the Ids of your connected USB devices. Check for an Id present in the Compabilité table (first column). Mine was 174f:6a33.
  2. If you ain’t got yet the linux headers, install them by running:
    $ sudo apt-get install linux-headers-`uname -r`
    Also, you’ll need subversion and build-essential (but it is likely that you already have it installed if you’re a developer):
    $ sudo apt-get install build-essential subversion
  3. Now that you’re all set, create a folder (I suggest the name “syntek”) which will contain the driver’s source and checkout the source from the SVN repository:
    $ mkdir syntek
    $ cd syntek
    $ svn co https://syntekdriver.svn.sourceforge.net/
    svnroot/syntekdriver/trunk/driver
    (the last command above are to be considered only one line. It was screwing my website layout :) )
    Warning for non-geeks: You’ll see a bunch of stuff on the console output and be asked to accept something, just enter “t” and you’re done.
  4. Now enter the driver folder and download a special Makefile:
    $ cd driver
    $ wget http://bookeldor-net.info/merdier/Makefile-syntekdriver
  5. Once you get it, compile it and install it:
    $ make -f Makefile-syntekdriver
    $ sudo make -f Makefile-syntekdriver instal
  6. Assuming the compilation and installation were successful, load the module:
    $ sudo modprobe stk11xx
    This might take a little but after it’s done your cam must now be able to fly!
  7. In case you want to check if the system is recognizing the camera now, just use the commands:
    $ dmesg |tail
    $ sudo lsusb -v|grep -A 8 Syntek

    And check the Syntek related output.
    The webcam module will be loaded automatically the next time you restart your system so, no worries.

Now you’re ready for the wonders of your nice webcam! Check Skype options for the Video settings, it should now have found the Syntek driver and give you the “test” option which you can have fun watching your face when you cannot solve that damned bug!

And that’s all folks, hope it was useful. Have fun and let me know if you missed anything or if you find a bug in this tutorial.

Voodoo Envy notebook

June 30th, 2008

Here’s this carbon fiber beauty by Voodoo. I want one of those!!

Enough words, just watch and listen to the guy in the video.

PETA strikes Django HQ

June 23rd, 2008

Here is this amazing story on PETA protests against Python hackers

It is a funny joke but I believe this would be something possible from some PETA’s members deep fundamentalist mind.

“We know what they’re doing in there. They’re hacking pythons. It’s barbaric and we won’t leave until the last snake has been saved.”

How to create a deb package

June 14th, 2008

Here are two nice videos explaining how to do a simple deb package.

This is a great way of getting people to become a MOTU:

No longer in Spain

June 11th, 2008

My Spanish adventure is finished. For academic reasons I had to leave BitRock.

I am already missing that great team with which I learned so much and spent such great moments.

Good luck for everyone in there, you deserve the best!