Kodicom 8800 card but unable to get picture

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
canon
Posts: 2
Joined: Tue Nov 10, 2009 5:52 pm

RE: Kodicom 8800 card but unable to get picture

Post by canon »

Can anyone pls help assist me?

I have install Ubuntu 9.04 and Zone Minder 1.24.2 but unable to have any image
What i need to check or to do to overcome this?
I am using Kodicom 8800(8 chips and 8 input) card or similar to this which is a clone card
i have try Create file /etc/modprobe.d/bttv-option and write in file

options i2c-algo-bit bit_test=1
options bttv gbuffers=32 card=102,102,102,102,102,102,102,102 tuner=0 radio=0 coring=1 full_luma_range=1 chroma_agc=1 pll=1 combfilter=1 autoload=0 triton1=0

Appreciate help
Thanks,
CC
DREMA
Posts: 162
Joined: Fri Dec 12, 2008 2:39 am
Location: México

Post by DREMA »

Use that settings, boot your machine, you shouldn't see any image, just a green screen. Now on the zm console clic on "Running", select restart, wait for zm to come up again and now you should see you images.
I don't now why this happen, but it works for me.
canon
Posts: 2
Joined: Tue Nov 10, 2009 5:52 pm

RE:Kodico Problem Still Presist

Post by canon »

Dear,

I have try the Zoneminder running state by restarting it but it still get the black screen . Is there any setting i should focus on . The resolution is 320 x 240 .

Pls help to assist as i am little bit confused.

The dmesg check is like this,

