Page 1 of 1

Problems bringing up Kodicom 4400R for ZM

Posted: Wed Dec 06, 2006 9:36 pm
by kda406
I just installed SuSE 10.1 for a ZM specific application using this howto article: http://www.zoneminder.com/wiki/index.ph ... ZoneMinder

To test, I am trying to use xawtv.

I started by using the modprobe information from this linuxtv.org page (but have tried many others from wiki's from here and other places):
http://www.linuxtv.org/v4lwiki/index.php/Kodicom_4400R

Under the bottom section, where they tell you to bring it up it says
Connect a camera to Cam0 and run xawtv. You should see the picture from the camera.
as the first step. I tried this, and no luck. All I ever get is a black screen. I know the cam works, as I have plugged it into a VCR's video input and can see/record stuff with it.

I must have read about 10 how-to's and they never give you troubleshooting advice because this part is just supposed to work. :roll:

In xawtv, it is supposed to say "Composite0" for the 1st choice, but it says Tuner, Composite1, S-video, Composite3. I have tried selecting the other choices and moving the camera from port to port on the 4400 card. I never get anything.

I will gladly provide error messages, logs, or whatever you guys might like so you can help me get passed this problem. I need to get ZoneMinder going really bad.

Many thanks in advance!

Posted: Wed Dec 06, 2006 9:55 pm
by jameswilson
if your not seeing video0-16 is xaw then the card isnt properly initailised.
What kernel version you using
and what have you done to your modeprobe.conf?

Kodicom 4400R

Posted: Fri Dec 08, 2006 1:14 am
by jwf2466
I use the very same card in my system. Edit the modprobe.conf and add the following at the end... don't forget to hit enter at the end.

options bttv gbuffers=32 card=133,132,133,133

Then reboot the system. You should then have composite 1 through 16.
Remember that /dev/video0 operates channel 0 through 3, /dev/video1 operates 4 through 7 and so on. Make sure there is a camera attached to the input you are using!

This should fix the prob. gbuffers could be changed to either 16 or 32.

Good Luck,
John

Posted: Fri Dec 08, 2006 9:30 pm
by kda406
First of all, thanks for the replies!

"uname -a" reveals:
Linux strike 2.6.16.21-0.25-default #1 Tue Sep 19 07:26:15 UTC 2006 i686 i686 i386 GNU/Linux

I edited the modprobe.conf file just like John suggested and rebooted. So it has the:
options bttv gbuffers=32 card=133,132,133,133

This solved one problem. Now xawtv shows Composite0 - Composite15 in the Video Source choices. Yay!

But I still get no video. The camera is NTSC, so I have TV norm set to NTSC. Frequency table is set to us-bcast (is this right?). Capture is set to overlay.

I tried the camera hooked to a port directly on the card, and tried choosing all 16 inputs, one at a time, to see if I get video anywhere Then I moved the camera output to the next input connector and try all 16 inputs in xawtv again. Repeat until hair falls out...

What should I try next? What is the "frequency table" supposed to be set to for an NTSC video camera input?

Thanks!

Posted: Thu Jan 11, 2007 2:06 pm
by kda406
Can anybody help? It has been forever, I still can't get it to work, and nobody is replying. This linux problem is preventing me from getting ZoneMinder working.

Please help! PLEASE

-Kyle

Posted: Thu Jan 11, 2007 10:07 pm
by jameswilson
you sure the cam is ok, if you use zm do you get a blue screen
ports on the card are the ones to use first. Not sure if answered but what distro

Posted: Tue Jan 16, 2007 8:11 pm
by kda406
The camera works fine when plugged into a VCR/TV. It has composite output, like the Kodicom expects. Yet, xawtv asks for things like frequency tables and capture types as if it is a tuner. Does an NTSC video camera going into a Kodicom 4400R use "overlay" or "grabdisplay"?

The distro is SuSE 10.1 (first line of post).

I have not tried to install ZoneMinder yet since linux isn't seeing the video camera. Like I said, I'm trying to use xawtv to setup the hardware before installing ZM. I'd rather not be troubleshooting ZM and linux hardware problems at the same time.

Posted: Thu Jan 18, 2007 10:27 am
by jameswilson
dont suppose you could install the 2006 non live distro as thats what i use. Shouls just work mate once you edit the modprobe file

Posted: Thu Jan 18, 2007 9:22 pm
by cordel
Return what you get from:

Code: Select all

dmesg |grep bttv
the card should return four instances and card numbers in order from top to bottom should match 133,132,133,133

If not then you need to manualy force it in the kernel options:
options bttv gbuffers=16 card=133,132,133,133

Posted: Fri Jan 19, 2007 2:34 pm
by kda406
Cordel, here is what I get. It looks like it has the correct modprobes to me:

Code: Select all

bttv: driver version 0.9.16 loaded
bttv: using 32 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:02:0c.0, irq: 5, latency: 32, mmio: 0xe3000000
bttv0: using: Kodicom 4400R (slave) [card=133,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv0: using tuner=-1
bttv0: i2c: checking for TDA9887 @ 0x86... not found
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .<6>agpgart: Detected VIA Apollo Pro 133 chipset
bttv: Bt8xx card found (1).
bttv1: Bt878 (rev 17) at 0000:02:0d.0, irq: 6, latency: 32, mmio: 0xe2000000
bttv1: using: Kodicom 4400R (master) [card=132,insmod option]
bttv1: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv1: using tuner=-1
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:0e.0, irq: 11, latency: 32, mmio: 0xe1000000
bttv2: using: Kodicom 4400R (slave) [card=133,insmod option]
bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv2: using tuner=-1
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:0f.0, irq: 10, latency: 32, mmio: 0xe0000000
bttv3: using: Kodicom 4400R (slave) [card=133,insmod option]
bttv3: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv3: using tuner=-1
bttv3: registered device video3
bttv3: registered device vbi3
bttv3: PLL: 28636363 => 35468950 .<6>USB Universal Host Controller Interface driver v2.3
[<e146f7b7>] (bttv_irq+0x0/0x63e [bttv])
bttv0: timeout: drop=0 irq=1/1, risc=1dee503c, bits: VSYNC HSYNC OFLOW RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee503c, bits: FMTCHG VSYNC HSYNC HLOCK VPRES RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee503c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee503c, bits: FMTCHG VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: FMTCHG VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: FMTCHG VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee503c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee503c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: FMTCHG VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: FMTCHG VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee503c, bits: FMTCHG VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: FMTCHG VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: FMTCHG VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee503c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: FMTCHG VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee503c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: FMTCHG VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee503c, bits: FMTCHG VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: FMTCHG VSYNC HSYNC RISCI

Posted: Fri Jan 19, 2007 4:53 pm
by kamand
kda406 wrote:Cordel, here is what I get. It looks like it has the correct modprobes to me:

Code: Select all

bttv: driver version 0.9.16 loaded
bttv: using 32 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:02:0c.0, irq: 5, latency: 32, mmio: 0xe3000000
bttv0: using: Kodicom 4400R (slave) [card=133,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv0: using tuner=-1
bttv0: i2c: checking for TDA9887 @ 0x86... not found
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .<6>agpgart: Detected VIA Apollo Pro 133 chipset
kda406 wrote:

Code: Select all

bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: FMTCHG VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: timeout: drop=0 irq=1/1, risc=1dee501c, bits: VSYNC HSYNC RISCI
bttv0: reset, reinitialize
It seems like hardware problem. Your motheboard is old, and capasitors are old too.
Regards
Andrew

Posted: Wed Jan 24, 2007 8:06 am
by jefferywilkins
~]# dmesg |grep bttv

bttv: driver version 0.9.15 loaded
bttv: using 32 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:00:01.0, irq: 145, latency: 64, mmio: 0xf5ef0000
bttv0: subsystem: 008a:763c (UNKNOWN)
bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00ffe0ff [init]
bttv0: using tuner=-1
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: timeout: drop=7 irq=2081/2081, risc=1c68c024, bits: HSYNC FDSR
bttv0: reset, reinitialize