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.
Hogface
Posts: 70
Joined: Wed Oct 05, 2005 1:52 am
Location: Arkansas

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

Post 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
Last edited by Hogface on Thu Feb 03, 2011 1:11 pm, edited 1 time in total.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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
Hogface
Posts: 70
Joined: Wed Oct 05, 2005 1:52 am
Location: Arkansas

Card inputs

Post 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
Last edited by Hogface on Thu Feb 03, 2011 1:11 pm, edited 1 time in total.
Hogface
Posts: 70
Joined: Wed Oct 05, 2005 1:52 am
Location: Arkansas

Update

Post 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)
Greg
tux
Posts: 55
Joined: Wed Mar 16, 2005 1:18 pm

Post 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)
tux
Posts: 55
Joined: Wed Mar 16, 2005 1:18 pm

Post 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
Hogface
Posts: 70
Joined: Wed Oct 05, 2005 1:52 am
Location: Arkansas

Thanks!

Post 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
Last edited by Hogface on Thu Feb 03, 2011 1:12 pm, edited 1 time in total.
technicavolous
Posts: 56
Joined: Sun Nov 11, 2007 12:10 am
Location: Howey In The Hills, FL

Post 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

.
Hogface
Posts: 70
Joined: Wed Oct 05, 2005 1:52 am
Location: Arkansas

Here is the real life set up of my cameras

Post 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
Greg
Hogface
Posts: 70
Joined: Wed Oct 05, 2005 1:52 am
Location: Arkansas

oh yea

Post 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
Last edited by Hogface on Thu Feb 03, 2011 1:18 pm, edited 1 time in total.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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?
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Hogface
Posts: 70
Joined: Wed Oct 05, 2005 1:52 am
Location: Arkansas

Post by Hogface »

I will pop the cover and look.
Quite frankly, I don't remember!
________
Industries
Last edited by Hogface on Thu Feb 03, 2011 1:18 pm, edited 1 time in total.
technicavolous
Posts: 56
Joined: Sun Nov 11, 2007 12:10 am
Location: Howey In The Hills, FL

Knock-off

Post 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

.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

probably isnt a 4400r then mate, got an image?
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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
Post Reply