[Forum] Nyere bttv-modules

From: Jan Midtgaard <jmi@daimi.au.dk>
Date: Thu Aug 24 2000 - 10:25:40 CEST

Hej

Jeg har behov for en nyere bttv,
for at få tv-kortet til at spille.

Hvad går der galt her?

Systemet er RH6.2 på en prekompileret
2.2.16-3 kerne.

Skal jeg prøve en nyere kerne?
Kompilering af senere versioner af
bttv giver samme resultat.

--------------------------

[root@Harboe driver]# make here
DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
make[1]: Entering directory `/usr/src/linux-2.2.16'
scripts/split-include include/linux/autoconf.h include/config
find: *: No such file or directory
scripts/split-include: find: Success
make[1]: *** [include/config/MARKER] Error 1
make[1]: Leaving directory `/usr/src/linux-2.2.16'
make: *** [here] Error 2

------

Makefilen ser sådan ud:

[root@Harboe driver]# cat Makefile
#################################################
# config

# 0: Temic PAL tuner
# 1: Philips PAL_I tuner
# 2: Philips NTSC tuner
# 3: Philips SECAM tuner
# 4: no tuner
# 5: Philips PAL tuner
# 6: Temic NTSC tuner
# 7: Temic PAL tuner
# TUNER=0
# Do not select the tuner type here!
# Edit the type argument for the tuner module in "update"!

# Module arguments are documented in MODULES

# 0: Auto-Detect
# 1: Miro
# 2: Hauppauge (bt848)
# 3: STB
# 4: Intel
# 5: Diamond
# 6: AVerMedia
# 7: MATRIX Vision MV-Delta
# 8: FlyVideo
# 9: TurboTV
# 10: Hauppauge (bt878)
# 11: Miro Pro
# 12: TV-Boostar
# 13: Hauppauge WinCam
# 14: MAXI
# 15: Terratec TerraTV+
# 16: Aimslab VHX
# 17: PXC200
# 18: AVermedia98
# 19: FlyVideo98 (newer FlyVideo cards)
CARD=0
# This can be set using module parameters too.

# uncomment this if you have a Hauppauge with MSP34xx sound decoder!
#MSP=-DRESET_MSP_HAUPPAUGE
# This is gone. If you have i2c I/O errors or autodetect goes wrong,
# load the module with "card=2"

# change this to 0 if you have a plain Bt848 and NOT a Bt848A or higher
# 0 == don't use PLL (plain Bt848, revision 17)

# use 1 or 2 if you have a Bt848A, Bt849, Bt878, Bt879
# 1 == 28 MHz crystal installed
# 2 == 34 MHz crystal installed
PLL=-DUSE_PLL=0
# This can be set using module parameters too.

# Official major device number is 81
# Older kernels might have problems with such high numbers.
# But I rather recommend updating to kernel 2.0.31 or higher.
BTTV_MAJOR=81

# where the kernel sources are located
#KERNEL_LOCATION=/usr/src/kernel/2.0.35
#KERNEL_LOCATION=/usr/src/kernel/2.2.6-ac1
#KERNEL_LOCATION=/usr/src/kernel/2.3.14
KERNEL_LOCATION=/usr/src/linux

# currently running kernel
#CURRENT=$(shell uname -r)
CURRENT=$(shell grep "UTS_RELEASE"
$(KERNEL_LOCATION)/include/linux/version.h | cut -d\" -f2)

#################################################
# some magic for using linux kernel settings
# when compiling module(s)

M_OBJS = bttv.o msp3400.o tea6300.o tda8425.o tda9855.o dpl3518.o
\
        tuner.o #i2c_chardev.o
MX_OBJS = videodev.o i2c.o
EXTRA_CFLAGS = -DTUNER_DEFAULT=$(TUNER) -DCARD_DEFAULT=$(CARD) \
        -DBTTV_MAJOR=$(BTTV_MAJOR) $(INTERFACE) $(MSP) $(PLL) \
         #-DVIDEODAT -DNODGA

here:
        DIR=`pwd`; (cd $(KERNEL_LOCATION); make SUBDIRS=$$DIR modules)
        @echo
        @echo '"make list" prints a list of supported cards'

list:
        grep "{ \"" bttv.c | perl -ne '/"([^"]+)"/;printf("card=%d -
%s\n",$$i++,$$1)'

install:
        su -c "cp -v $(M_OBJS) $(MX_OBJS) /lib/modules/$(CURRENT)/misc"

clean:
        -rm -f $(M_OBJS) $(MX_OBJS) .*.o.flags *~

include $(KERNEL_LOCATION)/Rules.make
Received on Thu Aug 24 13:28:26 2000

This archive was generated by hypermail 2.1.8 : Tue Jul 19 2005 - 16:01:31 CEST