Page 1 of 1
Monitor Video Source
Posted: Fri Jan 08, 2010 3:22 am
by jlross
I have been running ZoneMinder 1.22.x with Fedora 8 for quite some time. I decided to upgrade to Fedora 11 to get the newest version of ZoneMinder. I have a 4 port video card with 2 cameras. I previously had the source of these 2 cameras as /dev/video0 channel 0 and /dev/video1 channel 0.
After I upgraded, I set up the cameras the same but no combination I use will show the cameras. The source stays red with no video. There are 3 devices showing (dev/video0-dev/video3).
I don't understand why the exact same source settings aren't working. How can I determine where the video is coming in?
Posted: Fri Jan 08, 2010 5:07 pm
by JohnnyLaww
Well, for us to be able to figure out whats not working, we need a little more info. If I had to guess, my money is on your OS not correctly detecting your video capture board.
1. Which Video Capture board are you using? (ie, brand, model #)
1a. Post the ouput of
2. Post the output of
3. Post your log files so we can see whats going on with ZM and your OS.
John
Posted: Fri Jan 08, 2010 6:34 pm
by jlross
1. Bluecherry PV-149
2. dmesg | grep bttv
bttv: driver version 0.9.17 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv 0000:03:08.0: PCI INT A -> Link[LNKA] -> GSI 9 (level, low) -> IRQ 9
bttv0: Bt878 (rev 17) at 0000:03:08.0, irq: 9, latency: 64, mmio: 0x20000000
bttv0: detected: Provideo PV150A-1 [card=98], PCI subsystem ID is aa00:1460
bttv0: using: ProVideo PV150 [card=98,autodetected]
IRQ 9/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv0: tuner absent
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv: Bt8xx card found (1).
bttv 0000:03:09.0: PCI INT A -> Link[LNKB] -> GSI 10 (level, low) -> IRQ 10
bttv1: Bt878 (rev 17) at 0000:03:09.0, irq: 10, latency: 64, mmio: 0x20002000
bttv1: detected: Provideo PV150A-2 [card=98], PCI subsystem ID is aa01:1461
bttv1: using: ProVideo PV150 [card=98,autodetected]
IRQ 10/bttv1: IRQF_DISABLED is not guaranteed on shared IRQs
bttv1: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv1: tuner absent
bttv1: registered device video1
bttv1: registered device vbi1
bttv1: PLL: 28636363 => 35468950 ..<6>iTCO_vendor_support: vendor-support=0
bttv: Bt8xx card found (2).
bttv 0000:03:0a.0: PCI INT A -> Link[LNKC] -> GSI 5 (level, low) -> IRQ 5
bttv2: Bt878 (rev 17) at 0000:03:0a.0, irq: 5, latency: 64, mmio: 0x20004000
bttv2: detected: Provideo PV150A-3 [card=98], PCI subsystem ID is aa02:1462
bttv2: using: ProVideo PV150 [card=98,autodetected]
IRQ 5/bttv2: IRQF_DISABLED is not guaranteed on shared IRQs
bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv2: tuner absent
bttv2: registered device video2
bttv2: registered device vbi2
bttv2: PLL: 28636363 => 35468950 ..<6>iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05
bttv: Bt8xx card found (3).
bttv 0000:03:0b.0: PCI INT A -> Link[LNKD] -> GSI 11 (level, low) -> IRQ 11
bttv3: Bt878 (rev 17) at 0000:03:0b.0, irq: 11, latency: 64, mmio: 0x20006000
bttv3: detected: Provideo PV150A-4 [card=98], PCI subsystem ID is aa03:1463
bttv3: using: ProVideo PV150 [card=98,autodetected]
IRQ 11/bttv3: IRQF_DISABLED is not guaranteed on shared IRQs
bttv3: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv3: tuner absent
bttv3: registered device video3
bttv3: registered device vbi3
bttv3: PLL: 28636363 => 35468950 .. ok
3. lspci
00:00.0 Host bridge: Intel Corporation 82820 820 (Camino) Chipset Host Bridge (MCH) (rev 04)
00:01.0 PCI bridge: Intel Corporation 82820 820 (Camino) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801AA IDE Controller (rev 02)
00:1f.2 USB Controller: Intel Corporation 82801AA USB Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801AA SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15)
02:0b.0 PCI bridge: Hint Corp HB6 Universal PCI-PCI bridge (non-transparent mode) (rev 11)
02:0c.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
03:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
03:08.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
03:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
03:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
03:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
03:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
03:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
03:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
4. I think this is the section of the log you want. Looks like there is an error:
Jan 8 12:38:42 zm kernel: usbcore: registered new device driver usb
Jan 8 12:38:42 zm kernel: PCI: Using ACPI for IRQ routing
Jan 8 12:38:42 zm kernel: pci 0000:03:08.0: BAR 0: can't allocate resource
Jan 8 12:38:42 zm kernel: pci 0000:03:08.1: BAR 0: can't allocate resource
Jan 8 12:38:42 zm kernel: pci 0000:03:09.0: BAR 0: can't allocate resource
Jan 8 12:38:42 zm kernel: pci 0000:03:09.1: BAR 0: can't allocate resource
Jan 8 12:38:42 zm kernel: pci 0000:03:0a.0: BAR 0: can't allocate resource
Jan 8 12:38:42 zm kernel: pci 0000:03:0a.1: BAR 0: can't allocate resource
Jan 8 12:38:42 zm kernel: pci 0000:03:0b.0: BAR 0: can't allocate resource
Jan 8 12:38:42 zm kernel: pci 0000:03:0b.1: BAR 0: can't allocate resource
Posted: Sat Jan 09, 2010 4:00 am
by JohnnyLaww
Okay, you are absolutely right there is an issue with your card not being initialized properly.
Which kernel are you running? To find out you can run
This shouldn't be an issue but let's not overlook anything.
Edit: You might also try following this thread:
http://www.zoneminder.com/forums/viewtopic.php?t=15044
Posted: Sat Jan 09, 2010 3:28 pm
by jlross
I upgraded to Fedora 12 and am having exactly the same problem. The kernel with this version is 2.6.31.9-174.fc12.i686.
I have used this computer for several years with Fedora 8 and ZM but wonder if the resources are too minimal for Fedora 12. It's a P800 with 384 megs of memory. I hope this isn't the problem but if it is I'll have to downgrade back to my old setup and use that. Hopefully another solution can be found.