13.103075] Linux video capture interface: v2.00
[ 13.148882] bttv: driver version 0.9.17 loaded
[ 13.148885] bttv: using 32 buffers with 2080k (520 pages) each for capture
[ 13.148961] bttv: Bt8xx card found (0).
[ 13.148982] bttv 0000:04:08.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[ 13.148996] bttv0: Bt878 (rev 17) at 0000:04:08.0, irq: 20, latency: 32, mmio: 0xfdaff000
[ 13.149039] bttv0: using: IVC-200 [card=102,insmod option]
[ 13.149076] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 13.149095] bt878 #0 [sw]: bus seems to be busy
[ 13.240021] usb 1-3: reset high speed USB device using ehci_hcd and address 2
[ 13.262971] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 13.263027] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 13.373587] phy0: Selected rate control algorithm 'pid'
[ 13.425394] zd1211rw 1-3:1.0: phy0
[ 13.425419] usbcore: registered new interface driver zd1211rw
[ 13.531405] psmouse serio1: ID: 10 00 64<6>bttv0: tuner absent
[ 13.948594] bttv0: registered device video0
[ 13.948654] bttv0: registered device vbi0
[ 13.948682] bttv0: PLL: 28636363 => 35468950 .. ok
[ 13.980024] bttv: Bt8xx card found (1).
[ 13.980043] bttv 0000:04:09.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 13.980059] bttv1: Bt878 (rev 17) at 0000:04:09.0, irq: 19, latency: 32, mmio: 0xfdafd000
[ 13.980110] bttv1: using: IVC-200 [card=102,insmod option]
[ 13.980146] bttv1: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 13.980165] bt878 #1 [sw]: bus seems to be busy
[ 14.159920] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input5
[ 14.780004] bttv1: tuner absent
[ 14.780084] bttv1: registered device video1
[ 14.780136] bttv1: registered device vbi1
[ 14.780163] bttv1: PLL: 28636363 => 35468950 .. ok
[ 14.812024] bttv: Bt8xx card found (2).
[ 14.812041] bttv 0000:04:0a.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 14.812055] bttv2: Bt878 (rev 17) at 0000:04:0a.0, irq: 18, latency: 32, mmio: 0xfdafb000
[ 14.812093] bttv2: using: IVC-200 [card=102,insmod option]
[ 14.812123] bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 14.812148] bt878 #2 [sw]: bus seems to be busy
[ 15.612003] bttv2: tuner absent
[ 15.612064] bttv2: registered device video2
[ 15.612132] bttv2: registered device vbi2
[ 15.612158] bttv2: PLL: 28636363 => 35468950 .. ok
[ 15.644025] bttv: Bt8xx card found (3).
[ 15.644038] bttv 0000:04:0b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 15.644051] bttv3: Bt878 (rev 17) at 0000:04:0b.0, irq: 16, latency: 32, mmio: 0xfdaf9000
[ 15.644073] bttv3: using: IVC-200 [card=102,insmod option]
[ 15.644101] bttv3: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 15.644120] bt878 #3 [sw]: bus seems to be busy
[ 16.444004] bttv3: tuner absent
[ 16.444064] bttv3: registered device video3
[ 16.444117] bttv3: registered device vbi3
[ 16.444142] bttv3: PLL: 28636363 => 35468950 .. ok
[ 16.476024] bttv: Bt8xx card found (4).
[ 16.476037] bttv 0000:04:0c.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[ 16.476050] bttv4: Bt878 (rev 17) at 0000:04:0c.0, irq: 20, latency: 32, mmio: 0xfdaf7000
[ 16.476072] bttv4: using: IVC-200 [card=102,insmod option]
[ 16.476100] bttv4: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 16.476119] bt878 #4 [sw]: bus seems to be busy
[ 17.276004] bttv4: tuner absent
[ 17.276065] bttv4: registered device video4
[ 17.276118] bttv4: registered device vbi4
[ 17.276143] bttv4: PLL: 28636363 => 35468950 .. ok
[ 17.308020] bttv: Bt8xx card found (5).
[ 17.308034] bttv 0000:04:0d.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 17.308046] bttv5: Bt878 (rev 17) at 0000:04:0d.0, irq: 19, latency: 32, mmio: 0xfdaf5000
[ 17.308069] bttv5: using: IVC-200 [card=102,insmod option]
[ 17.308097] bttv5: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 17.308116] bt878 #5 [sw]: bus seems to be busy
[ 18.108003] bttv5: tuner absent
[ 18.108064] bttv5: registered device video5
[ 18.108116] bttv5: registered device vbi5
[ 18.108142] bttv5: PLL: 28636363 => 35468950 .. ok
[ 18.140026] bttv: Bt8xx card found (6).
[ 18.140039] bttv 0000:04:0e.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 18.140052] bttv6: Bt878 (rev 17) at 0000:04:0e.0, irq: 18, latency: 32, mmio: 0xfdaf3000
[ 18.140074] bttv6: using: IVC-200 [card=102,insmod option]
[ 18.140102] bttv6: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 18.140121] bt878 #6 [sw]: bus seems to be busy
[ 18.940003] bttv6: tuner absent
[ 18.940063] bttv6: registered device video6
[ 18.940116] bttv6: registered device vbi6
[ 18.940142] bttv6: PLL: 28636363 => 35468950 .. ok
[ 18.972023] bttv: Bt8xx card found (7).
[ 18.972037] bttv 0000:04:0f.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 18.972049] bttv7: Bt878 (rev 17) at 0000:04:0f.0, irq: 16, latency: 32, mmio: 0xfdaf1000
[ 18.972071] bttv7: using: IVC-200 [card=102,insmod option]
[ 18.972099] bttv7: gpio: en=00000000, out=00000000 in=00fffff8 [init]
[ 18.972118] bt878 #7 [sw]: bus seems to be busy
[ 19.772003] bttv7: tuner absent
[ 19.772063] bttv7: registered device video7
[ 19.772118] bttv7: registered device vbi7
[ 19.772144] bttv7: PLL: 28636363 => 35468950 .. ok
[ 21.831866] lp0: using parport0 (interrupt-driven).
[ 21.902630] Adding 3004112k swap on /dev/sda5. Priority:-1 extents:1 across:3004112k

Appreciate help

Thanks,
CC
xjust
Posts: 8
Joined: Mon Apr 27, 2009 12:00 pm
Contact:

bad start

Post by xjust »

i am using a 2.6ghz core2duo with 2gigs of ram with two of this cards.
the system crashes even in monitor mode with 320x240 resolution
16 cams connected on two cards

the load isnt really high at all and its an almost instant crash (ie mouse doesnt move at all)

anybody can help me tweak this or fix the crash problem ?
i really dont want to go back to windows :)
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

What errors show up in your logs? (ie. apache error log, zmdc, etc.)
Have you turned on debug?
KeithB
Posts: 77
Joined: Thu Jun 07, 2007 4:23 pm
Location: uk

Post by KeithB »

The crash could be overheating, maybe try heat sinks on the bt878 chips?
xjust
Posts: 8
Joined: Mon Apr 27, 2009 12:00 pm
Contact:

Post by xjust »

yes I already have heatsinks on all the chips on the cards

there is instant crash (while X is started) so i cannot see any errors in the logs or on the screen.

anybody had this issue before ?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Sounds like either an IRQ conflict or a troubled bios.
Try moving the capture card to a different slot.
You can see the IRQ assignments with cat /proc/interrupts
though you will likely have to boot without the desktop to avoid it locking up to see what the current status is.

