Re: [PATCH] Fix wrong register mask in gspca/sonixj.c

2011-07-21 Thread Jean-Francois Moine
On Thu, 21 Jul 2011 03:43:13 -0700 (PDT) Luiz Ramos wrote: > Now my doubts. Unless I misunderstood something, it seems these are > the our assumptions regarding reg01 and reg17: > > - reg01 bit 6 is set when bridge runs at 48 MHz; if reset, 24 MHz > - reg17 bits 0..4 is a mask for dividing a

Re: [PATCH] Fix wrong register mask in gspca/sonixj.c

2011-07-21 Thread Luiz Ramos
Francois Moine > Assunto: Re: [PATCH] Fix wrong register mask in gspca/sonixj.c > Para: "Luiz Ramos" > Cc: linux-media@vger.kernel.org > Data: Quarta-feira, 20 de Julho de 2011, 8:12 > On Mon, 18 Jul 2011 18:39:14 -0700 > (PDT) > Luiz Ramos > wrote: >     [snip] &

Re: [PATCH] Fix wrong register mask in gspca/sonixj.c

2011-07-20 Thread Jean-Francois Moine
On Mon, 18 Jul 2011 18:39:14 -0700 (PDT) Luiz Ramos wrote: [snip] > I noticed that in 640x480 the device worked fine, but in 320x240 and > 160x120 it didn't (I mean: the image is dark). Or'ing reg17 with 0x04 > in line 2535 (as it's currently done for VGA) is sufficient to make > the webca

Re: [PATCH] Fix wrong register mask in gspca/sonixj.c

2011-07-18 Thread Luiz Ramos
these bits. But I can't see how this relates to exposure. For my purposes, I'll stay with that change; it's sufficient for my purposes. If you know what I did, please advise me. :-) Thanks for your help, Luiz --- Em sex, 15/7/11, Jean-Francois Moine escreveu: > De: Jean

Re: [PATCH] Fix wrong register mask in gspca/sonixj.c

2011-07-15 Thread Jean-Francois Moine
On Fri, 15 Jul 2011 02:57:43 -0700 (PDT) Luiz Ramos wrote: > Ok, I'm now grabbing this tarball: > http://moinejf.free.fr/gspca-2.13.2.tar.gz. > > The site also features a (some) git repository(ies) but I understood > you mean the test version, is it right? Yes. The tarball is simpler to compile

Re: [PATCH] Fix wrong register mask in gspca/sonixj.c

2011-07-15 Thread Luiz Ramos
--- Em sex, 15/7/11, Jean-Francois Moine escreveu: > De: Jean-Francois Moine > Assunto: Re: [PATCH] Fix wrong register mask in gspca/sonixj.c > Para: linux-media@vger.kernel.org > Data: Sexta-feira, 15 de Julho de 2011, 4:48 > On Thu, 14 Jul 2011 19:08:39 -0700 > (PDT) >

Re: [PATCH] Fix wrong register mask in gspca/sonixj.c

2011-07-15 Thread Jean-Francois Moine
On Thu, 14 Jul 2011 19:08:39 -0700 (PDT) Luiz Ramos wrote: > Signed-off-by: Luiz Carlos Ramos yahoo.com.br> > > > --- a/drivers/media/video/gspca/sonixj.c2011-07-14 > 13:14:41.0 -0300 +++ > b/drivers/media/video/gspca/sonixj.c2011-07-14 > 13:22:26.0 -0300 @@ -23

[PATCH] Fix wrong register mask in gspca/sonixj.c

2011-07-14 Thread Luiz Ramos
Hello, That's the first time I submit a patch to the Linux kernel. I hope I could do it right; please forgive me in case of mistakes. The context: when migrating from Slackware 13.1 to 13.37 (kernel 2.6.33.x to 2.6.37.6), there was some sort of regression with the external webcam installed at