Hi Alessandro, On Monday 07 December 2009 17:12:18 Alessandro Bonometti wrote: > On Thursday 03 December 2009 20:29:24 Laurent Pinchart wrote: > > > I bought a Microsoft LifeCam NX-6000 which should be supported by UVC > > > (http://linux-uvc.berlios.de/#devices). The camera is recognized, but > > > it doesn't work in skype, kopete or luvcview. The cam is fine (I have > > > tried it on a Windows PC) and the OS should be correctly configured > > > since I have another cam on this system (it's a eeepc) and it works > > > fine. > > > > Could you try the camera on another Linux system ? > > Ok, this is really strange. I have two Linux system, a desktop and an > eeepc, both with openSUSE 11.2 (the desktop has the X86_64 version) and > when I first tried the NX-6000, I had the same messages on both system. > Here are the one from the desktop: > Dec 1 00:43:29 linux-l8hb kernel: [165305.462577] uvcvideo: Found UVC 1.00 > device Microsoft® LifeCam NX-6000 (045e:00f8) > Dec 1 00:43:29 linux-l8hb kernel: [165305.462899] uvcvideo: UVC non > compliance - GET_DEF(PROBE) not supported. Enabling workaround. > Dec 1 00:43:29 linux-l8hb kernel: [165305.463498] input: Microsoft® > LifeCam NX-6000 as > /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1.1/2-1.1.1/2-1.1.1:1.0/inp > ut/input10 > Dec 1 00:43:30 linux-l8hb kernel: [165306.269428] uvcvideo: Failed to > query (1) UVC control 3 (unit 5) : -110 (exp. 2). > Dec 1 00:43:30 linux-l8hb kernel: [165306.569245] uvcvideo: Failed to > query (135) UVC control 7 (unit 5) : -110 (exp. 2). > Dec 1 00:43:30 linux-l8hb kernel: [165306.869099] uvcvideo: Failed to > query (135) UVC control 9 (unit 5) : -110 (exp. 2). > Dec 1 00:43:31 linux-l8hb kernel: [165307.169093] uvcvideo: Failed to > query (135) UVC control 6 (unit 5) : -110 (exp. 2). > Dec 1 00:43:31 linux-l8hb kernel: [165307.376088] ALSA > /usr/src/packages/BUILD/kernel- > desktop-2.6.31.5/linux-2.6.31/sound/usb/usbmixer.c:405: cannot get current > value for control 1 ch 1: err = -22 > Dec 1 00:43:32 linux-l8hb kernel: [165308.440797] ALSA > /usr/src/packages/BUILD/kernel- > desktop-2.6.31.5/linux-2.6.31/sound/usb/usbmixer.c:405: cannot get current > value for control 1 ch 1: err = -22 > [and so on...] > > I then borrowed a LifeCam Cinema (045e:075d) from a friend of mine and it > works perfectly on luvcview, skype and kopete, on both systems. > > Saturday I re-attached my NX-6000 to answer your questions, and it seemed > to work fine! > Dec 5 19:41:54 linux-l8hb kernel: [579205.650965] uvcvideo: Found UVC 1.00 > device Microsoft® LifeCam NX-6000 (045e:00f8) > Dec 5 19:41:54 linux-l8hb kernel: [579205.651398] uvcvideo: UVC non > compliance - GET_DEF(PROBE) not supported. Enabling workaround. > Dec 5 19:41:54 linux-l8hb kernel: [579205.652136] input: Microsoft® > LifeCam NX-6000 as > /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1.1/2-1.1.1/2-1.1.1:1.0/inp > ut/input21 > > I could see it working in lucview, while in Skype and Kopete it didn't > work...but it seemed a step forward. > But now I'm back on square one! When I attach the cam, it says: > > > Dec 7 16:55:04 linux-l8hb kernel: [741992.357149] usb 2-1.1.1: Product: > Microsoft® LifeCam NX-6000 > Dec 7 16:55:04 linux-l8hb kernel: [741992.357156] usb 2-1.1.1: > Manufacturer: Microsoft > Dec 7 16:55:04 linux-l8hb kernel: [741992.357300] usb 2-1.1.1: > configuration #1 chosen from 1 choice > Dec 7 16:55:04 linux-l8hb kernel: [741992.357968] uvcvideo: Found UVC 1.00 > device Microsoft® LifeCam NX-6000 (045e:00f8) > Dec 7 16:55:04 linux-l8hb kernel: [741992.358337] uvcvideo: UVC non > compliance - GET_DEF(PROBE) not supported. Enabling workaround. > Dec 7 16:55:04 linux-l8hb kernel: [741992.358958] input: Microsoft® > LifeCam NX-6000 as > /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1.1/2-1.1.1/2-1.1.1:1.0/input/i > nput25 Dec 7 16:55:05 linux-l8hb kernel: [741993.160295] uvcvideo: Failed > to query (1) UVC control 3 (unit 5) : -110 (exp. 2). > Dec 7 16:55:05 linux-l8hb kernel: [741993.460201] uvcvideo: Failed to > query (135) UVC control 7 (unit 5) : -110 (exp. 2). > Dec 7 16:55:06 linux-l8hb kernel: [741993.760222] uvcvideo: Failed to > query (135) UVC control 9 (unit 5) : -110 (exp. 2). > Dec 7 16:55:06 linux-l8hb kernel: [741993.980246] ALSA > /usr/src/packages/BUILD/kernel- > desktop-2.6.31.5/linux-2.6.31/sound/usb/usbmixer.c:405: cannot get current > value for control 1 ch 1: err = -22 > Dec 7 16:55:06 linux-l8hb kernel: [741994.060260] uvcvideo: Failed to > query (135) UVC control 6 (unit 5) : -110 (exp. 2). > Dec 7 16:55:07 linux-l8hb kernel: [741995.051221] ALSA > /usr/src/packages/BUILD/kernel- > desktop-2.6.31.5/linux-2.6.31/sound/usb/usbmixer.c:405: cannot get current > value for control 1 ch 1: err = -22 > Dec 7 16:55:13 linux-l8hb kernel: [742001.638202] uvcvideo: Failed to set > UVC probe control : -110 (exp. 26). > Dec 7 16:55:23 linux-l8hb kernel: [742011.561120] uvcvideo: Failed to set > UVC probe control : -110 (exp. 26). > > >Ouch. It seems the problem is not limited to uvcvideo but also impacts > >usbaudio. Could you try not to load the uvcvideo driver (you can blacklist > > it by adding "blacklist uvcvideo" to /etc/modprobe.d/blacklist.conf or > > /etc/modprobe.conf - the file name and location might be distribution- > > dependent) and check if ALSA still prints error messages ? > > It doesn't: > Dec 7 17:05:06 linux-l8hb kernel: [742594.398463] usb 2-1.1.1: new high > speed USB device using ehci_hcd and address 83 > Dec 7 17:05:06 linux-l8hb kernel: [742594.520837] usb 2-1.1.1: New USB > device found, idVendor=045e, idProduct=00f8 > Dec 7 17:05:06 linux-l8hb kernel: [742594.520858] usb 2-1.1.1: New USB > device strings: Mfr=1, Product=2, SerialNumber=0 > Dec 7 17:05:06 linux-l8hb kernel: [742594.520870] usb 2-1.1.1: Product: > Microsoft® LifeCam NX-6000 > Dec 7 17:05:06 linux-l8hb kernel: [742594.520880] usb 2-1.1.1: > Manufacturer: Microsoft > Dec 7 17:05:06 linux-l8hb kernel: [742594.521053] usb 2-1.1.1: > configuration #1 chosen from 1 choice > > > Could you please send me the messages printed by the driver to the kernel > > log when running luvcview -d /dev/video1 ? > > Just one line: > Dec 7 17:01:29 linux-l8hb kernel: [742376.860611] uvcvideo: Failed to set > UVC probe control : -110 (exp. 26). > > I didn't reboot my PC or change kernel version. I still have m friend's > lifecam cinema here, and it still works perfectly (so I don't think it's a > messed-up configuration). > Any hint?
You won't like it, but my guess is that the webcam firmware is buggy (like most webcam firmwares :-/) and crashes due to a race condition. Lack of luck makes your system reproduce the timings required to trigger the bug. It might be possible to work around the problem. Could you try to load the driver with quirks=0x102 and timeout=3000 ? If that help, please try only one of those parameters to see which one fixes the problem. -- Regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel