Re: PATCH: gspca-mercurial SN9C103 fixes
Hans de Goede <[email protected]> Thu, 10 Jul 2008 00:12:49 +0200
| Newsgroups | gmane.linux.drivers.spca50x.devel |
|---|---|
| Message-ID | <[email protected]> |
Andoni Zubimendi wrote:
> Hi!
>
> With this patch my webcam works better. It works fine in 320x240.The
> brightness and contrast can't be adjusted yet.
>
I have good reason to believe that the ov7630, is the same as an ov7620, I
believe this as the ov6620 and ov 6630 are the same, the only difference is the
supply voltage, so I guess the same holds true for the ov7630.
In that case, there is a datasheet which documents all the ov7630 registers
(those you set with the i2c data) here:
http://mxhaard.free.fr/spca50x/Doc/Omnivision/
> I've been working to make it work in 640x480, but I don't have a working
> patch yet. To make it work in different resolutions I need to change some
> bytes in ov7630_sensor_init_3,
Yes, I believe you need to atleast clear bit 5 off register 14, so thats an i2c
write sequence of:
{0xa0, 0x21, 0x14, 0x04, 0x00, 0x00, 0x00, 0x10}
But I notice that register 14 currently does not get written at all and its
rest value is 0x04, hmm.
Regards,
Hans
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08