PV155 16port card problems

Support and queries relating to all previous versions of ZoneMinder
Locked
kudos
Posts: 28
Joined: Mon Jul 03, 2006 9:43 am

PV155 16port card problems

Post by kudos »

Hi

i brought a PV155 16 port card from you,
we have just installed it into our zone minder system and are having alittle bit of a problem getting it to work as it should
system is running kernel as follows

Linux 2.6.22.5-49.fc6 #1 SMP Thu Aug 30 13:28:55 EDT 2007 i686 athlon i386 GNU/Linux
running on fedora 6

we have connected cameras to DB1 on blue V1-V4 and green V1-V4 and on DB2 Green V1-2
system seems /dev/video /dev/video1 to 3
see below for the grep output

when we select the source and channel in zone minder we have found the following

Video0 was working but it has now gone to blue screen output only, we have all cameras on 2fps caps

video0
red ch 0-3

video1
ch0 working
ch1 working
ch3 orange blue screen
ch2 orange blue screen

video2
ch0 ornage blue screen
ch1 ornage blue screen
ch2 ornage blue screen
ch3 ornage blue screen

video3
ch0 ch1 work
ch2 orange blue screen
ch3 orange blue screen

orange & red where zone minder shows camera colours for soruce

i have added to modprobe.conf
options bttv card=77,77,77,77

before i added this i could not see past ch 0 - 1 with black screens on ch 2-3 for videos where now we get blue screens

i noticed in the messages log when adding a deivce on video0, any chanel we get
Sep 18 09:47:31 cctvs1 zmwatch[13606]: ERR [Can't get shared memory id '7a6d201a', 26: No such file or directory]
Sep 18 09:47:31 cctvs1 zmwatch[13606]: INF [Restarting capture daemon for New, shared memory not valid]
Sep 18 09:47:31 cctvs1 zmdc[13369]: INF ['zmc -d /dev/video0' starting at 07/09/18 09:47:31, pid = 23190]
Sep 18 09:47:31 cctvs1 zmwatch[13606]: INF ['zmc -d /dev/video0' starting at 07/09/18 09:47:31, pid = 23190]
Sep 18 09:47:31 cctvs1 zmdc[23190]: INF ['zmc -d /dev/video0' started at 07/09/18 09:47:31]
Sep 18 09:47:31 cctvs1 zmc_dvideo0[23190]: INF [Debug Level = 0, Debug Log = <none>]
Sep 18 09:47:31 cctvs1 zmc_dvideo0[23190]: INF [Starting Capture]
Sep 18 09:47:31 cctvs1 zmc_dvideo0[23190]: ERR [Capture failure for frame 0: Device or resource busy]
Sep 18 09:47:31 cctvs1 zmdc[13369]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]

Sep 18 10:11:39 cctvs1 zmdc[13369]: INF [Starting pending process, zmc -d /dev/video0]
Sep 18 10:11:39 cctvs1 zmdc[13369]: INF ['zmc -d /dev/video0' starting at 07/09/18 10:11:39, pid = 32585]
Sep 18 10:11:39 cctvs1 zmdc[32585]: INF ['zmc -d /dev/video0' started at 07/09/18 10:11:39]
Sep 18 10:11:39 cctvs1 zmc_dvideo0[32585]: INF [Debug Level = 0, Debug Log = <none>]
Sep 18 10:11:39 cctvs1 zmc_dvideo0[32585]: INF [Starting Capture]
Sep 18 10:11:39 cctvs1 zmc_dvideo0[32585]: ERR [Capture failure for frame 0: Device or resource busy]
Sep 18 10:11:39 cctvs1 zmdc[13369]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]

# dmesg | grep bttv
bttv: driver version 0.9.17 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bt878: Unknown symbol bttv_read_gpio
bt878: Unknown symbol bttv_write_gpio
bt878: Unknown symbol bttv_gpio_enable
bt878: Unknown symbol bttv_read_gpio
bt878: Unknown symbol bttv_write_gpio
bt878: Unknown symbol bttv_gpio_enable
bt878: Unknown symbol bttv_read_gpio
bt878: Unknown symbol bttv_write_gpio
bt878: Unknown symbol bttv_gpio_enable
bt878: Unknown symbol bttv_read_gpio
bt878: Unknown symbol bttv_write_gpio
bt878: Unknown symbol bttv_gpio_enable
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:02:08.0, irq: 21, latency: 32, mmio: 0xfdfff000
bttv0: detected: Provideo PV150A-1 [card=98], PCI subsystem ID is aa00:1460
bttv0: using: GrandTec Multi Capture Card (Bt878) [card=77,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 .. ok
bttv: Bt8xx card found (1).
bttv1: Bt878 (rev 17) at 0000:02:09.0, irq: 22, latency: 32, mmio: 0xfdffd000
bttv1: detected: Provideo PV150A-2 [card=98], PCI subsystem ID is aa01:1461
bttv1: using: GrandTec Multi Capture Card (Bt878) [card=77,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:0a.0, irq: 18, latency: 32, mmio: 0xfdffb000
bttv2: detected: Provideo PV150A-3 [card=98], PCI subsystem ID is aa02:1462
bttv2: using: GrandTec Multi Capture Card (Bt878) [card=77,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:0b.0, irq: 23, latency: 32, mmio: 0xfdff9000
bttv3: detected: Provideo PV150A-4 [card=98], PCI subsystem ID is aa03:1463
bttv3: using: GrandTec Multi Capture Card (Bt878) [card=77,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
Many thanks for your time
Robert
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

I have had better luck with that card as 98,98,98,98 in Ubuntu.
kudos
Posts: 28
Joined: Mon Jul 03, 2006 9:43 am

Post by kudos »

Hi

thanks for the reply, ill give them resolts a shot if i cant get any inputs showing, i have images on first two chanels of each video device only still


i have increased my shared memory size now and thats stop a handfull of errors about shared memory

/etc/sysctl.conf
shmmax=2147483648
chimaster
Posts: 5
Joined: Sun Nov 11, 2007 7:57 am
Location: Queenstown

Blue Screens

Post by chimaster »

I just worked this one out last night, thanks to some posts on the forum.

It's a shoddy numbering system on the card. Vid1- Green or Blue plugs on either adapter is Cam1 on each channel.

Example.

Video0(0) Vid1 Green
Video1(0) Vid1 Blue
Video2(0) Vid1 Green
Video3(0) Vid1 Blue

Get the picture? I lost about 5 hours trying to work out what was going wrong and why two cameras refused to give an image. Now it works like a charm!.

Although, now I see it laid out like this it isn't too bad. Could do with a little (WATCH OUT!) note on the docs though.

:-)
Locked