OK I now it is a bit strange to reply my own mail but I may have found the problem. if this is not the true replay. I have not patched the kernel with the new i2c header file. trying with this insted. SO I gees the procedure is make patch and patch kernel new i2c module videodevX-20010501.tgz (tar -zxvf make make install) driver-20010316.tgz (tar -axvf make make install) (is this a 8.0.x version?) Anders Gnistrup Anders Gnistrup wrote: > Hi all > I am making a grabber that have to grab pictures every 1/25 sec. The picktures > have to be copyed to some other location for further calculations. I have > tried to do so with the standard bttv driver shiped with kernel 2.4.4. I am > using a hauppage winTV card. I have to mmap bufferes. I have made a sample > program that look like this. > > start grab buffer > shift buffer > while(1) { > start grab buffer > shift buffer > sync buffer > copy buffer > } > > but I get the same picture from both buffers (pic 0=1, 1=2, 3=4,......). The > strange thing is that i get the pictures with exact 25Hz. > > So I tried to read some doc on the net. I found a bttv 8.0.16 bttv driver that > could grab with 25Hz, and olso stated that the 7.xx could not do so. > > perfect..... > > so I have downloaded a lot of tgz files from the net but I think I miss > something. > > This is what I have tried. > > videodevX-20010501.tgz (tar -zxvf make make install) > driver-20010316.tgz (tar -axvf make make install) > from this I get > bttv-driver.c:346:9: warning: pasting "(" and "KERN_DEBUG" does not give a > valid preprocessing token > bttv-driver.c:436:25: warning: pasting "(" and ""bttv%d: PLL: is off\n"" does > not give a valid preprocessing token > and A LOT MORE... > > I olso tried this > bttv-0.8.16.tar.gz (tar -zxvf ) > patch -p1 < patch patch-v4l2-2.4.4 (does patch , but not with a clean kernel. > some setting have to be enabled) > patch -p1 < patch-v4l2-2.4.4-ac6 (gets HUNK. So I tried without this.) > > make -> a lot of errors > > What am I doing wrong? > Have I missed something? > > I have tried for 2 dayes now. Thats the reason for this mail. I gees the > answer is simple. > > Anders Gnistrup. > > _______________________________________________ > Video4linux-list mailing list > Video4linux-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/video4linux-list