Page 1 of 1

ZM with multiple boards (two conetxant bt878/ 4 ports )

Posted: Fri Dec 02, 2005 3:18 pm
by tux
Hello

I have two boards bt878 conetxant chipset and 4 ports).

WITH ONE CARD in linux system

- If I use only one card runs ok (xawtv and zm)
For load driver I use:
modprobe bttv card=77

WITH TWO CARDS (the same model) in linux system

- But if I use two boards I have problems because only one of two runs ok.
For load driver I user
modprobe bttv card=77,77

Load bttv0 and bttv1 as grandtec card (77) well, but i try with
xawtv -d /dev/video0
xawtv -d /dv/video1

Well l when I run :


#xawtv

I see cameras I have in FIRST card (I think is bttv0)
I can see composite1, composite2,composite3 and composite4

#xawtv -d /dev/video0

I see cameras I have in FIRST card (I think is bttv0)
I can see composite1, composite2,composite3 and composite4

#xawtv -d /dev/video1

I see cameras I have in FIRST card (I think is bttv0) NOT IN BTTV1 (second card) I can see composite1, composite2,composite3 and composite4

- AND I have 8 cameras (for in every card)

THANKS


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

LOGS WHEN I LOAD DRIVER FOR TWO CARDS

- Looks modules are load well I saw this in logs /log/messages :

RMMOD BTTV

Dec 2 15:54:11 ubuntu kernel: [4304111.130000] bttv0: unloading
Dec 2 15:54:11 ubuntu kernel: [4304111.137000] bttv1: unloading

MODPROBE BTTV CARD=77,77

Dec 2 15:55:21 ubuntu kernel: [4304180.880000] bttv: driver version 0.9.15 loaded
Dec 2 15:55:21 ubuntu kernel: [4304180.880000] bttv: using 8 buffers with 2080k (520 pages) each for capture
Dec 2 15:55:21 ubuntu kernel: [4304180.883000] bttv: Bt8xx card found (0).
Dec 2 15:55:21 ubuntu kernel: [4304180.883000] ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
Dec 2 15:55:21 ubuntu kernel: [4304180.883000] bttv0: Bt878 (rev 17) at 0000:00:0b.0, irq: 11, latency: 64, mmio: 0xcddfe000Dec 2 15:55:21 ubuntu kernel: [4304180.883000] bttv0: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
Dec 2 15:55:22 ubuntu kernel: [4304182.499000] bttv0: using tuner=-1
Dec 2 15:55:24 ubuntu kernel: [4304182.499000] bttv0: i2c: checking for TDA9875 @ 0xb0... not found
Dec 2 15:55:26 ubuntu kernel: [4304184.099000] bttv0: i2c: checking for TDA7432 @ 0x8a... not found
Dec 2 15:55:27 ubuntu kernel: [4304185.699000] bttv0: i2c: checking for TDA9887 @ 0x86... not found
Dec 2 15:55:27 ubuntu kernel: [4304187.320000] bttv0: registered device video0
Dec 2 15:55:27 ubuntu kernel: [4304187.341000] bttv0: registered device vbi0
Dec 2 15:55:27 ubuntu kernel: [4304187.341000] bttv0: PLL: 28636363 => 35468950 . ok
Dec 2 15:55:27 ubuntu kernel: [4304187.352000] bttv: Bt8xx card found (1).
Dec 2 15:55:27 ubuntu kernel: [4304187.352000] ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
Dec 2 15:55:27 ubuntu kernel: [4304187.352000] bttv1: Bt878 (rev 17) at 0000:00:0d.0, irq: 11, latency: 64, mmio: 0xcddfc000Dec 2 15:55:27 ubuntu kernel: [4304187.352000] bttv1: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
Dec 2 15:55:29 ubuntu kernel: [4304188.972000] bttv1: using tuner=-1
Dec 2 15:55:30 ubuntu kernel: [4304188.972000] bttv1: i2c: checking for TDA9875 @ 0xb0... not found
Dec 2 15:55:32 ubuntu kernel: [4304190.572000] bttv1: i2c: checking for TDA7432 @ 0x8a... not found
Dec 2 15:55:34 ubuntu kernel: [4304192.172000] bttv1: i2c: checking for TDA9887 @ 0x86... not found
Dec 2 15:55:34 ubuntu kernel: [4304193.793000] bttv1: registered device video1
Dec 2 15:55:34 ubuntu kernel: [4304193.815000] bttv1: registered device vbi1
Dec 2 15:55:34 ubuntu kernel: [4304193.815000] bttv1: PLL: 28636363 => 35468950 .. ok

Posted: Mon Dec 05, 2005 7:25 pm
by zoneminder
Can you post your full modprobe.conf?

Phil

Posted: Tue Dec 06, 2005 9:40 pm
by tux
-I triying loading/unloading (rmmod/modprobe) manually bttv module.

modprobe bttv card=77,77

- So I try loading onload system but the results are the same (load drivers well as Grandtec Multi Capture Card (Bt878) [card=77].. for bttv0 and for bttv1)

-------------------
/etc/modprobe.conf (in zm live mandrake installed on hd)

install usb-interface /sbin/modprobe uhci-hd;/bin/true
alias net-pf-10 off
alias eth0 8139too
options bttv card=77,77


---------------------
- I know can that runs well because I contact with zm forum user I he
rans with four of these cards in the same zm server (with 2.4.30 or 2.6.11-2.6.14, and the PLD-linux.org). But I don´t know
what is my problem.

The cards are these.
Image

- The systems I trying are two:

- First with last zm cdlive installed in hd, and upgraded kernel (kernel 2.6.12.13mdk)
- Second with Ubuntu Hoary, kernel 2.6.12

But the problem only
when I type
xawtv -d /dev/video0 = xawtv -d /dev/video1


thanks

Posted: Tue Dec 06, 2005 9:52 pm
by jameswilson
i have run upto 4 of these too and have 2 in my home machine, but sometimes i have had to move into differenr slots ie non adjacent. plus once i had two that just refused to work together but worked each on their own

james

Posted: Tue Dec 06, 2005 10:12 pm
by zoneminder
Some cards, e.g. the iTuner ones, come in A, B, C & D flavours. If you have multiple cards you can have an A and a B but not two A's. When you order multiple cards they make sure and mix them up. It's possible your card might be the same. Look for something on the card that might indicate whether this is the case, even if it's just a chalk mark on the chip.

Phil

Posted: Wed Dec 07, 2005 5:27 pm
by tux
Now are running ok with two cards :D

- I changed the cards in others slots pci and works ok, I don´t know what was the problem butn now works ok.

- The cipset are conetxant fusion 878A, are the same in two cards, I have another pci dvr (4400R) and this has the same chipsets, 4 chipsets 878A.

- Now I will try work zm with 4400R.

Thanks for help

Posted: Wed Dec 07, 2005 5:32 pm
by jameswilson
i think the different slots thing (i remember from old pre pnp isa days) is something to do with irq's and some settings in the bios ie plug and play os's and all, but yeah i usally nmove em around and see lol. But i did have a network card an old Digital thing that would work fine on its own but whaever else was plugged into pci with it stopped working, no matter what i did to the slot order etc, had to buy a new network card, a whole £6...

James