problem with dual chip card bt878A

Post here to indicate any hardware you have used and which is known to work with ZoneMinder. Not for questions.
Post Reply
vlad2005
Posts: 31
Joined: Fri Jun 27, 2014 6:45 pm

problem with dual chip card bt878A

Post by vlad2005 »

Hi all!
I have an card with two chipset bt878A fusion and 16 inputs. Linux don't detect and when load module bttv i have this message (for one card):

Code: Select all

[45293.019216] bttv: 1: Bt878 (rev 17) at 0000:12:0d.0, irq: 23, latency: 132, mmio: 0xd0002000
[45293.019223] bttv: 1: using:  *** UNKNOWN/GENERIC ***  [card=0,autodetected]
[45293.019307] bt878 #1 [sw]: Test OK
[45293.019947] tveeprom 7-0050: Huh, no eeprom present (err=-6)?
[45293.019949] bttv: 1: tuner type unset
[45293.020119] bttv: 1: registered device video1
[45293.020153] bttv: 1: registered device vbi1
I try to load bttv module with different card number and diferent options (even with gpiomask grabbed with regspy) but until now what i get is two camera working on channel 0 (on both device /dev/video0 and /dev/video1). I don't see any camera on different channel other than zero.
I want to use'it with zoneminder but until cannot load properly i don't have any chance.
So, few specs:

Code: Select all

lspci -vvnn
12:0d.0 Multimedia video controller [0400]: Brooktree Corporation Bt878 Video Capture [109e:036e] (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: 132 (4000ns min, 10000ns max)
	Interrupt: pin A routed to IRQ 23
	Region 0: Memory at d0002000 (32-bit, prefetchable) [size=4K]
	Capabilities: [44] Vital Product Data
pcilib: sysfs_read_vpd: read failed: Connection timed out
		Not readable
	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

Code: Select all

regspy capture
BT878 Card [0]:

Vendor ID:           0x109e
Device ID:           0x036e
Subsystem ID:        0x00000000

=================================================================================

BT878 Card - Register Dump:
BT848_IFORM:                     49         (01001001)                                            
BT848_FCNTR:                     54         (01010100)                                            
BT848_PLL_F_LO:                  00         (00000000)                                            
BT848_PLL_F_HI:                  00         (00000000)                                            
BT848_PLL_XCI:                   00         (00000000)                                            
BT848_TGCTRL:                    00         (00000000)                                            
BT848_TDEC:                      00         (00000000)                                            
BT848_E_CROP:                    12         (00010010)                                            
BT848_O_CROP:                    12         (00010010)                                            
BT848_E_VDELAY_LO:               1a         (00011010)                                            
BT848_O_VDELAY_LO:               1a         (00011010)                                            
BT848_E_VACTIVE_LO:              e0         (11100000)                                            
BT848_O_VACTIVE_LO:              e0         (11100000)                                            
BT848_E_HDELAY_LO:               82         (10000010)                                            
BT848_O_HDELAY_LO:               82         (10000010)                                            
BT848_E_HACTIVE_LO:              d0         (11010000)                                            
BT848_O_HACTIVE_LO:              d0         (11010000)                                            
BT848_E_HSCALE_HI:               00         (00000000)                                            
BT848_O_HSCALE_HI:               00         (00000000)                                            
BT848_E_HSCALE_LO:               c1         (11000001)                                            
BT848_O_HSCALE_LO:               c1         (11000001)                                            
BT848_BRIGHT:                    14         (00010100)                                            
BT848_E_CONTROL:                 00         (00000000)                                            
BT848_O_CONTROL:                 00         (00000000)                                            
BT848_CONTRAST_LO:               cf         (11001111)                                            
BT848_SAT_U_LO:                  fe         (11111110)                                            
BT848_SAT_V_LO:                  db         (11011011)                                            
BT848_HUE:                       00         (00000000)                                            
BT848_E_SCLOOP:                  40         (01000000)                                            
BT848_O_SCLOOP:                  40         (01000000)                                            
BT848_WC_UP:                     cf         (11001111)                                            
BT848_WC_DOWN:                   7f         (01111111)                                            
BT848_VTOTAL_LO:                 00         (00000000)                                            
BT848_VTOTAL_HI:                 00         (00000000)                                            
BT848_DVSIF:                     00         (00000000)                                            
BT848_OFORM:                     06         (00000110)                                            
BT848_E_VSCALE_HI:               60         (01100000)                                            
BT848_O_VSCALE_HI:               60         (01100000)                                            
BT848_E_VSCALE_LO:               00         (00000000)                                            
BT848_O_VSCALE_LO:               00         (00000000)                                            
BT848_ADC:                       41         (01000001)                                            
BT848_E_VTC:                     00         (00000000)                                            
BT848_O_VTC:                     00         (00000000)                                            
BT848_COLOR_FMT:                 44         (01000100)                                            
BT848_COLOR_CTL:                 00         (00000000)                                            
BT848_CAP_CTL:                   00         (00000000)                                            
BT848_VBI_PACK_SIZE:             90         (10010000)                                            
BT848_VBI_PACK_DEL:              01         (00000001)                                            
BT848_INT_MASK:                  00000000   (00000000 00000000 00000000 00000000)                 
BT848_GPIO_OUT_EN:               0000b8ff   (00000000 00000000 10111000 11111111)                 
BT848_GPIO_OUT_EN_HIBYTE:        00000000   (00000000 00000000 00000000 00000000)                 
BT848_GPIO_DATA:                 00ffcd00   (00000000 11111111 11001101 00000000)                 
BT848_RISC_STRT_ADD:             00000000   (00000000 00000000 00000000 00000000)                 
BT848_GPIO_DMA_CTL:              00fc       (00000000 11111100)                                   

end of dump
I tested all card numbers and cannot get any output from dmesg that show something like card is right detected.
Why cannot make this card to work?
Can someone help me?

P.S. On windows, this card work with software named Smartdvr formula maked by an company Intotech from Koreea.
Post Reply