[mpeg2] Broadcom / VisionTech Kfir MPEG II PCI Encoder Card

Andrew Kennerly kennerly at comcast.net
Sun Nov 20 17:15:55 CET 2005


 lspci -v: 
 
 0000:02:05.0 Multimedia controller: Visiontech Ltd: Unknown device 9000 
 Subsystem: Visiontech Ltd: Unknown device 9000 
 Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 9 
 Memory at ff9ff000 (32-bit, non-prefetchable) [size=4K] 
 Memory at ff9c0000 (32-bit, non-prefetchable) [size=128K] 
 Memory at eeae0000 (32-bit, prefetchable) [size=128K] 
 Memory at ff9a0000 (32-bit, non-prefetchable) [size=128K] 
 Capabilities: [40] Power Management version 1 
 
I checked out the latest version of the code from CVS: 
http://www.linuxtv.org/cgi-bin/viewcvs.cgi/kfir/
Since the windows drivers for this card are long gone I took the microcode and 
related files from the Attic in kfir/driver/micro/Attic and placed them in 
the driver/micro/ directory.
All the MD5SUMs match the README except for kfir_micro.h
At first compile from the driver/ directory kfir_micro.h wasn't found so I 
symlinked to the one in driver/micro/.  I attempted to compile what I have of 
the code and it failed with this:

make -C /lib/modules/2.6.14-ck5/build  
SUBDIRS=/home/andy/src/kfir/kfir-cvs-newest/driver
make[1]: Entering directory `/usr/src/linux-2.6.14-ck5'
  LD      /home/andy/src/kfir/kfir-cvs-newest/driver/built-in.o
  CC [M]  /home/andy/src/kfir/kfir-cvs-newest/driver/kfir.o
/home/andy/src/kfir/kfir-cvs-newest/driver/kfir.c:1577: error: unknown field 
`id' specified in initializer
/home/andy/src/kfir/kfir-cvs-newest/driver/kfir.c:1577: warning: missing 
braces around initializer
/home/andy/src/kfir/kfir-cvs-newest/driver/kfir.c:1577: warning: (near 
initialization for `i2c_client_template.released')
/home/andy/src/kfir/kfir-cvs-newest/driver/kfir.c:2873: warning: 
initialization from incompatible pointer type
make[2]: *** [/home/andy/src/kfir/kfir-cvs-newest/driver/kfir.o] Error 1
make[1]: *** [_module_/home/andy/src/kfir/kfir-cvs-newest/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14-ck5'
make: *** [all] Error 2

That's where I am now.  I know this driver has seen it's share of bitrot and 
the last change to it was the port to 2.6 by Anssi Hannula.
Anyone know what the problem may be?



More information about the mpeg2 mailing list