getting sub(channels) with PV-155

Forum for questions and support relating to the 1.24.x releases only.
Locked
gerritkuehn
Posts: 3
Joined: Wed Dec 01, 2010 4:24 pm

getting sub(channels) with PV-155

Post by gerritkuehn »

Hi,

I have a PV155 card from Bluecherry here which should be able to do 16 chans. There are 4 video chips on the card and I get /dev/video0 to /dev/video3 from them. The card has 2 connector sets, each with 4 blue and 4 green connectors labeled from 1 to 4.
So I think I should be able to get four channels via each /dev/video device. Using zoneminder 1.24.2 with Linux 2.6.34 all 16 channels are offered when using zoneminders probe menu. I can get the first 4 cameras connected to the first 4 blue connectors as monitors on /dev/videoX, channel 0 without any problem.
However, I cannot get any further camera, so all settings with a channel >0 produce a blue monitor screen only. I've spent two days now searching the net and the forums here, but all hints I found (e.g., setting ZM_CAPTURES_PER_FRAME=4) did not help anything.

Is anyone here who can confirm that this card works with (sub)channels at all? Are there any hints what else I could try to get this working? Any help of course is greatly appreciated.


cu
Gerrit


[10893862.529357] bttv: driver version 0.9.18 loaded
[10893862.529359] bttv: using 8 buffers with 2080k (520 pages) each for capture
[10893862.529419] bttv: Bt8xx card found (0).
[10893862.529429] bttv0: Bt878 (rev 17) at 0000:12:08.0, irq: 21, latency: 132, mmio: 0xd8000000
[10893862.529490] bttv0: detected: Provideo PV150A-1 [card=98], PCI subsystem ID is aa00:1460
[10893862.529492] bttv0: using: ProVideo PV150 [card=98,insmod option]
[10893862.529494] IRQ 21/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
[10893862.529523] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
[10893862.529630] bttv0: tuner absent
[10893862.529750] bttv0: registered device video0
[10893862.529774] bttv0: registered device vbi0
[10893862.529792] bttv0: PLL: 28636363 => 35468950 . ok
[10893862.543704] bttv: Bt8xx card found (1).
[10893862.543713] bttv1: Bt878 (rev 17) at 0000:12:09.0, irq: 22, latency: 132, mmio: 0xd8002000
[10893862.543728] bttv1: detected: Provideo PV150A-2 [card=98], PCI subsystem ID is aa01:1461
[10893862.543730] bttv1: using: ProVideo PV150 [card=98,insmod option]
[10893862.543731] IRQ 22/bttv1: IRQF_DISABLED is not guaranteed on shared IRQs
[10893862.543753] bttv1: gpio: en=00000000, out=00000000 in=00ffffff [init]
[10893862.543783] bttv1: tuner absent
[10893862.543814] bttv1: registered device video1
[10893862.543837] bttv1: registered device vbi1
[10893862.543857] bttv1: PLL: 28636363 => 35468950 .
[10893862.547970] bttv1: PLL: 28636363 => 35468950 .
[10893862.547976] bttv1: PLL: 28636363 => 35468950 . ok
[10893862.558923] bttv: Bt8xx card found (2).
[10893862.558933] bttv2: Bt878 (rev 17) at 0000:12:0a.0, irq: 23, latency: 132, mmio: 0xd8004000
[10893862.558953] bttv2: detected: Provideo PV150A-3 [card=98], PCI subsystem ID is aa02:1462
[10893862.558954] bttv2: using: ProVideo PV150 [card=98,insmod option]
[10893862.558956] IRQ 23/bttv2: IRQF_DISABLED is not guaranteed on shared IRQs
[10893862.558977] bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
[10893862.559140] bttv2: tuner absent
[10893862.559189] bttv2: registered device video2
[10893862.559213] bttv2: registered device vbi2
[10893862.559232] bttv2: PLL: 28636363 => 35468950 . ok
[10893862.559917] bttv2: PLL: 28636363 => 35468950 .
[10893862.560405] bttv2: PLL: 28636363 => 35468950 . ok
[10893862.574257] bttv: Bt8xx card found (3).
[10893862.574267] bttv3: Bt878 (rev 17) at 0000:12:0b.0, irq: 20, latency: 132, mmio: 0xd8006000
[10893862.574291] bttv3: detected: Provideo PV150A-4 [card=98], PCI subsystem ID is aa03:1463
[10893862.574293] bttv3: using: ProVideo PV150 [card=98,insmod option]
[10893862.574294] IRQ 20/bttv3: IRQF_DISABLED is not guaranteed on shared IRQs
[10893862.574317] bttv3: gpio: en=00000000, out=00000000 in=00ffffff [init]
[10893862.574350] bttv3: tuner absent
[10893862.574406] bttv3: registered device video3
[10893862.574429] bttv3: registered device vbi3
[10893862.574448] bttv3: PLL: 28636363 => 35468950 .
[10893862.575298] bttv3: PLL: 28636363 => 35468950 .
[10893862.575590] bttv3: PLL: 28636363 => 35468950 . ok
gerritkuehn
Posts: 3
Joined: Wed Dec 01, 2010 4:24 pm

Re: getting sub(channels) with PV-155

Post by gerritkuehn »

I think I have the correct combination of ZM_CAPTURES_PER_FRAME and V4L_MULTI_BUFFER now. A major problem was that the 5th channel I wanted to use is obviously broken... I alway get only the blue screen there, no matter what I do. However, I can use three more channels now. So what is working is this:

video0(0)
video0(1)
video1(0)
video1(1)
video2(0)
video2(1) <- broken, for whatever reason
video3(0)
video3(1)


I am still missing two more multiplexed channels per video device. The seem not to be found at all:
psl-video # v4l2-ctl --list-devices
BT878 video (ProVideo PV150) (PCI:0000:12:08.0):
/dev/video0
/dev/vbi0

BT878 video (ProVideo PV150) (PCI:0000:12:09.0):
/dev/video1
/dev/vbi1

BT878 video (ProVideo PV150) (PCI:0000:12:0a.0):
/dev/video2
/dev/vbi2

BT878 video (ProVideo PV150) (PCI:0000:12:0b.0):
/dev/video3
/dev/vbi3

psl-video # v4l2-ctl -n
ioctl: VIDIOC_ENUMINPUT
Input : 0
Name : Composite0
Type : 0x00000002
Audioset: 0x00000001
Tuner : 0x00000000
Standard: 0x0000000000FFBFFF ( PAL NTSC SECAM )
Status : 0

Input : 1
Name : Composite1
Type : 0x00000002
Audioset: 0x00000001
Tuner : 0x00000000
Standard: 0x0000000000FFBFFF ( PAL NTSC SECAM )
Status : 0


Any input from here why I can see only 2 multiplexed channels per device instead of the expected 4?


cu
Gerrit
Locked