Friday, April 10, 2009

RUNNING WEBCAM IN UBUNTU

In order to run webcam in linux, we have a GNOME Application : CHEESE

The source package for Cheese in Ubuntu can be downloaded from here
or else it can be installed using commands as :

1. Pop open a terminal and enter the following commands:

sudo apt-get install cheese
Note: You will need the universal repo enabled.

2. You can find cheese in Applications > Graphics > Cheese Webcam booth

n den say cheese :)

9 comments:

  1. Excellent!
    I'll see if it works for me.
    Keep posting, I get to learn a lot. :)
    All the best.

    ReplyDelete
  2. I installed Cheese, but it says no camera. :(

    ReplyDelete
  3. Hey, good work. A very nice start.

    http://nitabhi.wordpress.com

    ReplyDelete
  4. @ Varsha: The following are the ways to test ur camera:
    * Test the camera using a suitable program (see below). If it works, then your camera is one of those directly supported by the kernel. This scenario is uncommon today, but you might get lucky.
    * Use the command " dmesg | more " to see whether the camera was detected during bootup. Should you find a reference to it, then search /lib/modules for the /usb subfolder and see if a loadable kernel module exists for it (you may have make a reasoned guess from among those listed). The exact position of this subfolder varies with the distribution; in Debian, it is /lib/modules/kernel/build/drivers/usb, while in Fedora 7 it is /lib/modules/kernel/kernel/drivers/usb.
    * These days, the most likely possibility is that you have a USB camera. Use lsusb or, if your distribution includes it, the graphical tool v4l2-tool to see a list of USB devices. Locate the camera through its name, a process of elimination, or guesswork, and record the eight-digit number with a colon in the middle in the last column of its listing. This number identifies the vendor and product ID, which you can use to find a possible driver on the Internet. If you are using v4l2-tool, then entering the IDs on the Suggest Driver tab may even give you the name of a suggested driver. Armed with this information, you can search the Internet for the driver, then download and compile it. In some cases, you may have to download dependencies first. For instance, for the Ricoh R5U870 driver, you will have to install a Dynamic Kernel Module Support (DKMS) package as well.

    ReplyDelete
  5. For more information, u can chk out http://www.linux.com/feature/118896

    ReplyDelete
  6. I have gone through the page, but it seem too complex :P

    Ok, I'll try after the exams. It might take time.

    ReplyDelete