Mailing List archive

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

[linux-dvb] Re: overlay-problem -> pci-latency



Hello Guido,

On 15.02.2004 15:28, Guido Fiala schrieb:
Am Sonntag, 15. Februar 2004 15:22 schrieben Sie:

Guido Fiala wrote:

Anyway, I'd like to ask you to try the "dvb-kernel" driver from CVS or
the recent official release tarball.
I tried http://linuxtv.org/download/dvb/linuxtv-dvb-1.1.0.tar.bz2 too and
got the same errors.

v4l2-common.c:135: warning: `struct v4l2_prio_state' declared inside
parameter list
v4l2-common.c:135: warning: its scope is only this definition or
declaration, which is probably not what you want
v4l2-common.c: In function `v4l2_prio_init':
v4l2-common.c:137: dereferencing pointer to incomplete type
.
.
.

Do i need a special version of kernel (have 2.4.20) and/or v4l2 ?
May be your kernel does already have the v4l2 layer?

$ find /lib/modules/2.4.21-0.13mdk/kernel/ -name v4l\*
/lib/modules/2.4.21-0.13mdk/kernel/drivers/media/video/v4l1-compat.o.gz
/lib/modules/2.4.21-0.13mdk/kernel/drivers/media/video/v4l2-common.o.gz

indeed it does, i installed bttv-0.9.11 and v4l2 already:
/lib/modules/2.4.20-gentoo-r5/v4l2/v4l1-compat.o
/lib/modules/2.4.20-gentoo-r5/v4l2/v4l2-common.o
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/v4l1-compat.o
0/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/v4l2-common.o
(Uhhh - unfortunately i have even 2 locations!)

What does that mean for the dvb-driver build?
In any case, you should delete all remains of older v4l2 installations.

This includes these files from your kernel/drivers/media/video directory.
- v4l2-common.o
- v4l1-compat.o
- video-buf.o

Also make sure, that you don't have an old "videodev2.h" lying around, for example in /usr/include/linux. This causes the compile errors, because some things are undefinied there.

If you really need to have both bttv and dvb installed, you should then get a bttv snapshot from http://bytesex.org/snapshot/, compile and install it.

Then compile and install the dvb-kernel driver. Some files are shared between bttv and dvb (the files mentioned above), but I try to incorporate changes as quickly as possible.

This should give you working bttv and dvb drivers.

CU
Michael.


--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index