kodicom 4400r

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
joelk
Posts: 5
Joined: Wed Jan 26, 2011 11:54 pm

kodicom 4400r

Post by joelk »

Prior to getting this card I had the hauppauge impactVCB card installed and working with 2 cameras after I followed the directions here

http://www.zoneminder.com/wiki/index.ph ... _ImpactVCB

but I was only getting 5 fps, so I bought the 4400r from camsecure. Currently all I see is a blue screen with a time stamp.

I tried the suggestions in this thread

http://www.zoneminder.com/forums/viewtopic.php?t=10429

as well as

http://www.zoneminder.com/wiki/index.php/Kodicom_4400r

with no luck.

sudo lspci -vv

04:0c.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (4000ns min, 10000ns max)
Interrupt: pin A routed to IRQ 21
Region 0: Memory at fdfff000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: bttv
Kernel modules: bttv

04:0c.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (1000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 10
Region 0: Memory at fdffe000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

04:0d.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (4000ns min, 10000ns max)
Interrupt: pin A routed to IRQ 22
Region 0: Memory at fdffd000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: bttv
Kernel modules: bttv

04:0d.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (1000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at fdffc000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

04:0e.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (4000ns min, 10000ns max)
Interrupt: pin A routed to IRQ 23
Region 0: Memory at fdffb000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: bttv
Kernel modules: bttv

04:0e.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (1000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 15
Region 0: Memory at fdffa000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

04:0f.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (4000ns min, 10000ns max)
Interrupt: pin A routed to IRQ 20
Region 0: Memory at fdff9000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: bttv
Kernel modules: bttv

04:0f.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (1000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 5
Region 0: Memory at fdff8000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

sudo dmesg | grep bttv

[ 10.565237] bttv: driver version 0.9.18 loaded
[ 10.565247] bttv: using 16 buffers with 2080k (520 pages) each for capture
[ 10.565981] bttv: Bt8xx card found (0).
[ 10.566042] bttv 0000:04:0c.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[ 10.566066] bttv0: Bt878 (rev 17) at 0000:04:0c.0, irq: 21, latency: 64, mmio: 0xfdfff000
[ 10.566112] bttv0: using: Kodicom 4400R (slave) [card=133,insmod option]
[ 10.566120] IRQ 21/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
[ 10.566183] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 10.566499] bttv0: tuner absent
[ 10.566904] bttv0: registered device video0
[ 10.567305] bttv0: registered device vbi0
[ 10.567339] bttv0: PLL: 28636363 => 35468950 ..
[ 10.604203] bttv: Bt8xx card found (1).
[ 10.604260] bttv 0000:04:0d.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 10.604283] bttv1: Bt878 (rev 17) at 0000:04:0d.0, irq: 22, latency: 64, mmio: 0xfdffd000
[ 10.604325] bttv1: using: Kodicom 4400R (master) [card=132,insmod option]
[ 10.604333] IRQ 22/bttv1: IRQF_DISABLED is not guaranteed on shared IRQs
[ 10.604399] bttv1: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 10.605569] bttv1: tuner absent
[ 10.605767] bttv1: registered device video1
[ 10.605866] bttv1: registered device vbi1
[ 10.605898] bttv1: PLL: 28636363 => 35468950 .
[ 10.607984] bttv1: PLL: 28636363 => 35468950 .
[ 10.609525] bttv1: PLL: 28636363 => 35468950 .. ok
[ 19.137114] bttv0: PLL can sleep, using XTAL (28636363).
[ 42.796558] bttv: Bt8xx card found (2).
[ 42.796589] bttv 0000:04:0e.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
[ 42.796609] bttv2: Bt878 (rev 17) at 0000:04:0e.0, irq: 23, latency: 64, mmio: 0xfdffb000
[ 42.796670] bttv2: using: Kodicom 4400R (slave) [card=133,insmod option]
[ 42.796678] IRQ 23/bttv2: IRQF_DISABLED is not guaranteed on shared IRQs
[ 42.796721] bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 42.796836] bttv2: tuner absent
[ 42.796986] bttv2: registered device video2
[ 42.797059] bttv2: registered device vbi2
[ 42.797100] bttv2: PLL: 28636363 => 35468950 .
[ 42.798906] bttv2: PLL: 28636363 => 35468950 .
[ 42.799261] bttv2: PLL: 28636363 => 35468950 .. ok
[ 74.988549] bttv: Bt8xx card found (3).
[ 74.988599] bttv 0000:04:0f.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[ 74.988618] bttv3: Bt878 (rev 17) at 0000:04:0f.0, irq: 20, latency: 64, mmio: 0xfdff9000
[ 74.988690] bttv3: using: Kodicom 4400R (slave) [card=133,insmod option]
[ 74.988698] IRQ 20/bttv3: IRQF_DISABLED is not guaranteed on shared IRQs
[ 74.988755] bttv3: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 74.988995] bttv3: tuner absent
[ 74.989275] bttv3: registered device video3
[ 74.989449] bttv3: registered device vbi3
[ 74.989487] bttv3: PLL: 28636363 => 35468950 .. ok
[ 482.531495] bttv1: PLL can sleep, using XTAL (28636363).
[ 503.437639] bttv2: PLL can sleep, using XTAL (28636363).

