Could be an issue with autoexposure this patch should disable the
software autoexposure used on the ov7660 sensor apply iy using git
apply <name_of_patch> and see if it changes how it behaves in high
light condtions.

On Wed, Dec 24, 2008 at 12:47 AM, dEpAz <[email protected]> wrote:
> I managed to compile and load the microdia kernel module under LInux ubuntu
> intrepid (kernel 2.6.27-9-generic) to use this camera model:
> 0c45:627b, with SN9C201 bridge and OV7660 image sensor, found in
> Conceptronic Lounge'n'LOOK Flexcam
>
> Reading the compatibility list I supposed that this cam is working right,
> but when I tested it using mplayer as suggested in
> "testing-microdia-driver-draft" only worked in low light conditions. If
> something bright is in front of the camera (light sources, or even the sky),
> the image freezes, or starts flickering showing weird lines/squares during
> some seconds, after that, the camera works as expected, but if I move the
> cam, the flickering starts again. Is that an auto-exposure problem?.
>
> Using the amsn video configuration wizard the results are worst, the image
> flickers or freezes permanently, only stops if the camera points to a darker
> location.
>
> Kopete crashes when the cam is plugged and the microdia module is loaded.
>
> Amsn and mplayer show the same errors:
>
> Some mplayer log:
> v4l2: select timeout ??% ??,?% 0 0
> v4l2: select timeout ??% ??,?% 0 0
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 6 more bits
> v4l2: select timeout ??% ??,?% 0 0
> libv4lconvert: Error decompressing JPEG: unknown huffman code: 0000ffd9
> libv4lconvert: Error decompressing JPEG: unknown huffman code: 0000ffd9
> v4l2: select timeout ??% ??,?% 0 0
> v4l2: select timeout ??% ??,?% 0 0
> v4l2: select timeout ??% ??,?% 0 0
> v4l2: select timeout ??% ??,?% 0 0
> libv4lconvert: Error decompressing JPEG: unknown huffman code: 0000ffd9
> libv4lconvert: Error decompressing JPEG: unknown huffman code: 0000ffd9
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more bits
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more bits
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more bits
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
>
>
> Some amsn log:
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 4 more bits
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more bits
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 4 more bits
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 4 more bits
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more bits
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 5 more bits
> libv4lconvert: Error decompressing JPEG: unknown huffman code: 0000ffd9
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more bits
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 8 more bits
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
> libv4lconvert: Error decompressing JPEG: fill_nbits error: need 2 more bits
>
> Screenshots/Captures:
> mplayer:
> http://img529.imageshack.us/img529/350/mplayercapqq4.png
> amsn:
> http://img214.imageshack.us/img214/2189/amsncapco0.png
>
> Sorry my english ;). If you need more information let me know.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

diff --git a/microdia-dev.c b/microdia-dev.c
index 313aa1a..dfebd55 100644
--- a/microdia-dev.c
+++ b/microdia-dev.c
@@ -83,7 +83,7 @@ static struct sensor_info sensors[] = {
 		.set_auto_gain = ov_set_autogain,
 		.hstart = 1,
 		.vstart = 1,
-		.get_yavg = ov965x_get_yavg,
+		//.get_yavg = ov965x_get_yavg,
 		.min_yavg = 30,
 		.max_yavg = 60,
 		.min_stable_yavg = 32,

Reply via email to