Hello,

On Thursday 15 May 2008 14:35:12 you wrote:
> Hi Ricardo,
>
> On Sunday 11 May 2008, Ricardo Ferreira wrote:
> > Hello,
> >
> > On Sunday 11 May 2008 11:06:46 Laurent Pinchart wrote:
> > > Hi Ricardo,
> > >
> > > On Sunday 11 May 2008, Ricardo Ferreira wrote:
> > > > Hi, thanks for the response,
> > > >
> > > > On Sunday 11 May 2008 09:15:05 Laurent Pinchart wrote:
> > > > > Hi Ricardo,
> > > > >
> > > > > On Wednesday 07 May 2008, Ricardo Ferreira wrote:
> > > > > > Hello all,
> > > > > >
> > > > > > I stumbled upon a problem when using your driver. It seems that
> > > > > > it blocks on the first VIDIOC_DQBUF ioctl.
> > > > > >
> > > > > > I first noticed it in my code using the latest debian
> > > > > > linux-uvc-source on an amd64 2.6.24 kernel. I assumed it was my
> > > > > > problem so I tried luvcview and noticed that there was always a 2
> > > > > > second block the first time that same ioctl was called, but it
> > > > > > worked flawlessly after that.
> > > > > >
> > > > > > After grabing your latest svn driver, luvcview stopped working,
> > > > > > blocking on the first call to VIDIOC_DQBUF.
> > > > > >
> > > > > > I have an integrated webcam:
> > > > > > Bus 006 Device 003: ID 05c8:0103 Cheng Uei Precision Industry
> > > > > > Co., Ltd (Foxlink)
> > > > > >
> > > > > > since I never heard of this manufacturer, I tried a phillips
> > > > > > spc1000nc freshly bought. The results were exactly the same.
> > > > > >
> > > > > > Do you think it has to do with the driver, this particular
> > > > > > kernel, amd64 (had some other compatibility issues because of
> > > > > > this in the past), or anything else?
> > > > >
> > > > > Could you please retry with r206 and r207 and compare the results ?
> > > > > r207 introduces a patch to drop incomplete frames.
> > > >
> > > > Yes, that is exactly were it breaks. r206 has that 1-2 second delay
> > > > the first time DQBUF is called, but after that it is perfect. in r207
> > > > the first call to DQBUF never returns.
> > >
> > > Thanks for your fast reply.
> > >
> > > > > If reverting to r206 helps, I'll ask you to try a patch to get more
> > > > > information about the issue.
> > > >
> > > > sure, whatever helps.
> > >
> > > I've attached a patch to this e-mail. Could you please apply it, load
> > > the driver with the trace parameter set to 143 and report the kernel
> > > log messages ?
> >
> > many of these keep repeating:
> >
> > uvcvideo: Frame complete (EOF found).
> > uvcvideo: EOF in empty payload.
> > uvcvideo: incomplete buffer (153600 bytes, expected 168960)
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Dropping payload (out of sync).
> > uvcvideo: Frame complete (EOF found).
> > uvcvideo: EOF in empty payload.
> > uvcvideo: incomplete buffer (153600 bytes, expected 168960)
> >
> > Anything else I can do?
>
> Looks like a bug in the camera :-/
>

Notice that I applied the patch to version 207 (that's what it said on the 
patch that you sent me). It "kind of works" in 206.

> Could you try with different resolutions and report the number of bytes
> received and expected number of bytes for each resolution supported by the
> camera ? I'd appreciate if you could perform the test for both the Foxlink
> and Philips cameras.

Yes, the Foxlink I can provide immediatly, but the Phillips will have to wait 
for Sunday.

Here is the dmesg information relevant for when I load the module (with 
trace=143):

