Mailing List archive

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

[linux-dvb] Re: Getting started



Otto J. Makela wrote:
I've just obtained a Hauppauge (Technotrend) DVB-C card, which seems
to work reasonably well under Windoze 2000.  I'd now want to set it up
for Linux, for recording DVB programs.  I've downloaded the package
linuxtv-dvb-1.0.0-pre2.tar.gz and taken a look at it.

Unfortunately, I'm a bit lost on how to get started, as the
documentation (both at the website and inside the tar.gz) seems
to be a bit out of date... should I go directly for the CVS,
The DVB/ tree in CVS is currently a bit more up-to-date and contains a few more bugfixes, but this situation can change from day to day, sometimes it's pretty instable.


or should the tar.gz package be sufficient for a Technotrend card?

For example, the INSTALL file says:
	- Login as root, change to the directory DVB/driver and type "make".

There is no directory "DVB" but I assume it means the "root".
The tarball (including the main directory) was renamed a few minutes before the release, so DVB/ should be linuxtv-dvb-1.0.0-pre2/. In CVS this directory will always be called DVB/.


So I do:

# cat /etc/redhat-release
Red Hat Linux release 8.0 (Psyche)
# uname -a
Linux tigger.otto.net 2.4.18-14smp #1 SMP Wed Sep 4 12:34:47 EDT 2002 i686 i686
i386 GNU/Linux
# cd linuxtv-dvb-1.0.0-pre2/driver
# make
/usr/src/linux/scripts/pathdown.sh: line 4: TOPDIR: parameter null or not set
DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
make[1]: Entering directory `/usr/src/linux-2.4.18-14'

The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.

make[1]: *** [modules] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.18-14'
make: *** [here] Error 2

(I believe the standard RedHat kernels do come with modules enabled?)
Please change the definitions of KERNEL_VERSION and KERNEL_LOCATION in linuxtv-dvb-1.0.0-pre2/driver/Makefile so that they look like this:

export KERNEL_VERSION := $(shell uname -r)
export KERNEL_LOCATION = /lib/modules/$(KERNEL_VERSION)/build

and report if this works for you. If not you should get a fresh kernel from http://www.kernel.org/, unpack, configure and install it, create a symbolic link /usr/src/linux->pointing_to_your_kernel_source and then build the DVB driver from scratch.

See the LinuxDVB mailing list archive for the reason, there has been a long thread regarding this topic 1 or 2 months ago.

Holger



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



Home | Main Index | Thread Index