Page 1 of 1

can't get all ports to work

Posted: Wed Mar 28, 2007 5:15 pm
by wilso027
I am not sure how to troubleshoot this problem from here but I have a 16 port card from Bluecherry, PV-155 - 16 port video capture card (120FPS). I am using zoneminder V 1.22.3 and Ubuntu Edgy. I have /dev/video0-3 entries and I use channels 1-4. It works fine if I just use video0 and channel 1-4. If I then add video1 when I get to channel 2 and 3 it then turns all ports to red and they don't work. At that point if I disable channels 3 and 4 on both cards then everything goes back orange and channels 1 and 2 are working. Does anyone have any help on the proper way to setup 16 port bt878 cards from bluecherry with Ubuntu.

Also I thought it might be the fps getting me but I specified only 1 fps for each port and the problem still exists. Here is the output from dmesg | grep bttv if it will help:

Code: Select all

zm@zoneminder:~$ dmesg | grep bttv
[17179584.520000] bttv: driver version 0.9.16 loaded
[17179584.520000] bttv: using 8 buffers with 2080k (520 pages) each for capture
[17179584.520000] bttv: Bt8xx card found (0).
[17179584.520000] bttv0: Bt878 (rev 17) at 0000:06:08.0, irq: 50, latency: 64, mmio: 0xf8fff000
[17179584.520000] bttv0: detected: Provideo PV150A-1 [card=98], PCI subsystem ID is aa00:1460
[17179584.520000] bttv0: using: ProVideo PV150 [card=98,autodetected]
[17179584.520000] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
[17179584.532000] bttv0: using tuner=-1
[17179584.532000] bttv0: i2c: checking for TDA9875 @ 0xb0... not found
[17179584.536000] bttv0: i2c: checking for TDA7432 @ 0x8a... not found
[17179584.536000] bttv0: i2c: checking for TDA9887 @ 0x86... not found
[17179584.540000] bttv0: registered device video0
[17179584.540000] bttv0: registered device vbi0
[17179584.540000] bttv0: PLL: 28636363 => 35468950 .. ok
[17179584.572000] bttv: Bt8xx card found (1).
[17179584.572000] bttv1: Bt878 (rev 17) at 0000:06:09.0, irq: 58, latency: 64, mmio: 0xf8ffd000
[17179584.572000] bttv1: detected: Provideo PV150A-2 [card=98], PCI subsystem ID is aa01:1461
[17179584.572000] bttv1: using: ProVideo PV150 [card=98,autodetected]
[17179584.572000] bttv1: gpio: en=00000000, out=00000000 in=00ffffff [init]
[17179584.572000] bttv1: using tuner=-1
[17179584.572000] bttv1: i2c: checking for TDA9875 @ 0xb0... not found
[17179584.572000] bttv1: i2c: checking for TDA7432 @ 0x8a... not found
[17179584.576000] bttv1: i2c: checking for TDA9887 @ 0x86... not found
[17179584.576000] bttv1: registered device video1
[17179584.576000] bttv1: registered device vbi1
[17179584.576000] bttv1: PLL: 28636363 => 35468950 .. ok
[17179584.608000] bttv: Bt8xx card found (2).
[17179584.608000] bttv2: Bt878 (rev 17) at 0000:06:0a.0, irq: 66, latency: 64, mmio: 0xf8ffb000
[17179584.608000] bttv2: detected: Provideo PV150A-3 [card=98], PCI subsystem ID is aa02:1462
[17179584.608000] bttv2: using: ProVideo PV150 [card=98,autodetected]
[17179584.608000] bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
[17179584.608000] bttv2: using tuner=-1
[17179584.608000] bttv2: i2c: checking for TDA9875 @ 0xb0... not found
[17179584.608000] bttv2: i2c: checking for TDA7432 @ 0x8a... not found
[17179584.612000] bttv2: i2c: checking for TDA9887 @ 0x86... not found
[17179584.612000] bttv2: registered device video2
[17179584.612000] bttv2: registered device vbi2
[17179584.612000] bttv2: PLL: 28636363 => 35468950 .. ok
[17179584.644000] bttv: Bt8xx card found (3).
[17179584.644000] bttv3: Bt878 (rev 17) at 0000:06:0b.0, irq: 74, latency: 64, mmio: 0xf8ff9000
[17179584.644000] bttv3: detected: Provideo PV150A-4 [card=98], PCI subsystem ID is aa03:1463
[17179584.644000] bttv3: using: ProVideo PV150 [card=98,autodetected]
[17179584.644000] bttv3: gpio: en=00000000, out=00000000 in=00ffffff [init]
[17179584.644000] bttv3: using tuner=-1
[17179584.644000] bttv3: i2c: checking for TDA9875 @ 0xb0... not found
[17179584.644000] bttv3: i2c: checking for TDA7432 @ 0x8a... not found
[17179584.648000] bttv3: i2c: checking for TDA9887 @ 0x86... not found
[17179584.648000] bttv3: registered device video3
[17179584.648000] bttv3: registered device vbi3
[17179584.648000] bttv3: PLL: 28636363 => 35468950 .<6>ACPI: PCI Interrupt 0000:04:01.0[A] -> GSI 17 (level, low) -> IRQ 58
[17179610.408000] bttv0: PLL can sleep, using XTAL (28636363).
[17179610.660000] bttv1: PLL can sleep, using XTAL (28636363).
[17179610.948000] bttv2: PLL can sleep, using XTAL (28636363).
[17179611.244000] bttv3: PLL can sleep, using XTAL (28636363).
Thanks for the help
Allan

