Wednesday, January 12, 2011

How I got my webcam working in linux

1. Ran lsusb to get the vendor id and product id of the webcam plugged to the USB port. In the results found the line which corresponded to the webcam.
Bus 003 Device 004: ID 093a:2468 Pixart Imaging, Inc. SoC PC-Camera
Noted the vendor id and product id. In the above line, 093a is the vendor id and 2468 is the product id.

2. Now went to the website http://mxhaard.free.fr/spca5xx.html and found the driver corresponding to the vendor id and product id.
In my case it was spca5xx

3. Running sudo aptitude search spca threw up gspca-modules-2.6.26-2-686 which appeared appropriate.
I then installed it. sudo aptitude install gspca-modules-2.6.26-2-686

4. Ran sudo modprobe gspca to load the driver.

5. Checked if the webcam was working using cheese.

3 comments:

  1. Having it work with cheese doesn't do anything useful, unfortunately;
    webcams need to work with Skype, MSN, and Flash-based sites.

    ReplyDelete
  2. Having it work with cheese doesn't do anything useful, unfortunately;
    webcams need to work with Skype, MSN, and Flash-based sites.

    ReplyDelete
  3. Having it work with cheese doesn't do anything useful, unfortunately;
    webcams need to work with Skype, MSN, and Flash-based sites.

    ReplyDelete