See if this patch helps improve the image at all. It should change the format outputted by the sensor to bayer instead of YUV.
On Tue, Jan 13, 2009 at 1:57 AM, Cagliano <[email protected]> wrote: > > Hi all > I am sorry to write to this group only for complaining but.. I have a > problem with my Microdi a6260 > > $lsusb > Bus 007 Device 008: ID 0c45:6260 Microdia PC Camera (SN9C201) > > > Basically, I have been far from the group for a while ( probably since > mid November ). I checked in to see if something changed in the > meanwhile, and I gladly see that the development continued in > supporting new webcams and improving the quality of the already > existing ones. > > In September the driver allowed me to use cheese and other > applications ( not skype, where the image quality was ugly ). > > I tried today the new driver but for me the situation didn't changed > in anything better. I mean, I keep not being able to use Skype > ( totally black screen ) but now even the situation with cheese and > mplayer ( that previously worked like a breeze ) is bad. > > If I run the following command > > $ LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so mplayer tv:// -tv \ > driver=v4l2:width=640:height=480:fps=25:device=/dev/video0 -vo > xv > > the output is the one I uploaded on files, with the name "Cagliano- > Cheese.png" > > how I build stuffs: > - sudo apt-get install libv2* > - followed the instructions on "http://groups.google.com/group/ > microdia/web/testing-microdia-driver-draft" and installed the drivers > with > # strip -g sn9c20x.ko > # mkdir -p /lib/modules/`uname -r`/kernel/drivers/media/video/ > usbvideo/ > # cp sn9c20x.ko /lib/modules/`uname -r`/kernel/drivers/media/video/ > usbvideo/ > # depmod -a > > So the question is: am I missing something? are my problems normal ( I > need to wait ) or am I doing something wrong? > > Thank you for all the help > > Ciao! > > -- > Cagliano > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
From c5b1fab37bc1b188e7d8026d154bf4e44cb56e4b Mon Sep 17 00:00:00 2001 From: Brian Johnson <[email protected]> Date: Tue, 13 Jan 2009 04:22:48 -0500 Subject: [PATCH] Change ov7670 sensor init to output raw bayer Signed-off-by: Brian Johnson <[email protected]> --- omnivision.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/omnivision.c b/omnivision.c index cbd5a59..97255cd 100644 --- a/omnivision.c +++ b/omnivision.c @@ -71,7 +71,7 @@ struct sn9c20x_i2c_regs ov7670_init[] = { {OV7670_CTL_COM7, 0x80}, {OV7670_CTL_CLKRC, 0x80}, {OV7670_CTL_TSLB, 0x04}, - {OV7670_CTL_COM7, 0x00}, + {OV7670_CTL_COM7, 0x05}, {OV7670_CTL_HREF, 0xb6}, {OV7670_CTL_VREF, 0x0a}, {OV7670_CTL_COM3, 0x00}, -- 1.5.6.3
