Page 1 of 2

KMC4400R 4 chip - 16 input card problems getting to camera 5

Posted: Sun Feb 05, 2006 2:46 am
by Hogface
I am running ZM 1.22
I have a KMC4400R card installed.

It has been working great with 4 cameras directly connected to the back of the card.

Today, I tried to add two additional cameras to the expansion ports (also bnc). The expansion ports are hooked correctly to the main card on the internal connector pins per the instructions.

My modprobe is:
options bttv card=0x85,0x84,0x85,0x85 radio=-1 tuner=4 pll=0
(I use the hex reference and the line worked great).
The card is a 4 chip card.

My camera's were setup like
/dev/video0 (0)
/dev/video1 (1)
/dev/video2 (2)
/dev/video3 (3)

I am now not sure how to reference the other cameras. I have tried multiple configurations. I either get a blue screen, or a signal that seems out of sync. I also moved the cameras around to other unused ports.

I also referrenced the following article but to no avail:
http://www.zoneminder.com/forums/viewto ... t=kmc4400r

It seems there may be a unique way to access these new cameras. Any help is appreciated
________
Suzuki M13AA engine specifications

Posted: Sun Feb 05, 2006 8:05 am
by cordel
Try one of these:

I know this works:
/dev/video0 (0-15)

Some thing like this may also work:
/dev/video0 (0)
/dev/video0 (4)
/dev/video0 (8)
/dev/video0 (12)

/dev/video1 (1)
/dev/video1 (5)
/dev/video1 (9)
/dev/video1 (13)

etc...

I haven't had a chance yet to play alot with this card and since I only have 5 cams on it have been to lazy to get up and switch inputs :roll:

Corey

Card inputs

Posted: Mon Feb 06, 2006 1:45 am
by Hogface
I went completely /dev/video0 (0-15)
and could not find all my signals, I only found 2 of my signals and one wasn't very good.

I also went through all the inputs
/dev/video(0) through 0-15
/dev/video(1) through 0-15
/dev/video(2) through 0-15
/dev/video(3) through 0-15

And could not find all my signals...

I do have a USB Camera that is setup on /dev/video4, but I don't think it will make a difference.

Any thoughts...
________
n02 vaporizer

Update

Posted: Mon Feb 06, 2006 3:34 am
by Hogface
On the camera that I am seeing...I see the same video source on:
/dev/video0 (6)
/dev/video1 (6)
/dev/video2 (6)
/dev/video3 (6)

Posted: Wed Feb 08, 2006 8:14 pm
by tux
I testing this card today with 8 cameras.

- FIRST Using only tvtime (xawtv....) without zm.

Have 16 composite inputs (composite0-composite15) correspond to:

KMC card

