Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Kfir driver




Hi again !

I got a couple of cards from BMK today.

I'm having some problems with the driver though.

Most things seem to work (?) and the module loads but
the mpeg-stream produced is just "black".
When replaying with mtv the time indication also jumps
randomly back and forth.

First, the firmware extraction is a lite bit mysterios.
I'm getting "Error 4" from cmicro (is this normal ?).

-------------------------------------------------------------------------------
[hakan@tuttifrutti micro]$ make
rm -f altera_keb_plx_5e.rbf MPEG1_6.HLD kfir_micro.h
dd bs=1 if=/misc/loo_c/WINDOWS/SYSTEM/KfirLib.dll skip=1700008 count=32385 of=altera_keb_plx_5e.rbf
32385+0 records in
32385+0 records out
echo -n -e "\x52\x4b\xeb\x74\x00\x00\x0f\x3c\xfc\x00" > MPEG1_6.HLD
dd bs=1 if=/misc/loo_c/WINDOWS/SYSTEM/KfirLib.dll skip=1449200 count=59862 >> MPEG1_6.HLD
59862+0 records in
59862+0 records out
./cmicro /misc/loo_c/WINDOWS/SYSTEM/KfirMicroCode/vt.v     vtv    >  kfir_micro.h
make: [kfir_micro.h] Error 4 (ignored)
./cmicro /misc/loo_c/WINDOWS/SYSTEM/KfirMicroCode/vt.v_8   vtv8   >> kfir_micro.h
make: [kfir_micro.h] Error 4 (ignored)
./cmicro /misc/loo_c/WINDOWS/SYSTEM/KfirMicroCode/vt.v1    vtv1   >> kfir_micro.h
make: [kfir_micro.h] Error 4 (ignored)
./cmicro /misc/loo_c/WINDOWS/SYSTEM/KfirMicroCode/vt.v1_8  vtv18  >> kfir_micro.h
make: [kfir_micro.h] Error 4 (ignored)

./cmicro /misc/loo_c/WINDOWS/SYSTEM/KfirMicroCode/vt.v2    vtv2   >> kfir_micro.h
make: [kfir_micro.h] Error 4 (ignored)
./cmicro /misc/loo_c/WINDOWS/SYSTEM/KfirMicroCode/vt.v2_8  vtv28  >> kfir_micro.h
make: [kfir_micro.h] Error 4 (ignored)
--------------------------------------------------------------------------------

The windows driver I'm extracting from is kfir (not kfir2), win9x, 
KFirAppVersion4.23.

Make insmod looks like this:

--------------------------------------------------------------------------------

[root@ganymede driver]# make insmod
make
make[1]: Entering directory `/home/lhakan/src/kfir-20001128/driver'
DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
make[2]: Entering directory `/export/disk/src/linux-2.4.0-test10'
make -C  /home/lhakan/src/kfir-20001128/driver CFLAGS="-D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h" MAKING_MODULES=1 modules
make[3]: Entering directory `/home/lhakan/src/kfir-20001128/driver'
make[3]: Nothing to be done for `modules'.
make[3]: Leaving directory `/home/lhakan/src/kfir-20001128/driver'
make[2]: Leaving directory `/export/disk/src/linux-2.4.0-test10'

make[1]: Leaving directory `/home/lhakan/src/kfir-20001128/driver'
insmod videodev.o
insmod i2c-core.o
insmod i2c-algo-bit.o
insmod saa711x.o
insmod kfir.o mpeg1mode=1

--------------------------------------------------------------------------------

A short clip (~ 6 Mb) and the generated kfir_micro.h can be found under
http://ganymede.cdt.luth.se/tmp

I'm running kernel 2.4.0-test10 (and Mandrake 7.0).

Any help with this would be appreciated !

Regards.

/Håkan



Home | Main Index | Thread Index