version: opensuse12.2
kernel version: 3.8.7-2.10-pae
hardware: dell xps m1330
webcam: 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam

my webcam is not getting detected …help me ??

According to Linux UVC driver & tools your 05a9:2640 webcam should be using the UVC video driver. Please, what criteria gives you the assessment that the webcam is not being detected ?

To determine if webcam is being detected please provide the output of :

lsusb -d 05a9:2640

and to confirm that the UVC kernel module (driver) is being loaded, the output of :

lsmod | grep uvc

Those two commands should (1) confirm the webcam is being detected, and (2) the webcam uvc driver is being loaded.

output of lsusb -d is

Bus 007 Device 003: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam

and the driver is not loaded … coz output of lsmod | grep uvc was nothing …

Strange that uvc driver is not loaded, even though webcam is detected. I think we need to look inside a log file to see what is happening. Looking inside ‘dmesg’ is a good place to start. Please type in a konsole / terminal :

dmesg | grep video

My pc’s webcam uses the ‘uvc’ driver and this is what I get:

oldcpu@corei7-920:~> dmesg | grep video
    0.432603] pci 0000:02:00.0: Boot video device
    8.974680] Linux video capture interface: v2.00
    9.231212] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0821)
    9.243885] usbcore: registered new interface driver uvcvideo

here is the output of dmesg | grep video

0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.8.7-2.10-pae root=UUID=18cf046a-01b4-4fbf-9be0-bca24469f7cc video=1280x800 resume=/dev/disk/by-id/ata-SAMSUNG_HM160HI_S14QJD0Q485318-part5 splash=silent quiet showopts
0.623113] pci 0000:00:02.0: Boot video device
4.887179] [Firmware Bug]: Duplicate ACPI video bus devices for the same VGA controller, please try module parameter "video.allow_duplicates=1"if the current driver doesn't work.
8.208251] video LNXVIDEO:01: Restoring backlight state


You have a non-stock kernel. I note vmlinuz-3.8.7-2.10-pae. That kernel version is not an officially supported openSUSE-12.3 kernel. It is the kernel that provides the uvc driver.

My guess is either you built that kernel yourself, or you installed someone else’s kernel. And in both cases the uvc driver is broken for your hardware.

sorry for replying so late … and Yes i built that kernel my self … So what I am suppose to do now ??

Use a stock kernel. Or, if you need a more recent kernel, add this repo: Index of /repositories/Kernel:/stable/standard , and use the kernel packages from that repo.

But I have downloaded it from and What is the definition of a stock kernel?? :frowning:

You installed openSUSE, it came with a kernel, that is what we call the stock kernel. The openSUSE developpers optimize the kernel for openSUSE. All distros do that.
If you insist on compiling the kernel yourself, have a look here