Unsolved

This post is more than 5 years old

6 Posts

21381

May 13th, 2008 23:00

XPS M1330 Hardy: UVC module fails to initialize webcam

I did a clean install of Hardy on an XPS M1330 with the thin display/UVC webcam. It worked fine in Gutsy, but now it won't work at all. Here's the relevant section of dmesg output:

 

[   20.719793] uvcvideo: Found UVC 1.00 device Laptop Integrated Webcam (05a9:7670)
[   20.720088] uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -32 (exp. 26).
[   20.720337] uvcvideo: Failed to query (129) UVC control 1 (unit 0) : -32 (exp. 26).
[   20.720340] uvcvideo: Failed to initialize the device (-5).
[   20.720371] usbcore: registered new interface driver uvcvideo
[   20.720374] USB Video Class driver (v0.1.0)

 

I googled around for this, but could only find a problem related to Apple iSight firmware.

6 Posts

May 13th, 2008 23:00

It looks like there is a patch for this problem, but I haven't tried it yet:

 

http://developer.berlios.de/feature/?func=detailfeature&feature_id=3737&group_id=5681

6 Posts

May 14th, 2008 00:00

Latest version of the UVC module works! Here are the quick instructions for installation. Let me know if you don't understand and need more details (or maybe someone else here can explain further).

 

1. install prereqs if you don't have them

sudo aptitude install subversion build-essential

2. back up current module, just in case

sudo cp /lib/modules/2.6.24-16-generic/ubuntu/media/usbvideo/uvcvideo.ko /lib/modules/2.6.24-16-generic/ubuntu/media/usbvideo/uvcvideo.ko.bak


3. Check out latest source code

svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk


4. go to the 'trunk' directory

cd trunk


5. Edit Makefile

nano Makefile (or use gedit or whatever you like)

6. Change the line starting with INSTALL_MOD_DIR to this:

INSTALL_MOD_DIR := /lib/modules/$(KERNEL_VERSION)/ubuntu/media/usbvideo

7. Install it

make

sudo make install

 

8. Reboot (you could also unload the old module and load the new one, but I didn't remember the command off the top of my head, and I'm lazy)

 

dmesg still gave me a "Failed to query" line (see below), but everything works now! Tested in Cheese and Ekiga.

[   20.749569] Linux video capture interface: v2.00
[   20.822180] uvcvideo: Found UVC 1.00 device Laptop Integrated Webcam (05a9:7670)
[   20.822549] uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -32 (exp. 26).
[   20.870964] input: PC Speaker as /devices/platform/pcspkr/input/input13
[   20.881187] usbcore: registered new interface driver uvcvideo
[   20.881192] USB Video Class driver (v0.1.0)
 

No Events found!

Top