qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH 0/2] Add USB Video Class device emulation.


From: Natalia Portillo
Subject: Re: [Qemu-devel] [RFC PATCH 0/2] Add USB Video Class device emulation.
Date: Thu, 10 Jun 2010 19:47:19 +0100

Hi,

> Trying to guess the relevant descriptors:
> 
>    VideoStreaming Interface Descriptor:
>        bLength                            50
>        bDescriptorType                    36
>        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
>        bFrameIndex                         3
>        bmCapabilities                   0x00
>          Still image unsupported
>        wWidth                            320
>        wHeight                           240
>        dwMinBitRate                   768000
>        dwMaxBitRate                  4608000
>        dwMaxVideoFrameBufferSize      153600
>        dwDefaultFrameInterval         333333
>        bFrameIntervalType                  6
>        dwFrameInterval( 0)            333333
>        dwFrameInterval( 1)            400000
>        dwFrameInterval( 2)            500000
>        dwFrameInterval( 3)            666666
>        dwFrameInterval( 4)           1000000
>        dwFrameInterval( 5)           2000000
> 
>      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))
Unless there is any FRAME_MJPEG in the descriptor, the camera is as now, 
unsupported yet.
I'm working on supported cameras FRAME_UNCOMPRESSED.

>> 
>>> 
>>> Also, I tried a PWC camera which is not a V4L2_INPUT_TYPE_CAMERA and
>>> noticed that video_input_index is used uninitialized in usb_uvc_initfn
>> It's a webcam?
>> Could you give me more information?
>> Manufacturer, model, linux's module name.
> 
> usb 7-1: new full speed USB device using uhci_hcd and address 3
> usb 7-1: New USB device found, idVendor=046d, idProduct=08b6
> usb 7-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
> pwc: Logitech/Cisco VT Camera webcam detected.
The only thing I'm able to found about it is that the driver is Video4Linux 1.0 
not 2.0.
Do you have manufacturer and model?
Do you have idea of that input type v4l2 defines for it?
May you give me SSH access to a machine with that cam installed to test and 
implement?

Regards,
Natalia Portillo


reply via email to

[Prev in Thread] Current Thread [Next in Thread]