uvcvideo: Adding mapping Brightness to control 
00000000-0000-0000-0000-000000000101/2.
uvcvideo: Adding mapping Contrast to control 
00000000-0000-0000-0000-000000000101/3.
uvcvideo: Adding mapping Hue to control 
00000000-0000-0000-0000-000000000101/6.
uvcvideo: Adding mapping Saturation to control 
00000000-0000-0000-0000-000000000101/7.
uvcvideo: Adding mapping Sharpness to control 
00000000-0000-0000-0000-000000000101/8.
uvcvideo: Adding mapping Gamma to control 
00000000-0000-0000-0000-000000000101/9.
uvcvideo: Adding mapping Backlight Compensation to control 
00000000-0000-0000-0000-000000000101/1.
uvcvideo: Adding mapping Gain to control 
00000000-0000-0000-0000-000000000101/4.
uvcvideo: Adding mapping Power Line Frequency to control 
00000000-0000-0000-0000-000000000101/5.
uvcvideo: Adding mapping Hue, Auto to control 
00000000-0000-0000-0000-000000000101/16.
uvcvideo: Adding mapping Exposure, Auto to control 
00000000-0000-0000-0000-000000000001/2.
uvcvideo: Adding mapping Exposure, Auto Priority to control 
00000000-0000-0000-0000-000000000001/3.
uvcvideo: Adding mapping Exposure (Absolute) to control 
00000000-0000-0000-0000-000000000001/4.
uvcvideo: Adding mapping White Balance Temperature, Auto to control 
00000000-0000-0000-0000-000000000101/11.
uvcvideo: Adding mapping White Balance Temperature to control 
00000000-0000-0000-0000-000000000101/10.
uvcvideo: Adding mapping White Balance Component, Auto to control 
00000000-0000-0000-0000-000000000101/13.
uvcvideo: Adding mapping White Balance Blue Component to control 
00000000-0000-0000-0000-000000000101/12.
uvcvideo: Adding mapping White Balance Red Component to control 
00000000-0000-0000-0000-000000000101/12.
uvcvideo: Adding mapping Focus (absolute) to control 
00000000-0000-0000-0000-000000000001/6.
uvcvideo: Adding mapping Focus, Auto to control 
00000000-0000-0000-0000-000000000001/8.
uvcvideo: Probing generic UVC device 4
uvcvideo: Found format YUV 4:2:2 (YUYV).
uvcvideo: - 640x480 (30.0 fps)
uvcvideo: - 352x288 (30.0 fps)
uvcvideo: - 320x240 (30.0 fps)
uvcvideo: - 176x144 (30.0 fps)
uvcvideo: - 160x120 (30.0 fps)
uvcvideo: - 1280x960 (9.0 fps)
uvcvideo: - 1280x1024 (9.0 fps)
uvcvideo: Found a Status endpoint (addr 83).
uvcvideo: Found UVC 1.00 device FO13FF-65 PC-CAM (05c8:0103)
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to device 4 
entity 3
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/3 to device 4 
entity 3
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/6 to device 4 
entity 3
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/7 to device 4 
entity 3
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/8 to device 4 
entity 3
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/9 to device 4 
entity 3
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/1 to device 4 
entity 3
uvcvideo: Added control 00000000-0000-0000-0000-000000000101/5 to device 4 
entity 3
uvcvideo: Scanning UVC chain: OT 2 <- XU 5 <- XU 4 <- PU 3 <- IT 1
uvcvideo: Found a valid video chain (1 -> 2).
input: FO13FF-65 PC-CAM as /class/input/input13
uvcvideo: Trying format 0x56595559 (YUYV): 10000x10000.
uvcvideo: Using default frame interval 111111.1 us (9.0 fps).
uvcvideo: UVC device initialized.
usbcore: registered new interface driver uvcvideo
USB Video Class driver (SVN r207)



Now for each resolution:
640x480: uvcvideo: incomplete buffer (614400 bytes, expected 675840)
352x288: uvcvideo: incomplete buffer (202752 bytes, expected 223027)
320x240:  uvcvideo: incomplete buffer (153600 bytes, expected 168960)
176x144: uvcvideo: incomplete buffer (50688 bytes, expected 55756)
160x120: uvcvideo: incomplete buffer (38400 bytes, expected 42240)
1280x960: Here Many messages containing 

