2 x PV-981a-16 hardware setup

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
geekspeed
Posts: 4
Joined: Tue Mar 30, 2010 4:10 am

2 x PV-981a-16 hardware setup

Post by geekspeed »

New to ZM - just got 2 PV-981a-16 cards from bluecherry. The box is fresh CentOS 5.4 x86_64 build.

I am trying to figure out how to get these cards setup in zm. From what I have been reading -- for a 2 card 32 channel setup -- I should have video0 through video15. With 2 channels per video device. Currently I have video0 through video7 with 2 channels. Is there any way to get the other card to get recognized?

Any help would be apprecaited.

lspci:
02:00.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:00.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
02:01.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:01.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
02:02.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:02.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
02:03.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:03.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
03:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200(A) PCI Express-to-PCI Bridge (rev 03)
04:00.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
04:00.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
04:01.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
04:01.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
04:02.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
04:02.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
04:03.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
04:03.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)

lsmod:
bttv 232885 0
video_buf 59461 1 bttv
ir_common 63173 1 bttv
compat_ioctl32 41793 1 bttv
i2c_algo_bit 42185 1 bttv
btcx_risc 37961 1 bttv
tveeprom 49617 1 bttv
i2c_core 56129 4 i2c_ec,bttv,i2c_algo_bit,tveeprom
videodev 58688 1 bttv
v4l2_common 57153 3 bttv,compat_ioctl32,videodev


zmu:
zmu -d /dev/video0 -q -v -a
Error, failed to query crop capabilities /dev/video0: Invalid argument

zmu -d /dev/video0 -V1 -q -v -a
Video Device: /dev/video0
Video Capabilities
Name: BT878 video (ProVideo PV150)
Type: 171
Can capture
Can tune
Overlay onto frame buffer
Can clip
Scalable
Video Channels: 2
Audio Channels: 0
Maximum Width: 640
Maximum Height: 576
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 1 - Linear greyscale
Colour Depth: 8
Brightness: 32768
Hue: 32768
Colour :32768
Contrast: 32768
Whiteness: 0
Channel 0 Attributes
Name: Composite0
Channel: 0
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 3 - AUTO
Channel 1 Attributes
Name: Composite1
Channel: 1
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 3 - AUTO


ls -al /dev/vid*
lrwxrwxrwx 1 root root 6 Apr 1 07:17 /dev/video -> video0
crw----rw- 1 root root 81, 0 Apr 1 07:17 /dev/video0
crw------- 1 root root 81, 1 Apr 1 07:17 /dev/video1
crw------- 1 root root 81, 2 Apr 1 07:17 /dev/video2
crw------- 1 root root 81, 3 Apr 1 07:17 /dev/video3
crw------- 1 root root 81, 4 Apr 1 07:17 /dev/video4
crw------- 1 root root 81, 5 Apr 1 07:17 /dev/video5
crw------- 1 root root 81, 6 Apr 1 07:17 /dev/video6
crw------- 1 root root 81, 7 Apr 1 07:17 /dev/video7

modprobe:
options bttv card=98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98