ls /dev/video* shows /dev/video0-3

I have a monitor setup with videoforlinux1, ntsc, yuyv, /dev/video0, channel 0. What am I doing wrong?

edit: I am running ubuntu 10.04
User avatar
pete_c
Posts: 88
Joined: Thu Jan 24, 2008 3:21 am
Location: USA

Post by pete_c »

I would play with your memory.

My 8 port Kodicom like DVR card looks like this:

Code: Select all

07:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (4000ns min, 10000ns max)
        Interrupt: pin A routed to IRQ 21
        Region 0: Memory at e000f000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
                Unknown small resource type 00, will not decode more.
        Capabilities: [4c] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: bttv
        Kernel modules: bttv

07:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (4000ns min, 10000ns max)
        Interrupt: pin A routed to IRQ 22
        Region 0: Memory at e000d000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
                Unknown small resource type 00, will not decode more.
        Capabilities: [4c] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: bttv
        Kernel modules: bttv

07:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (4000ns min, 10000ns max)
        Interrupt: pin A routed to IRQ 23
        Region 0: Memory at e000b000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
                Unknown small resource type 00, will not decode more.
        Capabilities: [4c] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: bttv
        Kernel modules: bttv

07:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (4000ns min, 10000ns max)
        Interrupt: pin A routed to IRQ 20
        Region 0: Memory at e0009000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
                Unknown small resource type 00, will not decode more.
        Capabilities: [4c] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: bttv
        Kernel modules: bttv

07:0c.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 02)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (4000ns min, 10000ns max)
        Interrupt: pin A routed to IRQ 21
        Region 0: Memory at e0007000 (32-bit, prefetchable) [size=4K]
        Kernel driver in use: bttv
        Kernel modules: bttv

07:0d.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
        Latency: 64 (4000ns min, 10000ns max)
        Interrupt: pin A routed to IRQ 22
        Region 0: Memory at e0005000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
                Unknown small resource type 00, will not decode more.
        Capabilities: [4c] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: bttv
        Kernel modules: bttv

07:0e.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (4000ns min, 10000ns max)
        Interrupt: pin A routed to IRQ 23
        Region 0: Memory at e0003000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
                Unknown small resource type 00, will not decode more.
        Capabilities: [4c] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: bttv
        Kernel modules: bttv

07:0f.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
        Latency: 64 (4000ns min, 10000ns max)
        Interrupt: pin A routed to IRQ 20
        Region 0: Memory at e0001000 (32-bit, prefetchable) [size=4K]
        Capabilities: [44] Vital Product Data
                Unknown small resource type 00, will not decode more.
        Capabilities: [4c] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: bttv
        Kernel modules: bttv

Code: Select all

# ipcs

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status
0x7a6d0001 3440640    www-data   700        3072952    2
0x7a6d0002 3473409    www-data   700        12289192   2
0x7a6d0003 3506178    www-data   700        12289192   2
0x7a6d0004 3538947    www-data   700        12289192   2
0x7a6d0005 3571716    www-data   700        12289192   2
0x7a6d0006 3604485    www-data   700        12289192   2
0x7a6d0007 3637254    www-data   700        18433352   2
0x7a6d0008 3670023    www-data   700        36865192   1
0x7a6d0009 3801096    www-data   700        36865192   1
0x7a6d000a 3735561    www-data   700        9216952    1
0x7a6d000b 3768330    www-data   700        36865192   1

------ Semaphore Arrays --------
key        semid      owner      perms      nsems
0x00000000 98304      www-data   600        1
top - 07:32:27 up 12 days, 17:35, 2 users, load average: 3.65, 3.80, 3.67
Tasks: 116 total, 3 running, 113 sleeping, 0 stopped, 0 zombie
Cpu(s): 81.4%us, 1.8%sy, 0.0%ni, 16.2%id, 0.0%wa, 0.0%hi, 0.6%si, 0.0%st
Mem: 3344808k total, 2943232k used, 401576k free, 176992k buffers
Swap: 9936892k total, 0k used, 9936892k free, 2362316k cached
Image

Image
joelk
Posts: 5
Joined: Wed Jan 26, 2011 11:54 pm

Post by joelk »

Thanks for the help pete_c, that fixed my problem.
Post Reply