linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 3.1.5: uvcvideo: Failed to resubmit video URB (-27).
@ 2012-01-03 14:21 Justin Piszcz
  2012-01-03 15:05 ` [Linux-uvc-devel] " Laurent Pinchart
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Justin Piszcz @ 2012-01-03 14:21 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-uvc-devel

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?

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

Justin.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Linux-uvc-devel] 3.1.5: uvcvideo: Failed to resubmit video URB (-27).
  2012-01-03 14:21 3.1.5: uvcvideo: Failed to resubmit video URB (-27) Justin Piszcz
@ 2012-01-03 15:05 ` Laurent Pinchart
  2012-01-03 16:18   ` Justin Piszcz
  2012-01-03 18:16 ` Pitt, Jason N
  2012-01-04 16:21 ` Andrew Burgess
  2 siblings, 1 reply; 10+ messages in thread
From: Laurent Pinchart @ 2012-01-03 15:05 UTC (permalink / raw)
  To: linux-uvc-devel; +Cc: Justin Piszcz, linux-kernel

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Linux-uvc-devel] 3.1.5: uvcvideo: Failed to resubmit video URB (-27).
  2012-01-03 15:05 ` [Linux-uvc-devel] " Laurent Pinchart
@ 2012-01-03 16:18   ` Justin Piszcz
  2012-01-08 23:30     ` Laurent Pinchart
  0 siblings, 1 reply; 10+ messages in thread
From: Justin Piszcz @ 2012-01-03 16:18 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: linux-uvc-devel, linux-kernel

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

> Which kernel version are you using ?
Using 3.1.5 currently.

> 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.
Will try v3.2 when it is 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.
Certainly, see below:

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
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          349
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0
      iFunction               1 1.3M WebCam
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      0
      iInterface              1 1.3M WebCam
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.00
        wTotalLength           85
        dwClockFrequency       30.000000MHz
        bInCollection           1
        baInterfaceNr( 0)       1
      VideoControl Interface Descriptor:
        bLength                18
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Camera Sensor
        bAssocTerminal          0
        iTerminal               0
        wObjectiveFocalLengthMin      0
        wObjectiveFocalLengthMax      0
        wOcularFocalLength            0
        bControlSize                  3
        bmControls           0x00000000
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               6
        iTerminal               0
      VideoControl Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      4 (SELECTOR_UNIT)
        bUnitID                 4
        bNrInPins               1
        baSource( 0)            1
        iSelector               0
      VideoControl Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
      Warning: Descriptor too short
        bUnitID                 5
        bSourceID               4
        wMaxMultiplier          0
        bControlSize            2
        bmControls     0x0000053f
          Brightness
          Contrast
          Hue
          Saturation
          Sharpness
          Gamma
          Backlight Compensation
          Power Line Frequency
        iProcessing             0
        bmVideoStandards     0x1b
          None
          NTSC - 525/60
          SECAM - 625/50
          NTSC - 625/50
      VideoControl Interface Descriptor:
        bLength                27
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 6
        guidExtensionCode         {564c97a7-7ea7-904b-8cbf-1c71ec303000}
        bNumControl            16
        bNrPins                 1
        baSourceID( 0)          5
        bControlSize            2
        bmControls( 0)       0xff
        bmControls( 1)       0xff
        iExtension              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              15
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      VideoStreaming Interface Descriptor:
        bLength                            14
        bDescriptorType                    36
        bDescriptorSubtype                  1 (INPUT_HEADER)
        bNumFormats                         1
        wTotalLength                      169
        bEndPointAddress                  129
        bmInfo                              0
        bTerminalLink                       3
        bStillCaptureMethod                 0
        bTriggerSupport                     0
        bTriggerUsage                       0
        bControlSize                        1
        bmaControls( 0)                    27
      VideoStreaming Interface Descriptor:
        bLength                            27
        bDescriptorType                    36
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
        bFormatIndex                        1
        bNumFrameDescriptors                4
        guidFormat
{59555932-0000-1000-8000-00aa00389b71}
        bBitsPerPixel                      16
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
          bCopyProtect                      0
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                 73728000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666666
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                 18432000
        dwMaxBitRate                 36864000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  2
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            666666
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                           800
        dwMinBitRate                122880000
        dwMaxBitRate                122880000
        dwMaxVideoFrameBufferSize     2048000
        dwDefaultFrameInterval        1333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)           1333333
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                          1024
        dwMinBitRate                157286400
        dwMaxBitRate                157286400
        dwMaxVideoFrameBufferSize     2621440
        dwDefaultFrameInterval        1333333
        bFrameIntervalType                  1
        dwFrameInterval( 0)           1333333
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x1400  3x 1024 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x1400  3x 1024 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x1400  3x 1024 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

