there are other values that are set to 4 by default... in linux/drivers/media/video/msp3400.c look for #define MSP3400_MAX 4 also if your using btaudio, then linux/drivers/sound/sound_core.c change return sound_insert_unit(&chains[3], fops, dev, 3, 131, to be return sound_insert_unit(&chains[3], fops, dev, 3, 179, Other than that, I have 5 cards working. Jon On Thursday 02 May 2002 06:46 am, Bernardo Motta wrote: > Hello, > > > I would like to use 5 bt8x8 cards (Avermedia EZCapture) on a Pentium 4. > > Just for video capture, no TVs, no RADIOs, etc.... > > > I'm working on a 2.2.18 kernel. > > I have enough PCIs already, and I believe there should be no problem in > > using IRQ sharing with the bttv2 driver. > > > It seems obvious to me I must do a lot of changes on the driver, not just > > changing the define BTTV_MAX. > > > I've changed the sources everywhere it seemed necessary (vector variable > inicialisation, > > constants, etc.), but I can't make it work. > > > Here's what I've chaged: > > > 1. file "bttv-cards.c" > > > declaration: card[BTTV_MAX]={-1,-1,-1,-1}; > > is changed to : card[BTTV_MAX]={-1,-1,-1,-1,-1}; > > (i've done the same for the variables "pll" and also "tuner", just to avoid > problems, because I don't use the tuner) > > > should I change something else on this file? > > For example, on the /* insmod options */ block, by changing the MODULE_PARM > lines? > > > 2. file "bttvp.h" > > > declaration: #define BTTV_MAX 4 > > is changed to : #define BTTV_MAX 5 > > > should I change someting else on this file? > > The MAX_OPENS and/or the MAX_VBI _OPENS declarations? > > > 3. file "bttv-driver.c" > > > declaration: static unsigned int radio[BTTV_MAX] = {0,0,0,0}; > > is changed to : static unsigned int radio[BTTV_MAX] = {0,0,0,0,0}; > > > declaration: static int bttv_video[BTTV_MAX] = {0,1,2,3}; > > is changed to : static int bttv_video[BTTV_MAX] = {0,1,2,3,4}; > > > declaration: static int bttv_vbi[BTTV_MAX] = {224,225,226,227}; > > is changed to : static int bttv_vbi[BTTV_MAX] = {224,225,226,227,228}; > (???) > > > declaration: static int bttv_norm[BTTV_MAX] = {0,0,0,0}; > > is changed to : static int bttv_norm[BTTV_MAX] = {0,0,0,0,0}; > > > again, should I change someting else? > > The file is *REALLY* huge! > > > Thank you for your help. > > I can already open the device /dev/video4, but I can't get any video!! > > > Bye, > > > Bernardo