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

Post here to indicate any hardware you have used and which is known to work with ZoneMinder. Not for questions.
technicavolous
Posts: 56
Joined: Sun Nov 11, 2007 12:10 am
Location: Howey In The Hills, FL

Post by technicavolous »

I've been trying to get a picture of this card since Dec 29 - lol you'd think a video guy could take a freakin picture?? LOL!

Anyway in the mean time I had another issue come up with these cards that has convinced me you just can't use 'em for 16 cams but they work great in a pair. The trick is you have to define all the monitors, all 32, but you only activate and use 16 of 'em.
See
http://www.zoneminder.com/forums/viewtopic.php?t=10913

Here is a truth chart that I made to help myself map out the ports. As you know, the connector number doesn't correspond with the port number in software.
I use 'code' so it is monospaaaced ...
A= Monitor Number
B= Device Path
C= Device Channel
D= Translated C for second card to make setting up all 32 monitors in zm more clear
E= Color I assign to that monitor number for timeline

Code: Select all

 Card 1              Card 2
 A  B           C    A  B           C   D     E
 1  /dev/video0 0    17 /dev/video4 0   16    
 2  /dev/video0 1    18 /dev/video4 1   17
 3  /dev/video0 2    19 /dev/video4 2   18    
 4  /dev/video0 3    20 /dev/video4 3   19
  
 5  /dev/video1 4    21 /dev/video5 4   20    
 6  /dev/video1 5    22 /dev/video5 5   21
 7  /dev/video1 8    23 /dev/video5 8   24    
 8  /dev/video1 9    24 /dev/video5 9   25
 
 9  /dev/video2 10   25 /dev/video6 10  26    
 10 /dev/video2 11   26 /dev/video6 11  27
 11 /dev/video2 12   27 /dev/video6 12  28    
 12 /dev/video2 13   28 /dev/video6 13  29
 
 13 /dev/video3 6    29 /dev/video7 6   22    
 14 /dev/video3 7    30 /dev/video7 7   23
 15 /dev/video3 14   31 /dev/video7 14  30    
 16 /dev/video3 15   32 /dev/video7 15  31

Rearranging for a little different logic, I get this -

Code: Select all

 Card 1              Card 2
 A  B           C    A  B           C   D     E
 1  /dev/video0 0    17 /dev/video4 0   16    brown
 2  /dev/video0 1    18 /dev/video4 1   17    red
 3  /dev/video0 2    19 /dev/video4 2   18    orange
 4  /dev/video0 3    20 /dev/video4 3   19    yellow
 
 5  /dev/video1 4    21 /dev/video5 4   20    green
 6  /dev/video1 5    22 /dev/video5 5   21    blue
 7  /dev/video3 6    23 /dev/video7 6   22    violet
 8  /dev/video3 7    24 /dev/video7 7   23    gray
 
 9  /dev/video1 8    25 /dev/video5 8   24    tan
 10 /dev/video1 9    26 /dev/video5 9   25    black
 11 /dev/video2 10   27 /dev/video6 10  26    maroon
 12 /dev/video2 11   28 /dev/video6 11  27    crimson
 
 13 /dev/video2 12   29 /dev/video6 12  28    gold
 14 /dev/video2 13   30 /dev/video6 13  29    goldenrod
 15 /dev/video3 14   31 /dev/video7 14  30    olive
 16 /dev/video3 15   32 /dev/video7 15  31    purple
I activate these (modect, enabled)

Code: Select all

 Card 1              Card 2
 A  B           C    A  B           C   D     E
 1  /dev/video0 0    18 /dev/video4 1   17    
 3  /dev/video0 2    20 /dev/video4 3   19     
 5  /dev/video1 4    22 /dev/video5 5   21    
 7  /dev/video1 8    24 /dev/video5 9   25
 9  /dev/video2 10   26 /dev/video6 11  27    
 11 /dev/video2 12   28 /dev/video6 13  29  
 13 /dev/video3 6    30 /dev/video7 7   23    
 15 /dev/video3 14   32 /dev/video7 15  31
 
And then set up a Monitor Group of only the activated monitors and apply it. Viola, 16 monitors that work, make sense and are easily managable.

Works for me ...
Tracy Markham

.
alecano23
Posts: 22
Joined: Thu Oct 23, 2008 1:47 pm

Post by alecano23 »

Hello everybody, I am reading all the forum since monday to find a FINAL SOLUTION to the problem that KMC 4400 has to enable more than 4 cams??? How to configure?? I have set

/dev/video0 0
/dev/video1 1
/dev/video2 2
/dev/video3 3

For the first four, but want to add 2 more and I cant..

please help me
technicavolous
Posts: 56
Joined: Sun Nov 11, 2007 12:10 am
Location: Howey In The Hills, FL

Post by technicavolous »

You're using just the first port off of each channel on the card. The card has four channels (chips) with four ports each.

Try setting up for EIGHT cameras and only connect / activate six. Use the chart from the first page of this topic.

Something like

Code: Select all

/dev/video0 0
/dev/video0 1
/dev/video1 2
/dev/video1 3
/dev/video2 4
/dev/video2 5
/dev/video3 6
/dev/video3 7
Try that or some variation - remember the physical connectors aren't in the order you think they might be. Study the charts on this post you'll figure it out! ;]
Tracy Markham

If you take the path of least resistance, you're probably on a downhill journey ...
Skid
Posts: 2
Joined: Fri Nov 25, 2011 8:10 pm

Re: KMC4400R 4 chip - 16 input card problems getting to came

Post by Skid »

@technicavolous

Did you install the first expansor (for cameras 5,6,7,8) at the SECOND 4 pairs of pins starting left?
Attachments
Kmc4400r-small.jpg
Kmc4400r-small.jpg (46.12 KiB) Viewed 3618 times
technicavolous
Posts: 56
Joined: Sun Nov 11, 2007 12:10 am
Location: Howey In The Hills, FL

Re: KMC4400R 4 chip - 16 input card problems getting to came

Post by technicavolous »

God it's been a long time ... but on that version of the card I believe you are correct. I do remember that they didn't seem to be in a logical order; we discovered by poking around the ports with a couple of cameras. Trial and error, more error than success until we finally got it. I believe there is a better explanation on one of the V4L forums but I don't recall where.
Tracy Markham

If you take the path of least resistance, you're probably on a downhill journey ...
Post Reply