dmesg:
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:02:00.0, irq: 169, latency: 32, mmio: 0xd80f8000
bttv0: detected: Provideo PV150A-1 [card=98], PCI subsystem ID is aa00:1460
bttv0: using: ProVideo PV150 [card=98,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv0: using tuner=-1
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: i2c: checking for TDA9887 @ 0x86... not found
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 ..........failed
bttv: Bt8xx card found (1).
bttv1: Bt878 (rev 17) at 0000:02:01.0, irq: 177, latency: 32, mmio: 0xd80fa000
bttv1: detected: Provideo PV150A-2 [card=98], PCI subsystem ID is aa01:1461
bttv1: using: ProVideo PV150 [card=98,insmod option]
bttv1: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv1: using tuner=-1
bttv1: i2c: checking for TDA9875 @ 0xb0... not found
bttv1: i2c: checking for TDA7432 @ 0x8a... not found
bttv1: i2c: checking for TDA9887 @ 0x86... not found
bttv1: registered device video1
bttv1: registered device vbi1
bttv1: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (2).
bttv2: Bt878 (rev 17) at 0000:02:02.0, irq: 58, latency: 32, mmio: 0xd80fc000
bttv2: detected: Provideo PV150A-3 [card=98], PCI subsystem ID is aa02:1462
bttv2: using: ProVideo PV150 [card=98,insmod option]
bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv2: using tuner=-1
bttv2: i2c: checking for TDA9875 @ 0xb0... not found
bttv2: i2c: checking for TDA7432 @ 0x8a... not found
bttv2: i2c: checking for TDA9887 @ 0x86... not found
bttv2: registered device video2
bttv2: registered device vbi2
bttv2: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (3).
bttv3: Bt878 (rev 17) at 0000:02:03.0, irq: 66, latency: 32, mmio: 0xd80fe000
bttv3: detected: Provideo PV150A-4 [card=98], PCI subsystem ID is aa03:1463
bttv3: using: ProVideo PV150 [card=98,insmod option]
bttv3: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv3: using tuner=-1
bttv3: i2c: checking for TDA9875 @ 0xb0... not found
bttv3: i2c: checking for TDA7432 @ 0x8a... not found
bttv3: i2c: checking for TDA9887 @ 0x86... not found
bttv3: registered device video3
bttv3: registered device vbi3
bttv3: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (4).
bttv4: Bt878 (rev 17) at 0000:04:00.0, irq: 169, latency: 32, mmio: 0xd81f8000
bttv4: detected: Provideo PV150A-1 [card=98], PCI subsystem ID is aa00:1460
bttv4: using: ProVideo PV150 [card=98,insmod option]
bttv4: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv4: using tuner=-1
bttv4: i2c: checking for TDA9875 @ 0xb0... not found
bttv4: i2c: checking for TDA7432 @ 0x8a... not found
bttv4: i2c: checking for TDA9887 @ 0x86... not found
bttv4: registered device video4
bttv4: registered device vbi4
bttv4: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (5).
bttv5: Bt878 (rev 17) at 0000:04:01.0, irq: 177, latency: 32, mmio: 0xd81fa000
bttv5: detected: Provideo PV150A-2 [card=98], PCI subsystem ID is aa01:1461
bttv5: using: ProVideo PV150 [card=98,insmod option]
bttv5: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv5: using tuner=-1
bttv5: i2c: checking for TDA9875 @ 0xb0... not found
bttv5: i2c: checking for TDA7432 @ 0x8a... not found
bttv5: i2c: checking for TDA9887 @ 0x86... not found
bttv5: registered device video5
bttv5: registered device vbi5
bttv5: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (6).
bttv6: Bt878 (rev 17) at 0000:04:02.0, irq: 58, latency: 32, mmio: 0xd81fc000
bttv6: detected: Provideo PV150A-3 [card=98], PCI subsystem ID is aa02:1462
bttv6: using: ProVideo PV150 [card=98,insmod option]
bttv6: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv6: using tuner=-1
bttv6: i2c: checking for TDA9875 @ 0xb0... not found
bttv6: i2c: checking for TDA7432 @ 0x8a... not found
bttv6: i2c: checking for TDA9887 @ 0x86... not found
bttv6: registered device video6
bttv6: registered device vbi6
bttv6: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (7).
bttv7: Bt878 (rev 17) at 0000:04:03.0, irq: 66, latency: 32, mmio: 0xd81fe000
bttv7: detected: Provideo PV150A-4 [card=98], PCI subsystem ID is aa03:1463
bttv7: using: ProVideo PV150 [card=98,insmod option]
bttv7: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv7: using tuner=-1
bttv7: i2c: checking for TDA9875 @ 0xb0... not found
bttv7: i2c: checking for TDA7432 @ 0x8a... not found
bttv7: i2c: checking for TDA9887 @ 0x86... not found
bttv7: registered device video7
bttv7: registered device vbi7
bttv7: PLL: 28636363 => 35468950 .. ok
bttv0: PLL can sleep, using XTAL (28636363).

uname -a:
Linux box.localhost 2.6.18-164.15.1.el5 #1 SMP Wed Mar 17 11:30:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

this is not the stuff for you card but simmler if your modprobe file is setup for a 4 cam 2 chip card card=77,77 tuner=4,4

now for 2 of the the same cards card=77,77,77,77 tuner=4,4,4,4

so basically whatever you have in there double it for the second card.
Post Reply