.. next device to signify end of lsusb -v for this device ..

Bus 002 Device 005: ID 0d8c:0008 C-Media Electronics, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1

Justin.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Linux-uvc-devel] 3.1.5: uvcvideo: Failed to resubmit video URB (-27).
  2012-01-03 14:21 3.1.5: uvcvideo: Failed to resubmit video URB (-27) Justin Piszcz
  2012-01-03 15:05 ` [Linux-uvc-devel] " Laurent Pinchart
@ 2012-01-03 18:16 ` Pitt, Jason N
  2012-01-04 16:21 ` Andrew Burgess
  2 siblings, 0 replies; 10+ messages in thread
From: Pitt, Jason N @ 2012-01-03 18:16 UTC (permalink / raw)
  To: Justin Piszcz; +Cc: linux-kernel, linux-uvc-devel

What is the output of lsusb?



--- Original Message -----
From: Justin Piszcz <jpiszcz@lucidpixels.com>
To: linux-kernel@vger.kernel.org
Cc: linux-uvc-devel@lists.berlios.de
Sent: Tue, 03 Jan 2012 06:21:02 -0800 (PST)
Subject: [Linux-uvc-devel] 3.1.5: uvcvideo: Failed to resubmit video URB (-27).
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?
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
Justin.
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
-- 
/*
Jason Pitt PhD 206.667.5603
Roth Lab jpitt@fhcrc.org
Basic Sciences Division 
Fred Hutchinson Cancer Research Center
1100 Fairview Ave N A3-135
Seattle, WA 98109
*/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 3.1.5: uvcvideo: Failed to resubmit video URB (-27).
  2012-01-03 14:21 3.1.5: uvcvideo: Failed to resubmit video URB (-27) Justin Piszcz
  2012-01-03 15:05 ` [Linux-uvc-devel] " Laurent Pinchart
  2012-01-03 18:16 ` Pitt, Jason N
@ 2012-01-04 16:21 ` Andrew Burgess
  2012-01-04 17:07   ` Justin Piszcz
  2 siblings, 1 reply; 10+ messages in thread
From: Andrew Burgess @ 2012-01-04 16:21 UTC (permalink / raw)
  To: Justin Piszcz; +Cc: linux-kernel, linux-uvc-devel

On 01/03/2012 06:21:02 AM, Justin Piszcz wrote:

> 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).

it sounds like a bug recently tracked down on the usb devel list
(search for 'Failed to resubmit video URB')

it turned out to be a bug in the usb host controller; if you
do an lspci do you see anything made by NetMos or MosChip?

mine says:

0b:00.0 USB Controller: NetMos Technology MCS9990 PCIe to 4‐Port USB  
2.0 Host Controller

mine is a pcie card; perhaps you have one built in?

hth

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: 3.1.5: uvcvideo: Failed to resubmit video URB (-27).
  2012-01-04 16:21 ` Andrew Burgess
@ 2012-01-04 17:07   ` Justin Piszcz
  2012-01-05 23:08     ` Justin Piszcz
  0 siblings, 1 reply; 10+ messages in thread