Posted: Wed Mar 28, 2007 7:03 pm
by wilso027
A little more clarification, on this 16 port card it is the second set of eight that I have to turn off to the get the first set of eight to work. I have tried specifing 98,98,98,98 and that didn't seem to help. Any other ideas?

Posted: Wed Mar 28, 2007 8:09 pm
by wilso027
Ok I figured it out. If you are using this card on Ubuntu Edgy you can fix the problem by adding the following line to /etc/modprobe.d/options:

options bttv card=77,77,77,77

One other note to make the cameras make sense in relation to the dongles when you start creating cameras start with channel 0 and go through video0-3 then move to channel 1 and video0-3. This makes it much less confusing when connecting cameras. Good luck

Allan

Posted: Sun Aug 12, 2007 7:26 am
by mpoertner
wilso027 wrote:Ok I figured it out. If you are using this card on Ubuntu Edgy you can fix the problem by adding the following line to /etc/modprobe.d/options:

options bttv card=77,77,77,77

One other note to make the cameras make sense in relation to the dongles when you start creating cameras start with channel 0 and go through video0-3 then move to channel 1 and video0-3. This makes it much less confusing when connecting cameras. Good luck

Allan
Can you use those settings when compiling the driver into the kernel instead of a module? I like having everything right in the kernel but I will use a module if I have to.

Anyone know?

Thanks!
Matt

Having the same problem...

Posted: Mon Oct 29, 2007 4:28 am
by wyldechylde
with the same blucherry card. But we already have the bttv card=77,77,77,77 line in our modules file (also using the same distro as above). Has anyone else had this problem with another solution?

Posted: Mon Oct 29, 2007 3:06 pm
by Lee Sharp
I have used several of those cards many times. All I add to options is;

Code: Select all

# ProVideo capture card
options bttv card=77,77,77,77
I have also successfully mixed this card with other types like an 8 chip 8 port card with success.

I would look at your /etc/modprobe.d/options file, your lspci and dmesg to make sure you are not sharing irqs, and check the power supply/ram/cpu/temps to make sure it is not another problem.

Everything Orange, Screens are blue

Posted: Sun Nov 11, 2007 8:53 am
by chimaster
Most Helpful, now my Cards light up when the should and all can be orange. I've got 4 Cameras connected to a PV-155. Only one gives an image, the rest are blue......

Oh crap, my bad, just writing this and I switched all cams to
video0(0)
video1(0)
video2(0)
video3(0)

And away we go.. I think I just caught a glimpse of that in another forum. Nice numbering on the PV-155. Defying logic since 1879.