Am Mittwoch 18 Februar 2009 17:32:50 schrieb Vincenzo Bruno:
> Ok, thanks for the patch. Now it's no problem to see the image of the cam.
> Sorry but I am ignorant, I can not understand how to use the values of
> datasheets (Pages 13-19) with the instructions of debugfs that are at the
> webpage (http://groups.google.com/group/microdia/web/microdia-debugfs).
> Can you give me an example, please?!
> Thank you.
> Bye.
>
> Vincenzo
>
>
>
> 2009/2/18 GWater <[email protected]>
>
> > Am Dienstag 17 Februar 2009 20:55:56 schrieb Vincenzo Bruno:
> > > Hi, then I have got  this problems.
> > >
> > > I can not add your old patch as you can see:
> > >
> > > vince...@vinicio:~/microdia$ sudo git am 0001-Remove-MT9M001-code.patch
> > > Applying Remove MT9M001 code
> > > error: patch failed: micron.c:333
> > > error: micron.c: patch does not apply
> > > Patch failed at 0001.
> > > When you have resolved this problem run "git-am --resolved".
> > > If you would prefer to skip this patch, instead run "git-am --skip".
> > > vince...@vinicio:~/microdia$ sudo git am
> > > 0002-Update-and-extend-MT9M111-code.patch
> > > previous dotest directory .dotest still exists but mbox given.
> > > vince...@vinicio:~/microdia$ sudo git am 0003-Add-sensor-MT9M001.patch
> > > previous dotest directory .dotest still exists but mbox given.
> > > vince...@vinicio:~/microdia$ sudo git am
> > > 0004-Move-externs-for-sensor-init-arrays-to-sensor-header.patch
> > > previous dotest directory .dotest still exists but mbox given.
> > > vince...@vinicio:~/microdia$
> > >
> > > before using debugfs wanted to adjust the driver with your patch
> >
> > Please use (only) this patch.
> >
> > GWater
>
> --~--~---------~--~----~------------~-------~--~----~
> 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
> -~----------~----~----~----~------~----~------~--~---

No problem.

I assume you have basic understanding of the hexadecimal and binary 
represantations of integers. (wikipedia it if you don't.)


Firstr step is running mplayer to monitor the results while why change the 
settings (we keep it running in the backround.)
the image is very dark. therfore we lighten it up using the gain on register 
0x35:
$ echo 0x35 > sensor.address
we read the current value in case we need to reset to it afterwards:
$ cat sensor.value16
we put in a higher value:
$ echo 0x8f00 > sensor.value16
If we like what we see in mplayer we note down:
0x35 - 0x8f00
and move on.

If your question referred to all the strange words in the datasheet I can't 
help you (they are strange to me, too - mostly I google them to get an idea).

GWater

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to