From: Justin Piszcz @ 2012-01-04 17:07 UTC (permalink / raw)
  To: 'Andrew Burgess'; +Cc: linux-kernel, linux-uvc-devel



-----Original Message-----
From: Andrew Burgess [mailto:aab@cichlid.com] 

it sounds like a bug recently tracked down on the usb devel list
(search for 'Failed to resubmit video URB')

it turned out to be a bug in the usb host controller; if you
do an lspci do you see anything made by NetMos or MosChip?

mine says:

0b:00.0 USB Controller: NetMos Technology MCS9990 PCIe to 4‐Port USB  
2.0 Host Controller

mine is a pcie card; perhaps you have one built in?

-

It’s a bit different for my model:

# lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS880 Host Bridge
00:01.0 PCI bridge: Acer Incorporated [ALI] AMD RS780/RS880 PCI to PCI bridge (int gfx)
00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 0)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 1)
00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 42)
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (rev 40)
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS880M [Mobility Radeon HD 4200 Series]
01:05.1 Audio device: ATI Technologies Inc RS880 HDMI Audio [Radeon HD 4200 Series]
03:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)
06:00.0 Network controller: Atheros Communications Inc. AR9287 Wireless Network Adapter (PCI-Express) (rev 01)

Justin.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: 3.1.5: uvcvideo: Failed to resubmit video URB (-27).
  2012-01-04 17:07   ` Justin Piszcz
@ 2012-01-05 23:08     ` Justin Piszcz
  2012-01-06 14:33       ` Justin Piszcz
  0 siblings, 1 reply; 10+ messages in thread
From: Justin Piszcz @ 2012-01-05 23:08 UTC (permalink / raw)
  To: 'Andrew Burgess'; +Cc: linux-kernel, linux-uvc-devel



-----Original Message-----
From: Andrew Burgess [mailto:aab@cichlid.com] 

it sounds like a bug recently tracked down on the usb devel list
(search for 'Failed to resubmit video URB')

it turned out to be a bug in the usb host controller; if you
do an lspci do you see anything made by NetMos or MosChip?

--

Hi,

Running kernel 3.2 for 12+ hours, no issues yet, will update thread if any further issues occur.

Justin.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: 3.1.5: uvcvideo: Failed to resubmit video URB (-27).
  2012-01-05 23:08     ` Justin Piszcz