uvcvideo: Frame complete (EOF found).
uvcvideo: EOF in empty payload.
uvcvideo: Dropping payload (out of sync).
uvcvideo: Dropping payload (out of sync).
uvcvideo: Dropping payload (out of sync).
uvcvideo: Dropping payload (out of sync).
uvcvideo: Dropping payload (out of sync).
(continue many more of these Dropping payload, and then keep repeating the 
Frame complete and EOF in empty payload) 

But luvcview actually works after an initial 3-4 second delay. In these 3 or 4 
seconds the following appears:

uvcvideo: Trying format 0x56595559 (YUYV): 1280x960.
uvcvideo: Using default frame interval 111111.1 us (9.0 fps).
uvcvideo: Setting frame interval to 1/15 (666666).
uvcvideo: Frame complete (FID bit toggled).
uvcvideo: incomplete buffer (8160 bytes, expected 2457600) <-- NOTICE THIS ONE
uvcvideo: Frame complete (EOF found).
uvcvideo: EOF in empty payload.


1280x1024: Same thing as the 1280x960 case. Here's the output of dmesg

uvcvideo: Trying format 0x56595559 (YUYV): 1280x1024.
uvcvideo: Using default frame interval 111111.1 us (9.0 fps).
uvcvideo: Setting frame interval to 1/15 (666666).
uvcvideo: Frame complete (FID bit toggled).
uvcvideo: incomplete buffer (8160 bytes, expected 2621440)
uvcvideo: Frame complete (EOF found).
uvcvideo: EOF in empty payload.


>
> Please also post the output of lsusb -v for both cameras.

the result follows (large stream). sorry for this :)


[EMAIL PROTECTED]:~$ sudo lsusb  -v -s 6:2

