Thank you. I also found this site where there is a patched uvcvideo
driver for the camera I have. However it seems to be based on an older
version of uvcvideo and so I get some error when I try to insert the
uvcvideo module with the latest version of uvcvideo:

[441559.508487] uvcvideo: disagrees about version of symbol
v4l_compat_translate_ioctl
[441559.508497] uvcvideo: Unknown symbol v4l_compat_translate_ioctl
[441559.509189] uvcvideo: disagrees about version of symbol video_devdata
[441559.509192] uvcvideo: Unknown symbol video_devdata
[441559.510182] uvcvideo: disagrees about version of symbol
video_unregister_device
[441559.510186] uvcvideo: Unknown symbol video_unregister_device
[441559.510516] uvcvideo: disagrees about version of symbol video_device_alloc
[441559.510519] uvcvideo: Unknown symbol video_device_alloc
[441559.510744] uvcvideo: disagrees about version of symbol
video_register_device
[441559.510747] uvcvideo: Unknown symbol video_register_device
[441559.511368] uvcvideo: disagrees about version of symbol video_usercopy
[441559.511371] uvcvideo: Unknown symbol video_usercopy
[441559.511468] uvcvideo: disagrees about version of symbol video_device_release
[441559.511471] uvcvideo: Unknown symbol video_device_release

I will look in to it on a different computer that has no uvcvideo yet.
http://unicap-imaging.org/blog/index.php?/archives/22-Software-updates-for-The-Imaging-Source-CMOS-cameras.html

Thank you


Basti



2009/3/10 Paulo Assis <[email protected]>:
> If the data is in bayer mode you could have a look at guvcview code
> (colorspaces.c) there you will find conversion functions for bayer to
> yuv, just apply the appropriate function for decoding in uvcGrab
> function at v4l2uvc.c.
>
> Best regards,
> Paulo
>
>
> Sebastian Scherer escreveu:
>> Hi,
>> I tried a raw dump with luvcview -c. The resulting file is 744x480
>> big. With the following commands I can decode the image properly in
>> matlab:
>> fid = fopen('frame000.raw');
>> A=fread(fid,357120,'uchar');
>> Ares = reshape(A,744,480);
>> imshow(demosaic(uint8(Ares),'grbg'))
>>
>> Is there a way I could hack the driver to produce the same result?
>> This would be much more convient (and efficient) to use the data in
>> some vision code I am writing. I tried changing
>>       .name           = "YUV 4:2:2 (YUYV)",
>>               .guid           = UVC_GUID_FORMAT_YUY2,
>>               .fcc            = V4L2_PIX_FMT_YUYV,
>>
>> the fcc to
>>  V4L2_PIX_FMT_SBGGR8 but that caused a segfault with luvcview. Is
>> there a way I could force it to use bayer?
>> Thank you
>>
>>
>> Sebastian
>>
>>
>> 2009/3/9 Sebastian Scherer <[email protected]>:
>>
>>> Hi,
>>> Thank you so much for your help!
>>>
>>> How do I capture raw frames?
>>>
>>> What would it take to get the single frame capture implemented?
>>>
>>> Another strange thing is that the camera also supports 60 frames per
>>> second and it does not show up as a format. Could this be related to
>>> the 372 size?
>>>
>>> This is the output from guvcview --verbose:
>>> guvcview 1.0.2
>>> video_device: /dev/video0
>>> vid_sleep: 0
>>> resolution: 372 x 480
>>> windowsize: 480 x 700
>>> vert pane: 578
>>> spin behavior: 0
>>> mode: uyvy
>>> fps: 1/30
>>> Display Fps: 0
>>> bpp: 0
>>> hwaccel: 1
>>> grabmethod: 1
>>> avi_format: 2
>>> sound: 0
>>> sound Device: 2
>>> sound samp rate: 0
>>> sound Channels: 0
>>> Sound Block Size: 1 seconds
>>> Sound Format: 80
>>> Sound bit Rate: 160 Kbps
>>> Pan Step: 2 degrees
>>> Tilt Step: 2 degrees
>>> Video Filter Flags: 0
>>> image inc: 0
>>> profile(default):/home/ulb/default.gpfl
>>> language catalog=> dir:/usr/share/locale type�ػrï�...@�gtk20
>>> lang:en_US.UTF-8 cat:guvcview.mo
>>> uyvy: setting format to 1498831189
>>> video device: /dev/video0
>>> /dev/video0 - device 1
>>> Init. DFx 21AUC03 (location: usb-0000:00:1a.7-2)
>>> { pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
>>> { discrete: width = 372, height = 480 }
>>> Â  Â  Â  Â Time interval between frame: 1/30,
>>> { discrete: width = 320, height = 480 }
>>> Â  Â  Â  Â Time interval between frame: 1/30,
>>> { pixelformat = 'UYVY', description = 'YUV 4:2:2 (UYVY)' }
>>> { discrete: width = 372, height = 480 }
>>> Â  Â  Â  Â Time interval between frame: 1/30,
>>> { discrete: width = 320, height = 480 }
>>> Â  Â  Â  Â Time interval between frame: 1/30,
>>> checking format: 1498831189
>>> vid:199e
>>> pid:8202
>>> driver:uvcvideo
>>> Controls:
>>> control[0]: 0x980913 Â Gain, 16:1:64, default 16
>>> control[1]: 0x9a0901 Â Exposure, Auto, 0:1:3, default 6
>>> control[2]: 0x9a0902 Â Exposure (Absolute), 1:1:2550, default 127
>>> resolutions of 2º format=2
>>> frame rates of 1º resolution=1
>>> Def. Res: 0 Â numb. fps:1
>>> --------------------------------------- device #0
>>> [ Default Input, Default Output ]
>>> Name   Â  Â  Â  Â  Â  Â  Â  Â  Â  = /dev/dsp
>>> Host API Â  Â  Â  Â  Â  Â  Â  Â  = OSS
>>> Max inputs = 16, Max outputs = 16
>>> Def. low input latency   =   Â 0.012
>>> Def. low output latency  =   Â 0.012
>>> Def. high input latency  =   Â 0.046
>>> Def. high output latency = Â  Â 0.046
>>> Def. sample rate   Â  Â  Â  = 44100.00
>>> --------------------------------------- device #1
>>> Name   Â  Â  Â  Â  Â  Â  Â  Â  Â  = HDA Intel: ALC260 Analog (hw:0,0)
>>> Host API Â  Â  Â  Â  Â  Â  Â  Â  = ALSA
>>> Max inputs = 2, Max outputs = 2
>>> Def. low input latency   =   Â 0.012
>>> Def. low output latency  =   Â 0.012
>>> Def. high input latency  =   Â 0.046
>>> Def. high output latency = Â  Â 0.046
>>> Def. sample rate   Â  Â  Â  = 44100.00
>>> --------------------------------------- device #2
>>> Name   Â  Â  Â  Â  Â  Â  Â  Â  Â  = HDA Intel: ALC260 Digital (hw:0,1)
>>> Host API Â  Â  Â  Â  Â  Â  Â  Â  = ALSA
>>> Max inputs = 0, Max outputs = 2
>>> Def. low input latency   =   -1.000
>>> Def. low output latency  =   Â 0.012
>>> Def. high input latency  =   -1.000
>>> Def. high output latency = Â  Â 0.046
>>> Def. sample rate   Â  Â  Â  = 44100.00
>>> --------------------------------------- device #3
>>> Name   Â  Â  Â  Â  Â  Â  Â  Â  Â  = front
>>> Host API Â  Â  Â  Â  Â  Â  Â  Â  = ALSA
>>> Max inputs = 0, Max outputs = 2
>>> Def. low input latency   =   -1.000
>>> Def. low output latency  =   Â 0.012
>>> Def. high input latency  =   -1.000
>>> Def. high output latency = Â  Â 0.046
>>> Def. sample rate   Â  Â  Â  = 44100.00
>>> --------------------------------------- device #4
>>> Name   Â  Â  Â  Â  Â  Â  Â  Â  Â  = surround40
>>> Host API Â  Â  Â  Â  Â  Â  Â  Â  = ALSA
>>> Max inputs = 0, Max outputs = 2
>>> Def. low input latency   =   -1.000
>>> Def. low output latency  =   Â 0.012
>>> Def. high input latency  =   -1.000
>>> Def. high output latency = Â  Â 0.046
>>> Def. sample rate   Â  Â  Â  = 44100.00
>>> --------------------------------------- device #5
>>> Name   Â  Â  Â  Â  Â  Â  Â  Â  Â  = surround51
>>> Host API Â  Â  Â  Â  Â  Â  Â  Â  = ALSA
>>> Max inputs = 0, Max outputs = 2
>>> Def. low input latency   =   -1.000
>>> Def. low output latency  =   Â 0.012
>>> Def. high input latency  =   -1.000
>>> Def. high output latency = Â  Â 0.046
>>> Def. sample rate   Â  Â  Â  = 44100.00
>>> --------------------------------------- device #6
>>> Name   Â  Â  Â  Â  Â  Â  Â  Â  Â  = surround71
>>> Host API Â  Â  Â  Â  Â  Â  Â  Â  = ALSA
>>> Max inputs = 0, Max outputs = 2
>>> Def. low input latency   =   -1.000
>>> Def. low output latency  =   Â 0.012
>>> Def. high input latency  =   -1.000
>>> Def. high output latency = Â  Â 0.046
>>> Def. sample rate   Â  Â  Â  = 44100.00
>>> --------------------------------------- device #7
>>> Name   Â  Â  Â  Â  Â  Â  Â  Â  Â  = iec958
>>> Host API Â  Â  Â  Â  Â  Â  Â  Â  = ALSA
>>> Max inputs = 0, Max outputs = 2
>>> Def. low input latency   =   -1.000
>>> Def. low output latency  =   Â 0.012
>>> Def. high input latency  =   -1.000
>>> Def. high output latency = Â  Â 0.046
>>> Def. sample rate   Â  Â  Â  = 44100.00
>>> --------------------------------------- device #8
>>> Name   Â  Â  Â  Â  Â  Â  Â  Â  Â  = spdif
>>> Host API Â  Â  Â  Â  Â  Â  Â  Â  = ALSA
>>> Max inputs = 0, Max outputs = 2
>>> Def. low input latency   =   -1.000
>>> Def. low output latency  =   Â 0.012
>>> Def. high input latency  =   -1.000
>>> Def. high output latency = Â  Â 0.046
>>> Def. sample rate   Â  Â  Â  = 44100.00
>>> --------------------------------------- device #9
>>> [ Default ALSA Input, Default ALSA Output ]
>>> Name   Â  Â  Â  Â  Â  Â  Â  Â  Â  = default
>>> Host API Â  Â  Â  Â  Â  Â  Â  Â  = ALSA
>>> Max inputs = 128, Max outputs = 128
>>> Def. low input latency   =   Â 0.043
>>> Def. low output latency  =   Â 0.043
>>> Def. high input latency  =   Â 0.046
>>> Def. high output latency = Â  Â 0.046
>>> Def. sample rate   Â  Â  Â  = 44100.00
>>> --------------------------------------- device #10
>>> Name   Â  Â  Â  Â  Â  Â  Â  Â  Â  = dmix
>>> Host API Â  Â  Â  Â  Â  Â  Â  Â  = ALSA
>>> Max inputs = 0, Max outputs = 2
>>> Def. low input latency   =   -1.000
>>> Def. low output latency  =   Â 0.043
>>> Def. high input latency  =   -1.000
>>> Def. high output latency = Â  Â 0.043
>>> Def. sample rate   Â  Â  Â  = 48000.00
>>> ----------------------------------------------
>>> SampleRate:0 Channels:0
>>> Video driver: x11
>>> A window manager is available
>>>
>>>
>>>
>>> 2009/3/9 Paulo Assis <[email protected]>:
>>>
>>>> For the list (I keep pressing the reply button, and forget to change the
>>>> address)
>>>>
>>>> Sebastian,
>>>>
>>>> Sebastian Scherer escreveu:
>>>>
>>>>> Hi,
>>>>> Thank you for your replies. I tried guvcview with both formats but the
>>>>> output seems to be the same. It would be fine with me to manually
>>>>> correct the output.
>>>>>
>>>>>
>>>>>
>>>> What is the console output from guvcview --verbose ?
>>>> Setting an unsupported device format would only make guvcview drop back
>>>> to the first supported device format.
>>>>
>>>>
>>>>> However I would really like to capture the full resolution images.
>>>>> How can I use capture still images?
>>>>>
>>>>>
>>>>>
>>>> I don't think that's implemented in linux uvc.
>>>>
>>>>
>>>>
>>>>> Also the 372 does not really make sense because this should not be a
>>>>> frame size that is supported by the camera. Maybe halving the size
>>>>> messes up the encoding?
>>>>> Thank you
>>>>>
>>>>>
>>>>>
>>>> Your best bet is to grab a RAW frame and try to analyse it.
>>>> I would say that the 372 pix line needs to be converted to 744, UYVY has
>>>> 2 bytes per pixel, although you need 4 bytes to render 2 pixels, in this
>>>> case it seems you are getting a format with 1 byte per pixel.
>>>>
>>>>> Sebastian
>>>>>
>>>>>
>>>>> 2009/3/9 Paulo Assis <[email protected]>:
>>>>>
>>>>>
>>>>>> Sebastien, I've taken another look at luvcview output and it reports
>>>>>> UYVY not YUYV, luvcview doesn't support this format I believe,
>>>>>> you should try the latest version from guvcview (1.0.2), and see if
>>>>>> outputs the frame correctly.
>>>>>>
>>>>>> Best regards,
>>>>>> Paulo
>>>>>>
>>>>>> Sebastian Scherer escreveu:
>>>>>>
>>>>>>
>>>>>>> Hi,
>>>>>>> After looking a little more carefully it might be that the resolution
>>>>>>> problem is related to de-bayering.
>>>>>>> I uploaded a sample image captured from the video:
>>>>>>> http://www.frc.ri.cmu.edu/~basti/01-20090306125232-17.jpg
>>>>>>>
>>>>>>> Does anybody have any insight what the problem could be?
>>>>>>>
>>>>>>> I downloaded the latest drivers and used them on Ubuntu 8.10 but the
>>>>>>> problem persists.
>>>>>>> Thank you
>>>>>>>
>>>>>>> Sebastian
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Hi,
>>>>>>>> I have a problem with this camera.
>>>>>>>> http://www.theimagingsource.com/en_US/products/oem-cameras/usb-cmos-color/dfm21auc03ml/
>>>>>>>> It shows a picture but I cannot set the frame size and resolution of
>>>>>>>> the camera. The camera supports
>>>>>>>> 60 frames per second and a resolution of 744x480 YUV2. However I
>>>>>>>> always get 372x480 and the colors are wrong.
>>>>>>>>
>>>>>>>> This is what dmesg reports:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> [179400.340015] usb 6-1: new high speed USB device using ehci_hcd and 
>>>>>>>> address 3
>>>>>>>> [179400.777492] usb 6-1: configuration #1 chosen from 1 choice
>>>>>>>> [179400.777790] uvcvideo: Found UVC 1.00 device DFx 21AUC03 (199e:8202)
>>>>>>>> [179401.306390] input: DFx 21AUC03 as
>>>>>>>> /devices/pci0000:00/0000:00:1a.7/usb6/6-1/6-1:1.0/input/input7
>>>>>>>>
>>>>>>>> This is whalt lsusb reports:
>>>>>>>> Bus 006 Device 003: ID 199e:8202 The Imaging Source Europe GmbH
>>>>>>>> Device Descriptor:
>>>>>>>>  bLength   Â  Â  Â  Â  Â  Â  Â 18
>>>>>>>>  bDescriptorType   Â  Â  Â  1
>>>>>>>> Â bcdUSB Â  Â  Â  Â  Â  Â  Â  2.00
>>>>>>>>  bDeviceClass   Â  Â  Â  Â 239 Miscellaneous Device
>>>>>>>>  bDeviceSubClass   Â  Â  Â  2 ?
>>>>>>>>  bDeviceProtocol   Â  Â  Â  1 Interface Association
>>>>>>>> Â bMaxPacketSize0 Â  Â  Â  Â 64
>>>>>>>>  idVendor   Â  Â  Â  Â  0x199e The Imaging Source Europe GmbH
>>>>>>>>  idProduct   Â  Â  Â  Â 0x8202
>>>>>>>>  bcdDevice   Â  Â  Â  Â  Â 8.13
>>>>>>>>  iManufacturer   Â  Â  Â  Â  2 The Imaging Source Europe GmbH
>>>>>>>>  iProduct   Â  Â  Â  Â  Â  Â  Â 1 DFx 21AUC03
>>>>>>>>  iSerial   Â  Â  Â  Â  Â  Â  Â  3 38800104
>>>>>>>>  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   Â  Â  Â  Â  Â  Â  0
>>>>>>> Â  Â Interface Descriptor:
>>>>>>>   Â  Â bLength   Â  Â  Â  Â  Â  Â  Â  9
>>>>>>>   Â  Â bDescriptorType   Â  Â  Â  4
>>>>>>>   Â  Â bInterfaceNumber   Â  Â  Â 0
>>>>>>>   Â  Â bAlternateSetting   Â  Â  0
>>>>>>>   Â  Â bNumEndpoints   Â  Â  Â  Â  1
>>>>>>>   Â  Â bInterfaceClass   Â  Â  Â 14 Video
>>>>>>>   Â  Â bInterfaceSubClass   Â  Â 1 Video Control
>>>>>>>   Â  Â bInterfaceProtocol   Â  Â 0
>>>>>>>   Â  Â iInterface   Â  Â  Â  Â  Â  Â 0
>>>>>>> Â  Â  Â VideoControl Interface Descriptor:
>>>>>>>   Â  Â  Â bLength   Â  Â  Â  Â  Â  Â  Â 13
>>>>>>>   Â  Â  Â bDescriptorType   Â  Â  Â 36
>>>>>>>   Â  Â  Â bDescriptorSubtype   Â  Â 1 (HEADER)
>>>>>>> Â  Â  Â  Â bcdUVC Â  Â  Â  Â  Â  Â  Â  1.00
>>>>>>>   Â  Â  Â wTotalLength   Â  Â  Â  Â  78
>>>>>>>   Â  Â  Â dwClockFrequency   Â  Â  Â 6.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   Â  Â  Â  Â  0x0000001a
>>>>>>> Â  Â  Â  Â  Â Auto-Exposure Mode
>>>>>>> Â  Â  Â  Â  Â Exposure Time (Absolute)
>>>>>>> Â  Â  Â  Â  Â Exposure Time (Relative)
>>>>>>> Â  Â  Â VideoControl Interface Descriptor:
>>>>>>>   Â  Â  Â bLength   Â  Â  Â  Â  Â  Â  Â 12
>>>>>>>   Â  Â  Â bDescriptorType   Â  Â  Â 36
>>>>>>>   Â  Â  Â bDescriptorSubtype   Â  Â 5 (PROCESSING_UNIT)
>>>>>>> Â  Â  Â Warning: Descriptor too short
>>>>>>> Â  Â  Â  Â bUnitID Â  Â  Â  Â  Â  Â  Â  Â  3
>>>>>>> Â  Â  Â  Â bSourceID Â  Â  Â  Â  Â  Â  Â  1
>>>>>>>   Â  Â  Â wMaxMultiplier   Â  Â  Â  Â 0
>>>>>>>   Â  Â  Â bControlSize   Â  Â  Â  Â  Â 3
>>>>>>>   Â  Â  Â bmControls   Â  0x00000200
>>>>>>> Â  Â  Â  Â  Â Gain
>>>>>>>   Â  Â  Â iProcessing   Â  Â  Â  Â  Â  0
>>>>>>>   Â  Â  Â bmVideoStandards   Â  0x1a
>>>>>>> Â  Â  Â  Â  Â NTSC - 525/60
>>>>>>> Â  Â  Â  Â  Â SECAM - 625/50
>>>>>>> Â  Â  Â  Â  Â NTSC - 625/50
>>>>>>> Â  Â  Â VideoControl Interface Descriptor:
>>>>>>>   Â  Â  Â bLength   Â  Â  Â  Â  Â  Â  Â 26
>>>>>>>   Â  Â  Â bDescriptorType   Â  Â  Â 36
>>>>>>>   Â  Â  Â bDescriptorSubtype   Â  Â 6 (EXTENSION_UNIT)
>>>>>>> Â  Â  Â  Â bUnitID Â  Â  Â  Â  Â  Â  Â  Â  4
>>>>>>>   Â  Â  Â guidExtensionCode   Â  Â  Â  
>>>>>>> {2652215a-8932-5641-894a-5c557cdf9664}
>>>>>>>   Â  Â  Â bNumControl   Â  Â  Â  Â  Â  4
>>>>>>>   Â  Â  Â bNrPins   Â  Â  Â  Â  Â  Â  Â  1
>>>>>>> Â  Â  Â  Â baSourceID( 0) Â  Â  Â  Â  Â 3
>>>>>>>   Â  Â  Â bControlSize   Â  Â  Â  Â  Â 1
>>>>>>> Â  Â  Â  Â bmControls( 0) Â  Â  Â  0x1f
>>>>>>>   Â  Â  Â iExtension   Â  Â  Â  Â  Â  Â 0
>>>>>>> Â  Â  Â VideoControl Interface Descriptor:
>>>>>>>   Â  Â  Â bLength   Â  Â  Â  Â  Â  Â  Â  9
>>>>>>>   Â  Â  Â bDescriptorType   Â  Â  Â 36
>>>>>>>   Â  Â  Â bDescriptorSubtype   Â  Â 3 (OUTPUT_TERMINAL)
>>>>>>> Â  Â  Â  Â bTerminalID Â  Â  Â  Â  Â  Â  2
>>>>>>>   Â  Â  Â wTerminalType   Â  Â 0x0101 USB Streaming
>>>>>>>   Â  Â  Â bAssocTerminal   Â  Â  Â  Â 0
>>>>>>> Â  Â  Â  Â bSourceID Â  Â  Â  Â  Â  Â  Â  4
>>>>>>>   Â  Â  Â iTerminal   Â  Â  Â  Â  Â  Â  0
>>>>>>> Â  Â  Â Endpoint Descriptor:
>>>>>>>   Â  Â  Â bLength   Â  Â  Â  Â  Â  Â  Â  7
>>>>>>>   Â  Â  Â bDescriptorType   Â  Â  Â  5
>>>>>>>   Â  Â  Â bEndpointAddress   Â  0x81  EP 1 IN
>>>>>>>   Â  Â  Â bmAttributes   Â  Â  Â  Â  Â 3
>>>>>>>   Â  Â  Â  Â Transfer Type   Â  Â  Â  Â  Â Interrupt
>>>>>>>   Â  Â  Â  Â Synch Type   Â  Â  Â  Â  Â  Â  None
>>>>>>>   Â  Â  Â  Â Usage Type   Â  Â  Â  Â  Â  Â  Data
>>>>>>>   Â  Â  Â wMaxPacketSize   Â  0x0008  1x 8 bytes
>>>>>>>   Â  Â  Â bInterval   Â  Â  Â  Â  Â  Â  9
>>>>>>> Â  Â Interface Descriptor:
>>>>>>>   Â  Â bLength   Â  Â  Â  Â  Â  Â  Â  9
>>>>>>>   Â  Â bDescriptorType   Â  Â  Â  4
>>>>>>>   Â  Â bInterfaceNumber   Â  Â  Â 1
>>>>>>>   Â  Â bAlternateSetting   Â  Â  0
>>>>>>>   Â  Â bNumEndpoints   Â  Â  Â  Â  1
>>>>>>>   Â  Â bInterfaceClass   Â  Â  Â 14 Video
>>>>>>>   Â  Â bInterfaceSubClass   Â  Â 2 Video Streaming
>>>>>>>   Â  Â bInterfaceProtocol   Â  Â 0
>>>>>>>   Â  Â iInterface   Â  Â  Â  Â  Â  Â 0
>>>>>>> Â  Â  Â VideoStreaming Interface Descriptor:
>>>>>>>   Â  Â  Â bLength   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 15
>>>>>>>   Â  Â  Â bDescriptorType   Â  Â  Â  Â  Â  Â  Â  Â  Â 36
>>>>>>>   Â  Â  Â bDescriptorSubtype   Â  Â  Â  Â  Â  Â  Â  Â 1 (INPUT_HEADER)
>>>>>>>   Â  Â  Â bNumFormats   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 2
>>>>>>>   Â  Â  Â wTotalLength   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 217
>>>>>>>   Â  Â  Â bEndPointAddress   Â  Â  Â  Â  Â  Â  Â  Â 130
>>>>>>>   Â  Â  Â bmInfo   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 0
>>>>>>>   Â  Â  Â bTerminalLink   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  2
>>>>>>>   Â  Â  Â bStillCaptureMethod   Â  Â  Â  Â  Â  Â  Â  2
>>>>>>>   Â  Â  Â bTriggerSupport   Â  Â  Â  Â  Â  Â  Â  Â  Â  1
>>>>>>>   Â  Â  Â bTriggerUsage   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  0
>>>>>>>   Â  Â  Â bControlSize   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 1
>>>>>>> Â  Â  Â  Â bmaControls( 0) Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 27
>>>>>>> Â  Â  Â  Â bmaControls( 1) Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 27
>>>>>>> Â  Â  Â VideoStreaming Interface Descriptor:
>>>>>>>   Â  Â  Â bLength   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 27
>>>>>>>   Â  Â  Â bDescriptorType   Â  Â  Â  Â  Â  Â  Â  Â  Â 36
>>>>>>>   Â  Â  Â bDescriptorSubtype   Â  Â  Â  Â  Â  Â  Â  Â 4 
>>>>>>> (FORMAT_UNCOMPRESSED)
>>>>>>>   Â  Â  Â bFormatIndex   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 1
>>>>>>>   Â  Â  Â bNumFrameDescriptors   Â  Â  Â  Â  Â  Â  Â 2
>>>>>>> Â  Â  Â  Â 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   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 30
>>>>>>>   Â  Â  Â bDescriptorType   Â  Â  Â  Â  Â  Â  Â  Â  Â 36
>>>>>>>   Â  Â  Â bDescriptorSubtype   Â  Â  Â  Â  Â  Â  Â  Â 5 
>>>>>>> (FRAME_UNCOMPRESSED)
>>>>>>>   Â  Â  Â bFrameIndex   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  1
>>>>>>>   Â  Â  Â bmCapabilities   Â  Â  Â  Â  Â  Â  Â  Â  0x00
>>>>>>> Â  Â  Â  Â  Â Still image unsupported
>>>>>>>   Â  Â  Â wWidth   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 372
>>>>>>>   Â  Â  Â wHeight   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  480
>>>>>>>   Â  Â  Â dwMinBitRate   Â  Â  Â  Â  Â  Â  Â 838992000
>>>>>>>   Â  Â  Â dwMaxBitRate   Â  Â  Â  Â  Â  Â  Â 838992000
>>>>>>>   Â  Â  Â dwMaxVideoFrameBufferSize   Â  Â 786432
>>>>>>>   Â  Â  Â dwDefaultFrameInterval   Â  Â  Â  333333
>>>>>>>   Â  Â  Â bFrameIntervalType   Â  Â  Â  Â  Â  Â  Â  Â 1
>>>>>>> Â  Â  Â  Â dwFrameInterval( 0) Â  Â  Â  Â  Â  Â 333333
>>>>>>> Â  Â  Â VideoStreaming Interface Descriptor:
>>>>>>>   Â  Â  Â bLength   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 30
>>>>>>>   Â  Â  Â bDescriptorType   Â  Â  Â  Â  Â  Â  Â  Â  Â 36
>>>>>>>   Â  Â  Â bDescriptorSubtype   Â  Â  Â  Â  Â  Â  Â  Â 5 
>>>>>>> (FRAME_UNCOMPRESSED)
>>>>>>>   Â  Â  Â bFrameIndex   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  2
>>>>>>>   Â  Â  Â bmCapabilities   Â  Â  Â  Â  Â  Â  Â  Â  0x00
>>>>>>> Â  Â  Â  Â  Â Still image unsupported
>>>>>>>   Â  Â  Â wWidth   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 320
>>>>>>>   Â  Â  Â wHeight   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  480
>>>>>>>   Â  Â  Â dwMinBitRate   Â  Â  Â  Â  Â  Â  Â 838992000
>>>>>>>   Â  Â  Â dwMaxBitRate   Â  Â  Â  Â  Â  Â  Â 838992000
>>>>>>>   Â  Â  Â dwMaxVideoFrameBufferSize   Â  Â 786432
>>>>>>>   Â  Â  Â dwDefaultFrameInterval   Â  Â  Â  333333
>>>>>>>   Â  Â  Â bFrameIntervalType   Â  Â  Â  Â  Â  Â  Â  Â 1
>>>>>>> Â  Â  Â  Â dwFrameInterval( 0) Â  Â  Â  Â  Â  Â 333333
>>>>>>> Â  Â  Â VideoStreaming Interface Descriptor:
>>>>>>>   Â  Â  Â bLength   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 11
>>>>>>>   Â  Â  Â bDescriptorType   Â  Â  Â  Â  Â  Â  Â  Â  Â 36
>>>>>>>   Â  Â  Â bDescriptorSubtype   Â  Â  Â  Â  Â  Â  Â  Â 3 
>>>>>>> (STILL_IMAGE_FRAME)
>>>>>>>   Â  Â  Â bEndpointAddress   Â  Â  Â  Â  Â  Â  Â  Â  Â 0
>>>>>>>   Â  Â  Â bNumImageSizePatterns   Â  Â  Â  Â  Â  Â  1
>>>>>>> Â  Â  Â  Â wWidth( 0) Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 744
>>>>>>> Â  Â  Â  Â wHeight( 0) Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  480
>>>>>>>   Â  Â  Â bNumCompressionPatterns   Â  Â  Â  Â  Â  1
>>>>>>> Â  Â  Â  Â bCompression( 0) Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 0
>>>>>>> Â  Â  Â VideoStreaming Interface Descriptor:
>>>>>>>   Â  Â  Â bLength   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 27
>>>>>>>   Â  Â  Â bDescriptorType   Â  Â  Â  Â  Â  Â  Â  Â  Â 36
>>>>>>>   Â  Â  Â bDescriptorSubtype   Â  Â  Â  Â  Â  Â  Â  Â 4 
>>>>>>> (FORMAT_UNCOMPRESSED)
>>>>>>>   Â  Â  Â bFormatIndex   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 2
>>>>>>>   Â  Â  Â bNumFrameDescriptors   Â  Â  Â  Â  Â  Â  Â 2
>>>>>>> Â  Â  Â  Â guidFormat
>>>>>>> {55595659-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   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 30
>>>>>>>   Â  Â  Â bDescriptorType   Â  Â  Â  Â  Â  Â  Â  Â  Â 36
>>>>>>>   Â  Â  Â bDescriptorSubtype   Â  Â  Â  Â  Â  Â  Â  Â 5 
>>>>>>> (FRAME_UNCOMPRESSED)
>>>>>>>   Â  Â  Â bFrameIndex   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  1
>>>>>>>   Â  Â  Â bmCapabilities   Â  Â  Â  Â  Â  Â  Â  Â  0x00
>>>>>>> Â  Â  Â  Â  Â Still image unsupported
>>>>>>>   Â  Â  Â wWidth   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 372
>>>>>>>   Â  Â  Â wHeight   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  480
>>>>>>>   Â  Â  Â dwMinBitRate   Â  Â  Â  Â  Â  Â  Â 838992000
>>>>>>>   Â  Â  Â dwMaxBitRate   Â  Â  Â  Â  Â  Â  Â 838992000
>>>>>>>   Â  Â  Â dwMaxVideoFrameBufferSize   Â  Â 786432
>>>>>>>   Â  Â  Â dwDefaultFrameInterval   Â  Â  Â  333333
>>>>>>>   Â  Â  Â bFrameIntervalType   Â  Â  Â  Â  Â  Â  Â  Â 1
>>>>>>> Â  Â  Â  Â dwFrameInterval( 0) Â  Â  Â  Â  Â  Â 333333
>>>>>>> Â  Â  Â VideoStreaming Interface Descriptor:
>>>>>>>   Â  Â  Â bLength   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 30
>>>>>>>   Â  Â  Â bDescriptorType   Â  Â  Â  Â  Â  Â  Â  Â  Â 36
>>>>>>>   Â  Â  Â bDescriptorSubtype   Â  Â  Â  Â  Â  Â  Â  Â 5 
>>>>>>> (FRAME_UNCOMPRESSED)
>>>>>>>   Â  Â  Â bFrameIndex   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  2
>>>>>>>   Â  Â  Â bmCapabilities   Â  Â  Â  Â  Â  Â  Â  Â  0x00
>>>>>>> Â  Â  Â  Â  Â Still image unsupported
>>>>>>>   Â  Â  Â wWidth   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 320
>>>>>>>   Â  Â  Â wHeight   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  480
>>>>>>>   Â  Â  Â dwMinBitRate   Â  Â  Â  Â  Â  Â  Â 838992000
>>>>>>>   Â  Â  Â dwMaxBitRate   Â  Â  Â  Â  Â  Â  Â 838992000
>>>>>>>   Â  Â  Â dwMaxVideoFrameBufferSize   Â  Â 786432
>>>>>>>   Â  Â  Â dwDefaultFrameInterval   Â  Â  Â  333333
>>>>>>>   Â  Â  Â bFrameIntervalType   Â  Â  Â  Â  Â  Â  Â  Â 1
>>>>>>> Â  Â  Â  Â dwFrameInterval( 0) Â  Â  Â  Â  Â  Â 333333
>>>>>>> Â  Â  Â VideoStreaming Interface Descriptor:
>>>>>>>   Â  Â  Â bLength   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 11
>>>>>>>   Â  Â  Â bDescriptorType   Â  Â  Â  Â  Â  Â  Â  Â  Â 36
>>>>>>>   Â  Â  Â bDescriptorSubtype   Â  Â  Â  Â  Â  Â  Â  Â 3 
>>>>>>> (STILL_IMAGE_FRAME)
>>>>>>>   Â  Â  Â bEndpointAddress   Â  Â  Â  Â  Â  Â  Â  Â  Â 0
>>>>>>>   Â  Â  Â bNumImageSizePatterns   Â  Â  Â  Â  Â  Â  1
>>>>>>> Â  Â  Â  Â wWidth( 0) Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 744
>>>>>>> Â  Â  Â  Â wHeight( 0) Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  480
>>>>>>>   Â  Â  Â bNumCompressionPatterns   Â  Â  Â  Â  Â  1
>>>>>>> Â  Â  Â  Â bCompression( 0) Â  Â  Â  Â  Â  Â  Â  Â  Â  Â 0
>>>>>>> Â  Â  Â VideoStreaming Interface Descriptor:
>>>>>>>   Â  Â  Â bLength   Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  6
>>>>>>>   Â  Â  Â bDescriptorType   Â  Â  Â  Â  Â  Â  Â  Â  Â 36
>>>>>>>   Â  Â  Â bDescriptorSubtype   Â  Â  Â  Â  Â  Â  Â  13 (COLORFORMAT)
>>>>>>>   Â  Â  Â bColorPrimaries   Â  Â  Â  Â  Â  Â  Â  Â  Â  0 (Unspecified)
>>>>>>>   Â  Â  Â bTransferCharacteristics   Â  Â  Â  Â  Â 0 (Unspecified)
>>>>>>>   Â  Â  Â bMatrixCoefficients   Â  Â  Â  Â  Â  Â  Â  0 (Unspecified)
>>>>>>> Â  Â  Â Endpoint Descriptor:
>>>>>>>   Â  Â  Â bLength   Â  Â  Â  Â  Â  Â  Â  7
>>>>>>>   Â  Â  Â bDescriptorType   Â  Â  Â  5
>>>>>>>   Â  Â  Â bEndpointAddress   Â  0x82  EP 2 IN
>>>>>>>   Â  Â  Â bmAttributes   Â  Â  Â  Â  Â 2
>>>>>>>   Â  Â  Â  Â Transfer Type   Â  Â  Â  Â  Â Bulk
>>>>>>>   Â  Â  Â  Â Synch Type   Â  Â  Â  Â  Â  Â  None
>>>>>>>   Â  Â  Â  Â Usage Type   Â  Â  Â  Â  Â  Â  Data
>>>>>>>   Â  Â  Â wMaxPacketSize   Â  0x0200  1x 512 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)
>>>>>>>
>>>>>>> This is what I get with lucview:
>>>>>>>
>>>>>>> luvcview 0.2.4
>>>>>>>
>>>>>>> SDL information:
>>>>>>> Â Video driver: x11
>>>>>>> Â A window manager is available
>>>>>>> Device information:
>>>>>>> Â Device path: Â /dev/video0
>>>>>>> Stream settings:
>>>>>>> Â Frame format: UYVY
>>>>>>> Â Frame size: Â  372x480 (requested size 744x480 is not supported by 
>>>>>>> device)
>>>>>>> Â Frame rate: Â  30/1 fps (requested frame rate 60 fps is not supported 
>>>>>>> by device)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Thank you!
>>>>>>> _______________________________________________
>>>>>>> Linux-uvc-devel mailing list
>>>>>>> [email protected]
>>>>>>> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> _______________________________________________
>>>>>> Linux-uvc-devel mailing list
>>>>>> [email protected]
>>>>>> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> Best regards,
>>>> Paulo
>>>>
>>>>
>>>> _______________________________________________
>>>> Linux-uvc-devel mailing list
>>>> [email protected]
>>>> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
>>>>
>>>>
>>>>
>
> _______________________________________________
> Linux-uvc-devel mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
>
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to