Mailing List archive

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

[linux-dvb] Re: VDR on Fedora Core 2 (2.6.5 kernel)



Hi

I just "upgraded" my DVB machine from RH8 to FC2 -- I have NOVA-t produced
before summer 2002 and I am using dvbstream to get DVB data.

I needed to do just the following to get DVB working:

wget http://cesnet.dl.sourceforge.net/sourceforge/dvbtools/dvbstream-0.5.tar.gz

(For some reason cesnet sourceforge mirror has worked best)

2.6 kernels comes with DVB drivers and kernel headers. Therefore I did not
need to download any kernel source archives/packages. I just:

$ diff -u dvbstream-0.5-orig/Makefile dvbstream-0.5/Makefile
--- dvbstream-0.5-orig/Makefile 2002-10-13 21:39:53.000000000 +0300
+++ dvbstream-0.5/Makefile      2004-05-30 12:29:07.000000000 +0300
@@ -10,7 +10,8 @@
 
 ifdef NEWSTRUCT
   CFLAGS += -DNEWSTRUCT
-  INCS=-I ../DVB/include
+  INCS=-I /lib/modules/`uname -r`/build/include
+#  INCS=-I ../DVB/include
 else
   INCS=-I ../DVB/ost/include
 endif

... and then dvbstream compiled fine.

First try: can not open frontend device -- No device nodes were available.

This fixes the issue:

# wget http://www.linuxtv.org/download/dvb/linuxtv-dvb-1.1.1.tar.bz2
# tar jxvf linuxtv-dvb-1.1.1.tar.bz2
# ./linuxtv-dvb-1.1.1/MAKEDEV-DVB.sh
# rm -rf linuxtv-dvb-1.1.1

Second try: still can't open frontend device -- Now, no modules in the kernel

for i in /lib/modules/`uname -r`/kernel/drivers/media/dvb/**/*.ko
do
	modprobe `basename $i .ko`
done

Now dvbstream worked fine.

The above for; do modprobe; done loaded 24 modules to the kernel -- after
a while of investigation I found out that the following 2 modprobes
were good for my NOVA-t (spring 2002 version)

# modprobe budget
# modprobe grundig_29504_401

... and finally I added to the end of my /etc/modprobe.conf:

--8<----8<----8<----8<----8<----8<----8<----8<----8<--
alias char-major-250 budget
install budget /sbin/modprobe --ignore-install budget && /sbin/modprobe grundig_29504_401
#options dvb-core dvb_shutdown_timeout=0
--8<----8<----8<----8<----8<----8<----8<----8<----8<--

(budget was easier to get right -- therefore I used that instead of
 grundig_29504_401 in most places)


I hope this gives any help you/others to figure out best way to get your system working.

Tomi


Thursday Jun 3 01:43:44 +0200 2004 Valent <vach@despammed.com> wrote:
> Hi. I'm new to the list so if this question was asked I'm sorry.
> 
> I have Fedora Core 2 with 2.6.5 kernel and sources installed.
> 
> I downloaded newest dvb driver and newest vdr. When I follow
> instructions and go to dvr/driver and start 'make' command I get this
> error:
> 
> [root@lAin dvr]# cd driver/
> [root@lAin driver]# make
> Makefile:147: /usr/src/linux/Rules.make: No such file or directory
> make: *** No rule to make target `/usr/src/linux/Rules.make'.  Stop.
> 
> What is the problem? Rules.make file doesn't exist... I don't get why is
> the make script then written this way? Does vdr support (work) on 2.6
> kernel?
> 
> Thank you.
> 
> 




Home | Main Index | Thread Index