Card BNC INPUT ( (composite0,composite1,composite2,composite3)
BNC EXTRA A [left](composite6,composite7,composite,14,composite15)
BNC EXTRA B [center](composite10,composite11,composite,12,composite13)
BNC EXTRAC [right] (composite4,composite5,composite,8,composite9)

Posted: Wed Feb 08, 2006 8:19 pm
by tux
SECOND with zm (defining monitors), I have the same as you:

4 CAMERAS
/dev/video0 0 = composite0
/dev/video1 1 = composite1
/dev/video2 2 = composite2
/dev/video3 3 = composite3

8 CAMERAS
/dev/video(1,2,3,4) 4 = composite4
/dev/video(1,2,3,4) 5 = composite5
/dev/video(1,2,3,4) 8 = composite8
/dev/video(1,2,3,4) 9 = composite9

12 CAMERAS
/dev/video(1,2,3,4) 10 = composite10
/dev/video(1,2,3,4) 11= composite11
/dev/video(1,2,3,4) 12= composite12
/dev/video(1,2,3,4) 13 = composite13

16 CAMERAS
/dev/video(1,2,3,4) 6 = composite6
/dev/video(1,2,3,4) 7 = composite7
/dev/video(1,2,3,4) 14 = composite14
/dev/video(1,2,3,4) 15 = composite15

Thanks!

Posted: Sat Feb 11, 2006 1:11 am
by Hogface
Your right with all 4 devices defined, then I used the count scheme 0-15 and split the load across the 4 /devices (chips) I believe and works great...
Thanks for the help...
________
C25XE

Posted: Tue Dec 18, 2007 2:01 am
by technicavolous
This thread has been a great deal of help.

However if I define the ports as follows, when applying video to one port at a time I see flickers of the image on other screens in the montage view -

/dev/video0 0
/dev/video0 1
/dev/video0 2
/dev/video0 3

/dev/video1 4
/dev/video1 5
/dev/video1 6
/dev/video1 7

/dev/video2 8
/dev/video2 9
/dev/video2 10
/dev/video2 11

/dev/video3 12
/dev/video3 13
/dev/video3 14
/dev/video3 15

I *think* I understand your post but I don't understand the format
/dev/video(1,2,3,4)
I assume you mean to choose one of the inputs? 0,1,2,3 perhaps?

If I understand you properly, I need to reassign the chips as

/dev/video0 0
/dev/video0 1
/dev/video0 2
/dev/video0 3

/dev/video1 4
/dev/video1 5
/dev/video1 8
/dev/video1 9

/dev/video2 10
/dev/video2 11
/dev/video2 12
/dev/video2 13

/dev/video3 6
/dev/video3 7
/dev/video3 14
/dev/video3 15

Rearranging for a little different logic, I get this -
/dev/video0 0
/dev/video0 1
/dev/video0 2
/dev/video0 3

/dev/video1 4
/dev/video1 5
/dev/video3 6
/dev/video3 7

/dev/video1 8
/dev/video1 9
/dev/video2 10
/dev/video2 11

/dev/video2 12
/dev/video2 13
/dev/video3 14
/dev/video3 15

I'm going to implement this tomorrow onsite, but was hoping to confirm tonite why the order makes any differences. Perhaps it has to do with how the master chip polls the slave chips?

I know it's been years for you guys lol but I just came across the problem / phenomena and I have to make it work ...

Thanks
Tracy

.

Here is the real life set up of my cameras

Posted: Wed Dec 19, 2007 1:06 am
by Hogface
Ok...
see if this helps.
This is how my cameras are working (and have been for over a year :) )
Id Name Function Source Events Hour Day Week Month Archive Zones Order Mark
1. OutsideEast Modect /dev/video0 (0) 1 0 1 1 1 3 1
10. OutsideSouthEast Modect /dev/video2 (1) 3 0 3 3 3 0 1
3. OutsideSouthWest Modect /dev/video3 (2) 0 0 0 0 0 0 1
11. OutsideWestDoor Modect /dev/video5 (0) 0 0 0 0 0 0 1
8. OutsideNorth Modect /dev/video6 (2) 0 0 0 0 0 0 1
4. OutsideTowerNorth Modect /dev/video4 (3) 0 0 0 0 0 0 1
15. OutsideTowerSW Modect /dev/video8 (15) 0 0 0 0 0 0 1
9. InsideEastEnd Monitor /dev/video8 (7) 0 0 0 0 0 0 1
7. InsideFrontDoor Modect /dev/video6 (1) 1 1 1 1 1 1 1
6. InsideWestEnd Modect /dev/video7 (14) 1 1 1 1 1 0 1
16. InsideNorthEast Monitor /dev/video7 (6) 0 0 0 0 0 0 1
2. Office Monitor /dev/video1 (0) 0 0 0 0 0 0 1

oh yea

Posted: Wed Dec 19, 2007 1:08 am
by Hogface
The camera "office"
is usb attached and not off the two video cards....

If I can help in any other way, or you need any other of my configs, please let me know.
________
Oshawa Metal

Posted: Wed Dec 19, 2007 9:30 am
by jameswilson
As above i added to the wiki recently what the card order is. Im assuming you havnt used the pins closest to the plate of the card as these should not be used for the headers?

Posted: Sat Dec 29, 2007 3:29 pm
by Hogface
I will pop the cover and look.
Quite frankly, I don't remember!
________
Industries

Knock-off

Posted: Sat Dec 29, 2007 6:49 pm
by technicavolous
I'm having the same problem iwth a second card.

This is a 4400r knockoff, everything is exactly the same except the headers come off the back instead of the top of the card, and instead of BNC connectors on the tang, it has two 'vga' looking connectors and octopus adapters that have 8 bnc pigtails each.

The pigtails are numbered 1 - 8 on each of the octopus adapters.

If I don't configure the 16 monitors as I described above, the thing shuffles the images like a rubix cube.

I can't imagine I have two bad boards ...
Tracy

.

Posted: Sat Dec 29, 2007 7:42 pm
by jameswilson
probably isnt a 4400r then mate, got an image?

Posted: Fri Jan 04, 2008 9:54 am
by cordel
Sounds like another board I have. It sets up the same as the real card.
http://www.linuxtv.org/v4lwiki/index.php/Kodicom_4400R