@ 2012-01-06 14:33       ` Justin Piszcz
  0 siblings, 0 replies; 10+ messages in thread
From: Justin Piszcz @ 2012-01-06 14:33 UTC (permalink / raw)
  To: 'Andrew Burgess'; +Cc: linux-kernel, linux-uvc-devel

-----Original Message-----
From: Andrew Burgess [mailto:aab@cichlid.com] 

it sounds like a bug recently tracked down on the usb devel list
(search for 'Failed to resubmit video URB')

it turned out to be a bug in the usb host controller; if you
do an lspci do you see anything made by NetMos or MosChip?

--

Hi,

Running kernel 3.2 for 12+ hours, no issues yet, will update thread if any further issues occur.

Justin.

--

With 3.2+ it locked up again:

motion    3298  0.2  0.2 178756 16584 ?        Dl   Jan05   4:46 /usr/bin/motio

[70440.477114] INFO: task motion:3298 blocked for more than 120 seconds.
[70440.477122] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[70440.477129] motion          D 0000000000000000     0  3298      1 0x00000000
[70440.477140]  ffff8802327edb98 0000000000000082 0000000000000000 ffff8802327edfd8
[70440.477152]  0000000000004000 ffff8802327edfd8 ffffffff8180d020 ffff88022fe3f990
[70440.477161]  ffffffff81831d80 ffff880236bd7800 ffff8802327edaf8 0000000000000286
[70440.477171] Call Trace:
[70440.477185]  [<ffffffff8110d15e>] ? sysfs_addrm_finish+0x2e/0xb0
[70440.477196]  [<ffffffff812c5c49>] ? kobject_release+0x59/0xa0
[70440.477204]  [<ffffffff812c5bf0>] ? kobject_del+0x40/0x40
[70440.477214]  [<ffffffff813b7df2>] ? ehci_endpoint_disable+0xc2/0x160
[70440.477223]  [<ffffffff8159edea>] schedule+0x3a/0x50
[70440.477231]  [<ffffffff8159fa21>] __mutex_lock_slowpath+0xc1/0x130
[70440.477238]  [<ffffffff8159f85d>] mutex_lock+0x1d/0x40
[70440.477245]  [<ffffffff81422d52>] uvc_queue_enable+0x22/0xd0
[70440.477252]  [<ffffffff81426b1a>] uvc_video_enable+0x9a/0xb0
[70440.477259]  [<ffffffff814240df>] uvc_v4l2_do_ioctl+0x4cf/0x1310
[70440.477268]  [<ffffffff814172cf>] video_usercopy+0x1bf/0x4e0
[70440.477275]  [<ffffffff81423c10>] ? uvc_v4l2_set_streamparm.isra.11+0x190/0x190
[70440.477282]  [<ffffffff81423494>] uvc_v4l2_ioctl+0x24/0x70
[70440.477289]  [<ffffffff81410a47>] v4l2_ioctl+0xb7/0x150
[70440.477298]  [<ffffffff810c0b8e>] do_vfs_ioctl+0x8e/0x4e0
[70440.477306]  [<ffffffff810c102a>] sys_ioctl+0x4a/0x80
[70440.477316]  [<ffffffff815a117b>] system_call_fastpath+0x16/0x1b

Justin.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Linux-uvc-devel] 3.1.5: uvcvideo: Failed to resubmit video URB (-27).
  2012-01-03 16:18   ` Justin Piszcz
@ 2012-01-08 23:30     ` Laurent Pinchart
  2012-01-09  4:04       ` Justin Piszcz
  0 siblings, 1 reply; 10+ messages in thread
From: Laurent Pinchart @ 2012-01-08 23:30 UTC (permalink / raw)
  To: Justin Piszcz; +Cc: linux-uvc-devel, linux-kernel

Hi Justin,

On Tuesday 03 January 2012 17:18:03 Justin Piszcz wrote:

[snip]

> > Could you please send me the complete lsusb -v output for the device ?
> > I'll then add it to the supported devices list.
> 
> Certainly, see below:
> 
> Bus 002 Device 004: ID 0402:9665 ALi Corp. Gateway Webcam

[snip]

Thank you. Could you please also tell me which laptop the camera can be found 
in ?

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Linux-uvc-devel] 3.1.5: uvcvideo: Failed to resubmit video URB (-27).
  2012-01-08 23:30     ` Laurent Pinchart
@ 2012-01-09  4:04       ` Justin Piszcz
  0 siblings, 0 replies; 10+ messages in thread
From: Justin Piszcz @ 2012-01-09  4:04 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: linux-uvc-devel, linux-kernel

On Sun, Jan 8, 2012 at 11:30 PM, Laurent Pinchart
<laurent.pinchart@ideasonboard.com> wrote:
> Hi Justin,
>
> On Tuesday 03 January 2012 17:18:03 Justin Piszcz wrote:
>
> [snip]
>
>> > Could you please send me the complete lsusb -v output for the device ?
>> > I'll then add it to the supported devices list.
>>
>> Certainly, see below:
>>
>> Bus 002 Device 004: ID 0402:9665 ALi Corp. Gateway Webcam
>
> [snip]
>
> Thank you. Could you please also tell me which laptop the camera can be found
> in ?

Hi,

Yes, Acer Aspire 7551-7442.

Justin.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-01-09  4:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-03 14:21 3.1.5: uvcvideo: Failed to resubmit video URB (-27) Justin Piszcz
2012-01-03 15:05 ` [Linux-uvc-devel] " Laurent Pinchart
2012-01-03 16:18   ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).