> Aurelian Pop writes: > > As you can see, the're a leap of 64 for every set in the minor description. > > I have changed this file by adding another set (3) using minors from 192 to 200, because I have currently 4 DVB-S on my box, and it works. > > My question is: can I modify this file so that I can change this gap (in some cases it might be called a minor-shift number) between the drivers, and if NOT, then it means that we cannot use more than 4 DVB cards (>255!!!) on the same machine (remember the DVB_NUM_DEVICES in dvbdev.h is set to 16!) ??? > > You will also have to adjust the defines in dvbdev.h. > > > Ralph >
I tried to change the values in dvbdev.h, but there are some things I don't know why are like that... The first thing will be why in the defines you can find the devices 0, but for the demux there is the defines for 0 to 3.... why? Basically I have now 3 dvb-t cards and 2 dvb-s cards in one box and I cannot set the drivers to install the modules properly... The output from make insmod is: [root@server1 driver]# make insmod /usr/src/linux/scripts/pathdown.sh: TOPDIR: parameter null or not set ./makedev.napi rm: cannot remove directory `/dev/ost': Directory not empty make make[1]: Entering directory `/home/puiu/DVB/driver' DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules) make[2]: Entering directory `/usr/src/linux-2.4.8' make -C /home/puiu/DVB/driver CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.8/include -Wall - Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing - fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boun dary=2 -march=i586 -fno-merge-constants -DMODULE -DMODVERSI ONS -include /usr/src/linux-2.4.8/include/linux/modversions.h" MAKING_MODULES=1 modules make[3]: Entering directory `/home/puiu/DVB/driver' make[3]: Nothing to be done for `modules'. make[3]: Leaving directory `/home/puiu/DVB/driver' make[2]: Leaving directory `/usr/src/linux-2.4.8' make[1]: Leaving directory `/home/puiu/DVB/driver' ( \ insmod dvbdev.o; \ insmod dvb_net.o; \ insmod i2c-core; \ insmod videodev; \ insmod dvb_filter.o; \ insmod dmxdev.o; \ insmod VES1893.o; \ insmod VES1820.o; \ insmod L64781.o; \ insmod SP8870.o debug=1; \ insmod tda8083.o; \ insmod stv0299.o; \ insmod tuner.o; \ insmod saa7146_core.o mode=0; \ insmod saa7146_v4l.o; \ insmod dvb_demux.o; \ insmod dvb_frontend.o; \ insmod dvb.o init_chan=2 pids_off=0; \ ) Using /lib/modules/2.4.8-26mdk/kernel/drivers/i2c/i2c-core.o.gz Using /lib/modules/2.4.8-26mdk/kernel/drivers/media/video/videodev .o.gz make: *** [insmod] Error 139 Subsequent "lsmod" commands end up in segmentation faults!!! Anybody knows how to change the makedev.napi and dvbdev.h files for more than 4 cards? Thanks, Aurelian -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.