If it's a bad bios, you would have to see if there is an update available though there are some mainboard bios that are known to have problems that are only solved by replacing the mainboard.

Look for how to bring your distro up with out a gui first and check the IRQ assignments.
xjust
Posts: 8
Joined: Mon Apr 27, 2009 12:00 pm
Contact:

Post by xjust »

thanks a lot for the info. i will try to move the card(s) to diffrent slots and see if they still lock up. i was also about to try some winblowz drivers (on another test hdd) to see if its linux or hardware related. will try this first instead.


right now (before freezing) im getting random RED inputs in zoneminder interface (ie not all the cards work at the same time)

will post the intrerrupts results here (on how they are set now)

thanks again for your replies
xjust
Posts: 8
Joined: Mon Apr 27, 2009 12:00 pm
Contact:

Post by xjust »

hi there
i tried moving the cards in other pci slots. still no luck


in logs zmc crashes with status 8
im getting some out of memory errors in the logs

(out of memory kill process 2348 zdmc.pl score 332772)

i have 2gigs of ram which are not used at all


tried on winxp with webcamxp software and its very stable
i'd really like to make it work in linux as well

anybody had similar issues?
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

Hi, i just ordered the same card from ebay few days ago (Kodicom 8800R clone):
http://cgi.ebay.com/ws/eBayISAPI.dll?Vi ... K:MEWNX:IT
and those heatsinks for it:
http://cgi.ebay.com/ws/eBayISAPI.dll?Vi ... K:MEWNX:IT

From searching around the forum it seems to be a stable card if you use heatsinks on it, so i hope its gonna work well for me.
i think you are passing wrong options to the driver.
* Try omitting the pll=1 option, i don't think this card has a PLL.
* tuner=0 should be tuner=4
From somewhere on the web:
0: Temic PAL tuner
1: Philips PAL_I tuner
2: Philips NTSC tuner
3: Philips SECAM tuner
4: no tuner
5: Philips PAL tuner
6: Temic NTSC tuner
7: Temic PAL tuner
8: Alps TSBH1 NTSC tuner
9: Alps TSBE1 PAL tuner

Just my attempt to help,
mastertheknife :D
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

Hi,
There's now a wiki entry about this card with hopefully some useful information about getting it to work:
http://www.zoneminder.com/wiki/index.php/Kodicom_8800
DrKappy
Posts: 4
Joined: Thu Dec 24, 2009 2:37 pm

Post by DrKappy »

The wiki lists...

* options i2c-algo-bit bit_test=1
* options bttv gbuffers=16 card=102,102,102,102,102,102,102,102 radio=0,0,0,0,0,0,0,0 tuner=4,4,4,4,4,4,4,4 chroma_agc=1 combfilter=2 full_luma_range=1 coring=1 autoload=0

But I would note that with Ubuntu 9.10, autoload option is obsolete. I have the Kodicom 8800 working, but it hasn't been easy!

from dmesg:

[ 10.019281] bttv: driver version 0.9.18 loaded
[ 10.019285] bttv: using 16 buffers with 2080k (520 pages) each for capture
[ 10.019340] bttv: Bt8xx card found (0).
[ 10.019358] bttv 0000:05:08.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 10.019371] bttv0: Bt878 (rev 17) at 0000:05:08.0, irq: 18, latency: 64, mmio: 0xd000f000
[ 10.019447] bttv0: using: IVC-200 [card=102,insmod option]
[ 10.019450] IRQ 18/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
[ 10.019479] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 10.019498] bt878 #0 [sw]: bus seems to be busy
[ 10.820019] bttv0: tuner absent
[ 10.820023] bttv0: the autoload option is obsolete.
[ 10.820025] bttv0: use option msp3400, tda7432 or tvaudio to
[ 10.820027] bttv0: override which audio module should be used.
[ 10.820098] bttv0: registered device video0
[ 10.820130] bttv0: registered device vbi0
[ 10.820157] bttv0: PLL: 28636363 => 35468950 .. ok
[ 10.852031] bttv: Bt8xx card found (1).
[ 10.852050] alloc irq_desc for 19 on node -1
[ 10.852052] alloc kstat_irqs on node -1
[ 10.852060] bttv 0000:05:09.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

I suppose the autoload option can be omitted, because this card doesn't have a tuner or a radio in it, so the driver probably wouldnt try to load those drivers anyhow, and if it does load those drivers, they are useless and should do no harm.
Post Reply