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.

4 thoughts on “uvcvideo: Failed to resubmit video URB (-45)”

  1. Hi, and many thanks for posting this. I have been struggling for ages to get my Acer Crystal Eye webcam (built-in to a 5920 laptop) working properly, and this does the trick.

    To make the fix complete, could you tell us how to make this fix permanent? After following the steps above, the webcam works fine, but after re-starting, I need to sudo rmmod ehci-hcd; sudo modprobe ehci-hcd again.

    And, of course, for anyone else following the instructions above, I have now worked out that it’s important to make the permissions of the new file match those of the other *.ko files in the host folder!

    Thanks again
    Charlie

  2. Hi,

    As far as I can tell (or at least this is how it works on my girlfriend’s laptop), dropping the .ko file in /lib/modules/2.6.24-19-generic/kernel/drivers/usb/host/ should make it permanent, as when Linux boots it should modprobe using the file in /lib/modules/2.6.24-19-generic/kernel/drivers/usb/host/ anyway. It’s definitively permanent on her laptop and I’ve only done what’s detailed above.

    Cheers

  3. Just installed/updated Kubuntu to from 2.6.24.19-generic to 2.6.24-21-generic. My Creative webcam isn’t recognized after the update. I tried copying your file into the new location, rmmod and modprobed it, and everything pretty much ground to a halt, so recopied backup of driver back in, system now works without USB camera again.

    How can I get this re-installed to new kernal?

Leave a Reply

Your email address will not be published. Required fields are marked *