mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-uvc-devel@lists.sourceforge.net
Cc: Justin Piszcz <jpiszcz@lucidpixels.com>, linux-kernel@vger.kernel.org
Subject: Re: [Linux-uvc-devel] 3.1.5: uvcvideo: Failed to resubmit video URB (-27).
Date: Tue, 3 Jan 2012 16:05:27 +0100	[thread overview]
Message-ID: <201201031605.31117.laurent.pinchart@ideasonboard.com> (raw)
In-Reply-To: <CAO9zADw7ofMLeE3yCQ+uCe=6EzZY=SWtqMDhsi_ggbPhWVfTKg@mail.gmail.com>

Hi Justin,

(The linux-uvc-devel mailing list has been moved to SourceForge, I've CC'ed 
the new list)

On Tuesday 03 January 2012 15:21:02 Justin Piszcz wrote:
> Hello,
> 
> Using an Acer 7551-7442 here with the following built-in webcam:
> Bus 002 Device 004: ID 0402:9665 ALi Corp. Gateway Webcam
> 
> It seems motion locks up every day or so and I see this in the kernel logs:
> [378982.724053] uvcvideo: Failed to resubmit video URB (-27).
> [378982.724066] uvcvideo: Failed to resubmit video URB (-27).
> [378982.724079] uvcvideo: Failed to resubmit video URB (-27).
> [378982.724090] uvcvideo: Failed to resubmit video URB (-27).
> [378982.724101] uvcvideo: Failed to resubmit video URB (-27).
> [489148.723367] uvcvideo: Failed to resubmit video URB (-27).
> [489148.723379] uvcvideo: Failed to resubmit video URB (-27).
> [489148.723391] uvcvideo: Failed to resubmit video URB (-27).
> [489148.723403] uvcvideo: Failed to resubmit video URB (-27).
> [489148.723414] uvcvideo: Failed to resubmit video URB (-27).
>
> If I restart motion, it will usually start working again, I do not
> have this problem on other (retail) Logitech webcams, was curious if
> this a bug with the webcam (quirk?) or a problem in uvcvideo?

-27 is -EFBIG. As the uvcvideo driver set the ASAP isochronous scheduling flag 
when submitting URBs, this most probably results from a bug in the USB host 
controller hardware, from a bug in the USB host controller driver, or from a 
driver that blocks interrupts for several tens of milliseconds.

Which kernel version are you using ? An isochronous scheduling regression has 
been fixed recently between v3.2-rc3 and v3.2-rc5. You might want to try v3.2 
when it will be released.

> The camera is built-into the laptop screen at the top in the middle.
> 
> lsusb verbose:
> 
> Bus 002 Device 004: ID 0402:9665 ALi Corp. Gateway Webcam
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass          239 Miscellaneous Device
>   bDeviceSubClass         2 ?
>   bDeviceProtocol         1 Interface Association
>   bMaxPacketSize0        64
>   idVendor           0x0402 ALi Corp.
>   idProduct          0x9665 Gateway Webcam
>   bcdDevice            0.09
>   iManufacturer           3 XPB3L1K44
>   iProduct                1 1.3M WebCam
>   iSerial                 0
>   bNumConfigurations      1

Could you please send me the complete lsusb -v output for the device ? I'll 
then add it to the supported devices list.

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2012-01-03 15:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-03 14:21 Justin Piszcz
2012-01-03 15:05 ` Laurent Pinchart [this message]
2012-01-03 16:18   ` [Linux-uvc-devel] " Justin Piszcz
2012-01-08 23:30     ` Laurent Pinchart
2012-01-09  4:04       ` Justin Piszcz
2012-01-03 18:16 ` Pitt, Jason N
2012-01-04 16:21 ` Andrew Burgess
2012-01-04 17:07   ` Justin Piszcz
2012-01-05 23:08     ` Justin Piszcz
2012-01-06 14:33       ` Justin Piszcz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201201031605.31117.laurent.pinchart@ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=jpiszcz@lucidpixels.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-uvc-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®