Problem with PCi-E card combination of CX25853 and CX25821

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
p3k074
Posts: 8
Joined: Mon Mar 05, 2012 8:35 pm

Problem with PCi-E card combination of CX25853 and CX25821

Post by p3k074 » Mon Mar 05, 2012 11:48 pm

Hi,

I have problem with start working Zoneminder with PCIE card with two chips onboard : CX25853 and CX25821. This is 8 channel dvr h264 pcie capture cards - made in china. I installed UBUNTU with all updates and Zoneminder. All fine Zoneminder start working but problem is no video from this card.

I think all looks fine but not work:

Code: Select all

#lspci -vvvnn

04:00.0 Multimedia video controller [0400]: Conexant Systems, Inc. Device [14f1:8210]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 3
        Region 0: Memory at fe400000 (64-bit, non-prefetchable) [size=2M]
        Capabilities: [40] Express (v1) Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <2us, L1 <4us
                        ClockPM- Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
        Capabilities: [80] Power Management version 3
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [90] Vital Product Data
                Unknown small resource type 00, will not decode more.
        Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [100 v1] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
        Capabilities: [200 v1] Virtual Channel
                Caps:   LPEVC=1 RefClk=100ns PATEntryBits=1
                Arb:    Fixed+ WRR32+ WRR64+ WRR128-
                Ctrl:   ArbSelect=WRR64
                Status: InProgress-
                Port Arbitration Table [240] <?>
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=01
                        Status: NegoPending- InProgress-
                VC1:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable- ID=1 ArbSelect=Fixed TC/VC=00
                        Status: NegoPending- InProgress-
I do:

Code: Select all

#modprobe -v cx25821
insmod /lib/modules/3.2.0-030200-generic/kernel/drivers/media/video/tveeprom.ko
insmod /lib/modules/3.2.0-030200-generic/kernel/drivers/media/video/btcx-risc.ko
insmod /lib/modules/3.2.0-030200-generic/kernel/drivers/media/video/videobuf-core.ko
insmod /lib/modules/3.2.0-030200-generic/kernel/drivers/media/video/videobuf-dma-sg.ko
insmod /lib/modules/3.2.0-030200-generic/kernel/drivers/media/video/videodev.ko
insmod /lib/modules/3.2.0-030200-generic/kernel/drivers/media/video/cx25821/cx25821.ko

Code: Select all

#dmesg
[   87.844265] Linux video capture interface: v2.00
[   87.852787] cx25821: driver version 0.0.106 loaded
but nothing happen:

Code: Select all

#ls -la /dev/video*
ls: cannot access /dev/video*: No such file or directory

I dont have any idea how do this card usable ... If any can help will be great ...

xmasin
Posts: 14
Joined: Wed Mar 16, 2011 9:36 am

Re: Problem with PCi-E card combination of CX25853 and CX258

Post by xmasin » Sun Mar 11, 2012 9:31 am

You have to recompile kernel module with this patch http://comments.gmane.org/gmane.linux.d ... ture/44985. Current kernel module doesn't have definition for generic card. I followed this guide for recompiling module http://wiki.centos.org/HowTos/BuildingKernelModules.

Regards
Radek Masin

marcin.gawenda
Posts: 1
Joined: Fri Jun 08, 2012 12:26 pm

Re: Problem with PCi-E card combination of CX25853 and CX258

Post by marcin.gawenda » Fri Jun 08, 2012 12:53 pm

Hi Radek,

How many video channels you get working? What exact card model you managed to work?

Regards,
Marcin

xmasin
Posts: 14
Joined: Wed Mar 16, 2011 9:36 am

Re: Problem with PCi-E card combination of CX25853 and CX258

Post by xmasin » Wed Jul 04, 2012 8:32 am

Hello,
I get working all 8 video channels, in /dev/ you can see video0 - video11, but devices video8 - video11 are audio channels from decoder, so you can use only first 8 channels for Zoneminder. I have bought this card http://dx.com/p/8-ch-h-264-dvr-video-ca ... ntsc-42242.

Regards
Radek Masin

cctvsales
Posts: 2
Joined: Fri Jan 14, 2011 8:54 am
Contact:

Re: Problem with PCi-E card combination of CX25853 and CX258

Post by cctvsales » Thu Jul 05, 2012 5:25 am

Radek Masin

Have you tested the cx25858 chip video card, use the ZM program?

Thank you

xmasin
Posts: 14
Joined: Wed Mar 16, 2011 9:36 am

Re: Problem with PCi-E card combination of CX25853 and CX258

Post by xmasin » Tue Jul 10, 2012 1:46 pm

cctvsales wrote:Radek Masin
Have you tested the cx25858 chip video card, use the ZM program?
Thank you
Hello,
unfortunatelly no, because I have only card with CX25853 and CX25821 chips.

Regards
Radek Masin

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests