I'm sending you 3 patches for testing, review and sign-off:
PATCH 1:    Updates device definitions
- adds the following device definitions:
    0c45:624c (SN9C201 + MI1320)
    0c45:6253 (SN9C201 + OV9650)
    0c45:6262 (SN9C201 + OM6802)
    0c45:628c (SN9C202 + MI1320)
    0c45:62a2 (SN9C202 + OM6802)
    0c45:62b3 (SN9C202 + OV9655)
    0c45:62be (SN9c202 + OV7663)
    045e:00f4 (SN9C202 + OV9650) Microsoft LifeCam VX-6000 (clone of 
0c45:628f)
    145f:013d (SN9C201 + OV7660) Trust WB-3600R (clone of 0c45:627b)
    04f2:a128 (SN9C202 + OV7663) Chicony Panda 7 (clone of 0c45:62be + 
EEPROM)
All VID:PID-combinations and their bridge-sensor-combinations are 
confirmed by .inf-files of MS Windows drivers.
The "clone"-devices are internally handled as Microdia-devices, but 
there is an individual dmesg-output.
PATCH 2:   Several fixes for device 624f
- fixes regression of manual exposure control
- fixes 2 incorrect numbers of bytes for I2C-writes in 
microdia_624f_start_stream()
- fixes write to wrong (bridge-) register address in 
microdia_624f_start_stream()
PATCH 3:   adds support for device 627f
- adds initialisation-function for device 627f
- merges 627f-specific reads/writes to function microdia_624f_start_stream()
- enables device 627f
As you can see, they should be tested especially by 624f and 627f-owners !
Frank
First patch breaks build on my machine:
/home/anarsoul/work/microdia/microdia: struct usb_device_id is 20 bytes.  The 
last of 38 is:
0x03 0x00 0xf2 0x04 0x28 0xa1 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00 0x00 0x00 0x00
FATAL: /home/anarsoul/work/microdia/microdia: struct usb_device_id is not 
terminated with a NULL entry!
you've forgot to terminate microdia_table in microdia-usb.c with empty entry.
other 2 patches looks OK to me. You can push them ;)
Some comments on master branch:
fps is VERY low on my 624f when I use v4l2 with master branch (its OK with 
i420 and v4l). Also it uses rgb-decoder by default (why? we can get rgb only 
by converting i420 to rgb, output stream format is mixed i420, so it's better 
to use i420 by default), and I can't switch it by specifying format=i420 in 
mplayer.
Also RGB-order is wrong (I've got wrong colors)
Regards
Vasily
Frank
OK, one GO from me :)
> I420 should be the standard palette, but I get the same results: it
> doesn't work.
>
> Frank
why? It works OK in v4l2-only branch. And it worked OK earlier :)
first of all: the patches do NOT add support for your device yet.
Yes, the Microsoft VX-6000 is definitely a 628f (SN9C202 + OV9650).
624f uses the same sensor but bridge SN9C201, which has no audio-processor.
The 202-devices seem to work with the corresponding functions of their 
201-brothers, but we need to find out the differences and therefore we 
need logs. As soon as we have a complete and valid set of logs, 628f 
will be supported.
Frank
Bilbo75 schrieb:
> Fixed. Thanks for your fast feedback !
> I420 should be the standard palette, but I get the same results: it
> doesn't work.
>
> Frank
There's performance impromevent patch for i420 624* decoder that I've sent 
before, now for master branch. Please test it :)
Also it removes old bayer2anything functions, because sn9c20* format is not 
bayer.
Frank
Frank
> I can't evaluate the performance progress (because I have a 6270), but
> the changes make sense and it doesn't break my cam.
> One "GO" from me !
Ok, thanks for response ;)
Vasily
0003-adds-support-for-device-627f.patch:1270: trailing whitespace.
        // These 2 regs controls brightness of image
0004-Perfomance-improvements-for-624-i420-decoder.patch:1598: trailing 
whitespace.
{ 0 ,  0 }, { 1 ,  0 }, { 2 ,  0 }, { 3 ,  0 }, { 4 ,  0 }, { 5 ,  0 }, 
{ 6 ,  0 }, { 7 ,  0 },
0004-Perfomance-improvements-for-624-i420-decoder.patch:1599: trailing 
whitespace.
{ 0 ,  1 }, { 1 ,  1 }, { 2 ,  1 }, { 3 ,  1 }, { 4 ,  1 }, { 5 ,  1 }, 
{ 6 ,  1 }, { 7 ,  1 },
0004-Perfomance-improvements-for-624-i420-decoder.patch:1600: trailing 
whitespace.
{ 0 ,  2 }, { 1 ,  2 }, { 2 ,  2 }, { 3 ,  2 }, { 4 ,  2 }, { 5 ,  2 }, 
{ 6 ,  2 }, { 7 ,  2 },
0004-Perfomance-improvements-for-624-i420-decoder.patch:1601: trailing 
whitespace.
{ 0 ,  3 }, { 1 ,  3 }, { 2 ,  3 }, { 3 ,  3 }, { 4 ,  3 }, { 5 ,  3 }, 
{ 6 ,  3 }, { 7 ,  3 },
warning: squelched 12 whitespace errors
warning: 17 lines add whitespace errors.
BTW I posted a GO for the improved 624x-decoder for v4l2-branch a few 
days ago.
So here is one more GO for these four patches.
GWATER
> BTW I posted a GO for the improved 624x-decoder for v4l2-branch a few
> days ago.
>
> So here is one more GO for these four patches.
>
> GWATER
Frank, push your patches ;)
You can also push my patch (performance improvement patch)
Regards
Vasily