Mailing List archive

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

[linux-dvb] Re: FC3, new NOVA-T model, xawtv and sysfs/udev



Luke Corkill wrote:
Bernd,
Step-by-step instructions would be much appreciated.

You've got further than me!
Ok Luke, here is a short summary of the notes I've taken during my tests:

To build a new kernel with the latest DVB drivers for FC3 you need:

1. kernel-2.6.9-1.667.src.rpm as FC3 doesn't contain a kernel-source rpm anymore
2. http://dl.bytesex.org/patches/2.6.9-rc4-1/All-2.6.9-rc4.diff.gz

Then issue:
rpm -i kernel-2.6.9-1.667.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild -bp --target=i686 kernel.spec
cd /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9
cp configs/kernel-2.6.9-i686.config .config
make oldconfig
edit Makefile and change EXTRAVERSION to e.g. -1.667.dvb
zcat All-2.6.9-rc4.diff.gz | patch -p1
make menuconfig, go to the drivers/media submenu and activate all missing video and dvb modules
make
make modules_install
make install
reboot to the new kernel

After the reboot the card should be detected as Conexant unknown device by kudzu.

modprobe cx88_dvb

Now you should see something like this in /var/log/messages:

Nov 12 19:21:45 deanna kernel: cx2388x dvb driver version 0.0.4 loaded
Nov 12 19:21:45 deanna kernel: ACPI: PCI interrupt 0000:00:08.2[A] -> GSI 5 (level, low) -> IRQ 5
Nov 12 19:21:45 deanna kernel: cx88[0]/2: found at 0000:00:08.2, rev: 5, irq: 5, latency: 32, mmio: 0xdd000000
Nov 12 19:21:45 deanna kernel: cx88[0]/2: cx2388x based dvb card
Nov 12 19:21:45 deanna kernel: DVB: registering new adapter (cx88[0]).
Nov 12 19:21:45 deanna kernel: DVB: registering frontend 0 (CX22702 Demod Thomson 75xx PLL)...

You also need to checkout dvb-kernel head from CVS and run the included MAKEDEV-DVB.sh after every reboot due to an yet unresolved problem with the dvb device nodes and sysfs/udev.

For xawtv4 you need:
http://dl.bytesex.org/cvs-snapshots/xawtv-20041103-103807.tar.gz
aalib-1.4.0-5.1.fc3.fr.i386.rpm
aalib-devel-1.4.0-5.1.fc3.fr.i386.rpm
libmad-0.15.1b-3.1.fc3.fr.i386.rpm
libmad-devel-0.15.1b-3.1.fc3.fr.i386.rpm
mpeg2dec-0.4.0-4b.1.fc3.fr.i386.rpm
mpeg2dec-devel-0.4.0-4b.1.fc3.fr.i386.rpm
zvbi-0.2.9-1.1.fc3.fr.i386.rpm
zvbi-devel-0.2.9-1.1.fc3.fr.i386.rpm

The rpms can be found at http://heidelberg.freshrpms.net/

Install the rpms.
ln -sf /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/dvb /usr/include/linux
Unpack the xawtv sources. Run autogen.sh and configure. The configure output should show you that DVB support is enabled. Now run make and afterwards go to the gtk subdir and run ./xawtv -hwls
this should give you something like this

[root@deanna gtk]# ./xawtv -hwls
This is xawtv 4.0-pre, running on Linux/i686 (2.6.9-1.667.bb01)

probing dvb devices ...
[dvb] /dev/dvb/adapter0 CX22702 Demod Thomson 75xx PLL

probing vbi devices ...
[vbi] /dev/vbi0 Hauppauge Nova-T DVB-T PCI:0000:00:08.0

probing video devices ...
[v4l2] /dev/video0 Hauppauge Nova-T DVB-T PCI:0000:00:08.0
[v4l] /dev/video0 Hauppauge Nova-T DVB-T

Finally run ./xawtv click rmb and select Devices->CX22702, go to Edit->Scan DVB... and search for DVB channels.

Best regards,
Bernd.




Home | Main Index | Thread Index