uvcvideo: Failed to resubmit video URB (-45)
I recently purchased a Logitech Quickcam E3500 for my girlfriend, and attempted to set it up on her Dell laptop running Kubuntu, which initially looked good (simply plugged it in and it worked out-of-the-box as I would expect), however after a few seconds the webcam picture froze, and I noticed a message repeated in dmesg:
uvcvideo: Failed to resubmit video URB (-45)
Googling this error eventually message led me to this bug on launchpad and although the patch noted on the page is already included in the newest Linux kernel, we do not yet have access to this kernel in the latest stable version of (K)Ubuntu, and a custom compilation is required, which may be tricky for some users. Helpfully, a user has provided a replacement module on the Launchpad bug page, however it doesn’t seem to work (could be they are running an older version of the Linux kernel than is available in the current version of (k)Ubuntu ).
I have compiled a new version of the module which is causing the problem for the current latest version of Kubuntu 8.04. Simply download this file here and drop it in /lib/modules/2.6.24-19-generic/kernel/drivers/usb/host/ (in place of the original ehci-hcd.ko file, remember to back it up first!) and run these commands in a terminal:
sudo rmmod ehci-hcd sudo modprobe ehci-hcd
And it should all work properly without freezes! If you receive errors while attempting to run the commands above, put your backup of your ehci-hcd.ko file back as it does not seem that you are running the same version of Linux this is compiled with.
If anybody wishes to download the source for the kernel I compiled to create the module, it is available here.