Hi Torsten, Thanks for your quick response. I did exactly the same as you:
for NTSC video source: insmod kfir.o vidinmode=1 vidoutmode=0 vidinput=0 For PAL source: insmod kfir.o vidinmode=0 vidoutmode=1 vidinput=0 But got 0 byte data. I wrote a simple C program, after open the video device, it stuck in read(). What kind of system are you using? I am using an Compag PC with AMD 800Mhz. Thanks, Niu Ding >From: Torsten Howard <[EMAIL PROTECTED]> >To: "Niu Ding" <[EMAIL PROTECTED]> >Subject: Re: [mpeg2] Trying to get Kfir board to run, read 0 byte data >Date: Mon, 29 Apr 2002 19:35:41 -0500 > >It is common. You must make sure eveything is set up properly. > >You can't record NTSC with the module set PAL, and vice-versa. > >The module parameters are such that NTSC input and PAL output >are different numbered parameters, this is a common mistake. > >Here is what I use to record for NTSC. >-insmod kfir.o vidinmode=1 vidoutmode=0 vidinput=0 > > >Torsten > > > > > > >On Mon, 29 Apr 2002 14:50:40 -0700 >"Niu Ding" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I got two BMK Kfir Mpeg2 PCI encoder boards recently, and was unable to >make > > them > > working under Red Hat Linux 7.2. > > > > After loading the modules, I got from /var/log/messages: > > > > Linux video capture interface: v1.00 > > i2c-core.o: i2c core module > > i2c-algo-bit.o: i2c bit algorithm module > > i2c-core.o: driver SAA7113 registered. > > saa7113: init_module > > kfir: Kfir board revision 5e > > loaded microcode with length 32385 > > kfir: Reset Altera > > kfir: done > > kfir: Reset Kfir and PLL ... done > > ADSP loading successful > > kfir: ADSP initialization...done > > kfir: segment: 0 Done > > kfir: segment: 1 Done > > kfir: segment: 2 Done > > kfir: segment: 3 Done > > kfir: segment: 4 Done > > kfir: segment: 5 Done > > kfir: Download parameters...kfir: done > > saa7113: version=11 > > saa7113: attaching SAA7113 at 0x4a > > kfir: saa7113 decoder attached > > kfir: i2c attach [SAA7113] > > i2c-core.o: client [SAA7113] registered to adapter [kfir #0](pos. 0). > > saa7113: status=81 > > saa7113: attached to adapter kfir #0 > > i2c-core.o: adapter kfir #0 registered as adapter 0. > > kfir: Found i2c device at: 0x4a > > kfir: decoder status=7 > > kfir: start recording > > kfir: Download parameters...kfir: done > > eready=00200001 > > > > Everything seems Ok, so after that I connected a video source (both NTSC >& > > PAL) to the > > composite input, did the "cat /dev/video0 >test.mpg", I got 0 byte for >the > > test.mpg. > > > > When I pressed Ctrl-C, the program terminated and then I saw > > > > eready=00200004 > > > > Any idea? > > > > Thanks, > > > > Niu Ding > > > > > > _________________________________________________________________ > > Join the world�s largest e-mail service with MSN Hotmail. > > http://www.hotmail.com > > > > > > _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
