Comment 202 for bug 290506

Revision history for this message
Ralf Hölzemer (cheleb-deactivatedaccount) wrote :

This bug still affects me in Ubuntu Karmic.

Compiling the latest driver from http://linuxtv.org/hg/~pinchartl/uvcvideo makes no difference.
Basically, every tool (skype, ekiga, luvcview, gst-launch v4l2src ! xvimagesink, ...) except Cheese works fine.

Cheese fails to detect the webcam due to extremely long probing times (~16 seconds on my machine for the first access after a freshly loaded uvcvideo module - either through a reboot, or by hand via rmmod/modprobe), and when the cam light finally comes up, cheese already has given up (happens after 10 seconds - this is hardcoded in cheese).
When that happens, the state of the webcam/uvcvideo seems to be corrupted somehow. Any access to the webcam with any tool, either cheese or somethig else, fails afterwards. The only fix then is to rmmod/modprobe uvcvideo again. After doing that, the webcam works correct - even in cheese ( ~2-4 seconds probing time ).
Raising the hardcoded timeout in src/cheese-webcam.c from 10 to 30 seconds seems to be a good workaround that works most of the time for me, but it is not a real solution to the problem at hand.

I tried to reproduce the bug with an Fedora 11 LiveCD, but there everything went fine. Probes to the cam never lasted longer than 2 seconds and the image was always displayed instantly after that. Accessing the cam with other tools after cheese 'initialized' the driver went fine too.

So is anyone else still having problems?