On Mon, Dec 1, 2008 at 10:33 AM, GWater <[EMAIL PROTECTED]> wrote: > OK, I'll try and answer a few questions... > > > Brian Johnson schrieb: >> >> First i may have missed this but what is the reasoning behind >> statically assigning the sensors based on device? >> I don't really mind statically assigning the sensor perse, I just >> perfer determing the sensor using a single method and am unsure what >> was decided was wrong with simply probing for all sensor types. > > We had to fix the probing anyway since probing, assigning > functions/parameters and initializing at the same time made life difficult. > At that point we decided to simplify the process if we already knew the > sensor.
I actually suggested taking advantage of the static information we had. I didn't actually mean that we shouldn't probe -- what I'd envisioned (and planned to code when I had time), was taking the static information and using that to guide probing, e.g. "what offset should I start probing at", such that the answer for any particular cam would usually be the offset of the actual sensor in the static array of sensors. But I never got around to a patch (because of working on the KIPR stuff, and family obligations) and the rest of the folks got tired of waiting ;-) What I was originally envisioning might not even be possible to do efficiently in C (at least not more efficiently than just iterating through the sensors and probing). Dave --~--~---------~--~----~------------~-------~--~----~ Lets make microdia webcams plug'n play, (currently plug'n pray) To post to this group, send email to [email protected] Visit us online https://groups.google.com/group/microdia -~----------~----~----~----~------~----~------~--~---