Bus 006 Device 002: ID 05c8:0103 Cheng Uei Precision Industry Co., Ltd 
(Foxlink)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x05c8 Cheng Uei Precision Industry Co., Ltd (Foxlink)
  idProduct          0x0103
  bcdDevice            1.10
  iManufacturer           2 Foxlink
  iProduct                1 FO13FF-65 PC-CAM
  iSerial                 3 1.10
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          653
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               98mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0
      iFunction               1 FO13FF-65 PC-CAM
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      0
      iInterface              1 FO13FF-65 PC-CAM
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.00
        wTotalLength          103
        dwClockFrequency       15.000000MHz
        bInCollection           1
        baInterfaceNr( 0)       1
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             2
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               5
        iTerminal               0
      VideoControl Interface Descriptor:
        bLength                26
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 4
        guidExtensionCode         {7033f028-1163-2e4a-ba2c-6890eb334016}
        bNumControl             8
        bNrPins                 1
        baSourceID( 0)          3
        bControlSize            1
        bmControls( 0)       0x0f
        iExtension              0
      VideoControl Interface Descriptor:
        bLength                26
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 5
        guidExtensionCode         {3fae1228-d7bc-114e-a357-6f1edef7d61d}
        bNumControl             8
        bNrPins                 1
        baSourceID( 0)          4
        bControlSize            1
        bmControls( 0)       0x01
        iExtension              0
      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                11
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
      Warning: Descriptor too short
        bUnitID                 3
        bSourceID               1
        wMaxMultiplier          0
        bControlSize            2
        bmControls     0x0000053f
          Brightness
          Contrast
          Hue
          Saturation
          Sharpness
          Gamma
          Backlight Compensation
          Power Line Frequency
        iProcessing             0
        bmVideoStandards     0x 0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               6
    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                      407
        bEndPointAddress                  129
        bmInfo                              0
        bTerminalLink                       2
        bStillCaptureMethod                 2
        bTriggerSupport                     1
        bTriggerUsage                       0
        bControlSize                        1
        bmaControls( 0)                    27
      VideoStreaming Interface Descriptor:
        bLength                            27
        bDescriptorType                    36
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
        bFormatIndex                        1
        bNumFrameDescriptors                7
        guidFormat                            
{59555932-0000-1000-8000-00aa00389b71}
        bBitsPerPixel                      16
        bDefaultFrameIndex                  1
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 1 fields
          Field 1 first: No
          Field pattern: Field 1 only
          bCopyProtect                      0
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                   614400
        dwMaxBitRate                 18432000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            500000
        dwFrameInterval( 2)            666666
        dwFrameInterval( 3)           1000000
        dwFrameInterval( 4)           2000000
        dwFrameInterval( 5)          10000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                   202752
        dwMaxBitRate                  6082560
        dwMaxVideoFrameBufferSize      202752
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            500000
        dwFrameInterval( 2)            666666
        dwFrameInterval( 3)           1000000
        dwFrameInterval( 4)           2000000
        dwFrameInterval( 5)          10000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                   153600
        dwMaxBitRate                  4608000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            500000
        dwFrameInterval( 2)            666666
        dwFrameInterval( 3)           1000000
        dwFrameInterval( 4)           2000000
        dwFrameInterval( 5)          10000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                    50688
        dwMaxBitRate                  1520640
        dwMaxVideoFrameBufferSize       50688
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            500000
        dwFrameInterval( 2)            666666
        dwFrameInterval( 3)           1000000
        dwFrameInterval( 4)           2000000
        dwFrameInterval( 5)          10000000
      VideoStreaming Interface Descriptor:
        bLength                            50
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            160
        wHeight                           120
        dwMinBitRate                    38400
        dwMaxBitRate                  1152000
        dwMaxVideoFrameBufferSize       38400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  6
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            500000
        dwFrameInterval( 2)            666666
        dwFrameInterval( 3)           1000000
        dwFrameInterval( 4)           2000000
        dwFrameInterval( 5)          10000000
      VideoStreaming Interface Descriptor:
        bLength                            38
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         6
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                           960
        dwMinBitRate                  2457600
        dwMaxBitRate                 22118400
        dwMaxVideoFrameBufferSize     2457600
        dwDefaultFrameInterval        1111111
        bFrameIntervalType                  3
        dwFrameInterval( 0)           1111111
        dwFrameInterval( 1)           2000000
        dwFrameInterval( 2)          10000000
      VideoStreaming Interface Descriptor:
        bLength                            38
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         7
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                          1024
        dwMinBitRate                  2621440
        dwMaxBitRate                 23592960
        dwMaxVideoFrameBufferSize     2621440
        dwDefaultFrameInterval        1111111
        bFrameIntervalType                  3
        dwFrameInterval( 0)           1111111
        dwFrameInterval( 1)           2000000
        dwFrameInterval( 2)          10000000
      VideoStreaming Interface Descriptor:
        bLength                            34
        bDescriptorType                    36
        bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
        bEndpointAddress                    0
        bNumImageSizePatterns               7
        wWidth( 0)                        640
        wHeight( 0)                       480
        wWidth( 1)                        352
        wHeight( 1)                       288
        wWidth( 2)                        320
        wHeight( 2)                       240
        wWidth( 3)                        176
        wHeight( 3)                       144
        wWidth( 4)                        160
        wHeight( 4)                       120
        wWidth( 5)                       1280
        wHeight( 5)                       960
        wWidth( 6)                       1280
        wHeight( 6)                      1024
        bNumCompressionPatterns             7
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     1 (BT.709,sRGB)
        bTransferCharacteristics            1 (BT.709)
        bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
    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     0x0080  1x 128 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     0x0100  1x 256 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     0x0320  1x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      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     0x0b20  2x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      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     0x1320  3x 800 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       6
      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)


>
> Best regards,
>
> Laurent Pinchart

Hope it helps. Sunday I'll repeat the tests for the Phillips.

Ricardo

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to