On Fri, 24 Jul 2009 14:25:33 +0800 AceLan Kao <acelan.kao@xxxxxxxxxxxxx> wrote: > It sounds like that the Lenovo webcam(0x17ef, 0x4802) sensor and the > 0x041e, 0x405b device sensor doesn't be placed at the same direction > and the initial tables seems not so compatible. > Do you think that it would be better to split the code for these two > model of webcams? If yes, I can do some help. Hi Acelan Kao, An other guy with the 405b said that all modes were correct but 640x and 320x upside down. Looking at the .inf of the ms-win driver, it seems that the Mirror and Vertical controls exist for the mi1310_soc sensor. May you change them on ms-win? If yes, may you do a snoop to know which registers do the job? Then, in the vc032x subdriver, only the set h/v flip had to be inverted for the 2 webcam types. Otherwise, I compared the sequences of the ms-win files C0130Dev.inf (041e:405b) and usbvm323.inf (17ef:4802). The bridge sequences are close enough, but the sensors sequences are completely different, as if the sensors were different! So, it is not easy to find how the image may be upside down... BTW, I can't read your binary USB snoop. Have you any tool to read it or may you send me a more readable version? Best regards. -- Ken ar c'hentañ | ** Breizh ha Linux atav! ** Jef | http://moinejf.free.fr/ -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html