* Amazing! *

Support and queries relating to all previous versions of ZoneMinder
Locked
filou
Posts: 9
Joined: Thu Jul 01, 2004 6:44 am

* Amazing! *

Post by filou »

Well, I must say: AMAZING!

I've had my LMLBT44 card sitting here for 1 year (purchased june 2003) and I got to install it over the last few weeks along with a few cameras.

It took a while to figure out all the LMLBT44 and Zoneminder issues, but now that this is all working, I must say I have not been this amazed since Virtual Hosts came out on Apache :)

Image

If you have any questiond I'd be glad to help.

I'm on Redhat 8.0. I tried to compile a custom kernel for the LMLBT44 card, but this requires more tweaking than I expected to make all the other services on the involved server work.

For now, I'm using the defalt bttv.o module. If only I could get all 8 inputs to work I'd be even happier... :wink:

PS: I'll be sending my contribution this week Philip!
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post by rdmelin »

Just a quick comment about LMLBT44. I set up a machine for a client with this card and ZoneMinder running on Mandrake 9.2, stock kernel. The trick to get all 8 inputs working was:
1. Remove all lines related to bttv from modules.conf
2. There was no 2. That was it. It just worked.

:)
Ross
filou
Posts: 9
Joined: Thu Jul 01, 2004 6:44 am

Post by filou »

Thanks! That's also what seemed to make the most sense to me... Here's what I've sent to LML for support:

#4 - PROBLEM: I can not enable /dev/video4 to /dev/video7

Here is the message when I launch xawtv:

This is xawtv-3.74, running on Linux/i686 (2.4.20-28.8)
Warning: locale not supported by Xlib, locale set to C
can't open /dev/video4: No such device
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video4: No such device
v4l: open /dev/video4: No such device
no video grabber device available

I currently do NOT have any specific options loaded for bttv in modules.conf.
Any help will be appreciated.

Here is modinfo for the default bttv.o module:

[root@lotus mysql]# modinfo bttv
filename: /lib/modules/2.4.20-28.8/kernel/drivers/media/video/bttv.o
description: "bttv - v4l driver module for bt848/878 based cards"
author: "Ralph Metzler & Marcus Metzler & Gerd Knorr"
license: "GPL"
parm: radio int array (min = 1, max = 4), description "The TV card supports radio, default is 0 (no)"
parm: bigendian int, description "byte order of the framebuffer, default is native endian"
parm: fieldnr int, description "count fields, default is 0 (no)"
parm: bttv_verbose int, description "verbose startup messages, default is 1 (yes)"
parm: bttv_gpio int, description "log gpio changes, default is 0 (no)"
parm: bttv_debug int, description "debug messages, default is 0 (no)"
parm: irq_debug int, description "irq handler debug messages, default is 0 (no)"
parm: gbuffers int, description "number of capture buffers, default is 2 (64 max)"
parm: gbufsize int, description "size of the capture buffers, default is 0x208000"
parm: gpint int
parm: combfilter int
parm: lumafilter int
parm: automute int, description "mute audio on bad/missing video signal, default is 1 (yes)"
parm: chroma_agc int, description "enables the AGC of chroma signal, default is 0 (no)"
parm: adc_crush int, description "enables the luminance ADC crush, default is 1 (yes)"
parm: video_nr int
parm: radio_nr int
parm: vbi_nr int
parm: triton1 int, description "set ETBF pci config bit [enable bug compatibility for triton1 + others]"
parm: vsfx int, description "set VSFX pci config bit [yet another chipset flaw workaround]"
parm: no_overlay int
parm: latency int, description "pci latency timer"
parm: card int array (min = 1, max = 4), description "specify TV/grabber card model, see CARDLIST file for a list"
parm: pll int array (min = 1, max = 4), description "specify installed crystal (0=none, 28=28 MHz, 35=35 MHz)"
parm: tuner int array (min = 1, max = 4), description "specify installed tuner type"
parm: autoload int, description "automatically load i2c modules like tuner.o, default is 1 (yes)"
parm: gpiomask int
parm: audioall int
parm: audiomux int array (min = 1, max = 5)
parm: firm_altera string, description "WinTV/PVR firmware (driver CD => unzip pvr45xxx.exe => hcwamc.rbf)"

filou
Posts: 9
Joined: Thu Jul 01, 2004 6:44 am

Post by filou »

And here is what my /dev/ folder looks like...

Code: Select all

crw----rw-    1 root     root      81,   0 Aug 30  2002 video0
crw----rw-    1 root     root      81,   1 Aug 30  2002 video1
crw-------    1 root     root     172,   0 Aug 30  2002 video1394
crw----rw-    1 root     root      81,   2 Aug 30  2002 video2
crw----rw-    1 root     root      81,   3 Aug 30  2002 video3
crw----rw-    1 root     root      81,   4 Jul  1 23:56 video4
crw----rw-    1 root     root      81,   5 Jul  1 23:56 video5
crw----rw-    1 root     root      81,   6 Jun 28 14:09 video6
crw----rw-    1 root     root      81,   7 Jun 28 14:09 video7

filou
Posts: 9
Joined: Thu Jul 01, 2004 6:44 am

Post by filou »

And another "glitch" / "issue": I can only see 2 streams at a time when I call up the MONTAGE or multiple windows...
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post by rdmelin »

Im not sure how much help I can be, as I no longer have the card, and my memory isn't what it once was, but here goes. The LMLBT44 has 4 bttv chips, so will be /dev/video0 thru /dev/video3. Inputs 5 thru 8 will be on channel 1 or 2. So input 1 in ZoneMinder would be /dev/video0(0) and input 5 would be /dev/video0(1 or 2). I wish I could remember which channel for sure. You could test whether both inputs that share a bttv device are working by plugging cams into inputs 1 and 5, and running xawtv -c /dev/video0. The sources in xawtv will be "television" (channel 1), "composite1" (channel 1), "svideo" (channel 2), and composite2 (channel 3).

The issue with montage may be that your system resources are tapped out. Are you using cambozola, or native mjpeg stream? Two streams at 9 FPS, apache, mysql, X, netscape... is a pretty fair load. Have you tried viewing from another machine?

Ross
Locked