Webcam

Hi all,

I have recently installed openSUSE 11.0/kde 3.5.9 on my Dell Inspiron 1420 notebook. Everything is working fine, except the webcam. The webcam is performing with mplayer konsole command, but it is not detected in kopete or skype.

I have the Laptop Integrated webcam (Omnivision) 05a9:2640
The latest version of uvcvideo (uvcvideo-kmp-default-r200_2.6.25.5_1.1-2.2)is installed.

I think the problem may be related to the following dmesg output:
**uvcvideo: Found UVC 1.00 device Laptop Integrated Webcam (05a9:2640)
uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -32 (exp. 26).
uvcvideo: Failed to query (129) UVC control 1 (unit 0) : -32 (exp. 26).
uvcvideo: Failed to initialize the device (-5).
usbcore: registered new interface driver uvcvideo
usbcore: registered new interface driver hiddev
**

Moreover, i do not have any /dev/video or /dev/video0

Can anybody help me please?

I am in a similar boat. I have a Creative webcam which is listed in the HCL, and the latest webcam driver for it. It worked fine two weeks ago under 10.3 32 bit, but under 11.0 32 bit it cannot be found.

My lsusb output:
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 041e:401f Creative Technology, Ltd Webcam Notebook
Bus 003 Device 002: ID 091e:0003 Garmin International GPSmap (various models)
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

(NOTE: the GPS also suddenly stopped working when I went from 10.3 to 11.0 as well, but much of this seems to be related to permissions on USB entries in /dev which I fixed by putting them in a “usb” group and giving the group r+w permission and putting myself and root into that group. I still cannot get gpsd to work with it, but now Viking and QLandkarte do work.)

From dmesg | grep usb:
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usb usb1: configuration #1 chosen from 1 choice
sda:<6>usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: UHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.25.11-0.1-default uhci_hcd
usb usb1: SerialNumber: 0000:00:1d.0
usb usb2: configuration #1 chosen from 1 choice
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.25.11-0.1-default ehci_hcd
usb usb2: SerialNumber: 0000:00:1d.7
usb usb3: configuration #1 chosen from 1 choice
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.25.11-0.1-default uhci_hcd
usb usb3: SerialNumber: 0000:00:1d.1
usb usb4: configuration #1 chosen from 1 choice
usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: UHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.25.11-0.1-default uhci_hcd
usb usb4: SerialNumber: 0000:00:1d.2
usb 3-1: new full speed USB device using uhci_hcd and address 2
usb 3-1: configuration #1 chosen from 1 choice
usb 3-1: New USB device found, idVendor=091e, idProduct=0003
usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
usb 3-1: reset full speed USB device using uhci_hcd and address 2
usb 3-1: reset full speed USB device using uhci_hcd and address 2
usb 3-1: reset full speed USB device using uhci_hcd and address 2
usb 3-2: new full speed USB device using uhci_hcd and address 3
usb 3-2: configuration #1 chosen from 1 choice
usb 3-2: New USB device found, idVendor=041e, idProduct=401f
usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 3-2: ZC0301[P] Image Processor and Control Chip detected (vid/pid 0x041E:0x401F)
usb 3-2: No supported image sensor detected
usbcore: registered new interface driver zc0301

*I need the usbfs for VirtualBox to work . . . *

Anyone else have this problem (and preferably a solution?)

Thanks!

well i have the same issue… same output one difference mine is a logitech cam so it appears the issue is comming up across the board

What is your kernel version? Is it 2.6.25.5 ? Because the latest kernel for openSUSE-11 is 2.6.25.11.

Please type:
uname -a

I am posting this in case you don’t know that. If you have

I am using 2.6.25.11-0.1-default.

OK, and what uvcvideo version are you using?

Type:
rpm -qa | grep uvc
and post here the output

uvcvideo-kmp-default-r242_2.6.25.5_1.1-2.1

I did do some tweaking on my own (and, of course, didn’t keep track of everything I did). I did upgrade the uvc software, but

I did install the jasper library.

I also noticed that I was finally getting a device node under /dev for video.

I chown to root:video, and I am a member of the video group. Skype and Kopete work.

However, luvcview doesn’t:

kevin@ruby:~> luvcview
luvcview 0.2.4

SDL information:
Video driver: x11
A window manager is available
Device information:
Device path: /dev/video0
Error opening device /dev/video0: unable to query device.
Init v4L2 failed !! exit fatal

Better luck with xawtv:

kevin@ruby:~> xawtv
This is xawtv-3.95, running on Linux/i686 (2.6.25.11-0.1-default)
xinerama 0: 1400x1050+0+0
/dev/video0 [v4l]: no overlay support
v4l-conf had some trouble, trying to continue anyway
ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=7): Invalid argument

motv was about the same:
kevin@ruby:~> xawtv
This is xawtv-3.95, running on Linux/i686 (2.6.25.11-0.1-default)
xinerama 0: 1400x1050+0+0
/dev/video0 [v4l]: no overlay support
v4l-conf had some trouble, trying to continue anyway
ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=7): Invalid argument

Put up a small video box with the correct camera image.

webcam doesn’t do anything:
kevin@ruby:~> webcam
reading config file: /home/kevin/.webcamrc
video4linux webcam v1.5 - (c) 1998-2002 Gerd Knorr
grabber config:
size 320x240 [24 bit TrueColor (LE: bgr)]
input (null), norm (null), jpeg quality 75
rotate=0, top=0, left=0, bottom=240, right=320

But I am not sure what it is supposed to do in the first place. I was hopping it would work as a video recorder.

So my major goal (working with Skype and Kopete) is now accomplished. I think installing the jasper package may have been the lynch pin, but I don’t have time to do regression testing.

I am still looking for some low level tools to let me use it, along with the built in sound, as a video/sound recorder. I am also looking for a good way to stream video from a conference to others who cannot attend (we have used Google talk for this in the past, we are going to be using Vyew for the rest of the meeting).

I also want to be able to run the motion project, since it seems to have a range of security applications.

Thanks.

OK, well,the problem is obvious, and once you get some more Linux experience “under your belt” such things will be obvious to you also.

Look at the version number of those apps. The packagers ensured that in the version numbering, the kernel version to which the uvcvideo driver was applicable is listed. So you have a driver intended for a 2.6.25.5 kernel, running with a 2.6.25.11 kernel. For your webcam, that breaks the video.

You need to replace the uvcvideo-kmp-default-r242_2.6.25.5_1.1-2.1 webcam driver with a uvcvideo-kmp-default driver that has 2.6.25.11 in its version numbering.

Go do a search on webpin, and you will find such a “beast”.
Webpin search for uvcvideo-kmp-default

Good luck!

Looks like you managed still to get some video … but I still believe you need to update your video driver.