Page 2 of 2

Posted: Wed Oct 10, 2007 9:17 pm
by Lee Sharp
Well it is not the card I was thinking... Close, but not it. If it had been, I would have told you to use;

Code: Select all

options i2c_algo_bit bit_test=1
options bttv gbuffers=16 radio=-1 tuner=4 card=102,102,102,102,102,102,102,102
The first line is for a boot up delay. Do you have that delay?

Posted: Thu Oct 11, 2007 1:47 am
by kylejohnson
Darn :)
It does look like a Kodicom card, a 4400 or a 8800 I think.

I've read a few posts where people had the card working out-of-the-box with the LiveCD, but no luck for me. dmesg | grep bttv shows the card as unknown/generic and zoneminder shows the image as just a blue screen.

I've tried modprobing with 132, 77 and 102 (or was it 122?) but still, no luck.

I'm not able to rmmod bttv or modprobe -r bttv in the LiveCD either, as I get a segmentation fault error.

I'm running out of ideas. :(

Edit: When I test with xawtv (xawtv -v -device /dev/video0), I always get "station "/dev/video0" not found" at the bottom.

Posted: Fri Oct 12, 2007 8:42 am
by jameswilson
you need to repeat the number for the number of chips you have. ie if its 8 chips and the number is 77 (which i doubt lol) then it would be
options bttv card=77,77,77,77,77,77,77,77

Posted: Sat Oct 13, 2007 2:39 pm
by kylejohnson
The dongle that came with the card has 8 connectors - VID 1 - 4 and AID 1 - 4. Think it's a 4-port chip with audio, or an 8-port chip?

Anyway, what I think I need is a list of the values that modprobe card= excepts, and what they match up to I.E. 77 = KDC4400; 122 = TDC-200; etc

Anyone know where that can be found?

I think I'll just quote people on IP cameras so I don't have to mess with cards!

Posted: Sat Oct 13, 2007 5:25 pm
by cordel
It is in the kernel documentation:
/usr/share/doc/kernel

Posted: Sat Oct 13, 2007 9:36 pm
by kylejohnson
Well the Kodicom 8800 isn't in there, though the Kodicom 4400 Slave and Master are.

Does that mean the card is incompatible?

Heck, do we even know what card I have yet?

Posted: Sat Oct 13, 2007 10:47 pm
by jameswilson
not yet you need to work out what you have first mate

Posted: Sat Oct 13, 2007 11:32 pm
by kylejohnson
I've gone through every picture at http://bttv-gallery.de/ and my card looks almost exactly like the Kodicom 8800R (KMC-8800). The images almost match, except the chip that says

Code: Select all

0SC-2530H
286363MHz
Lambda 0412 
isn't in the same spot. Does anyone else agree that this is my card? If so, how can I get it working? Is it a matter of modprobing it correctly, with the right card= value?

Posted: Sun Oct 14, 2007 12:17 am
by ioane
I have a card exactly like the one from your pictures.
It works well.
To make it work i put in modprobe.d (in a debian distribution) a file that has these values:
options i2c-algo-bit bit_test=1
options bttv card=102,102,102,102,102,102,102,102

In red hat based distributions you have to add those values in modprobe.conf file.

The settings above apply at startup.
To apply after startup you have to use
modprobe bttv card=102,102,102,102,102,102,102,102 .

You cannot remove bttv or bt878 modules if zoneminder is running. You have to first stop zoneminder.

Also remember that you will have 8 video devices (from /dev/video0 to /dev/video7) each one working on channel 0. You will also have to find the video device which has your camera attached. I done this by trial and error.
Also even if the bttv options are not correct you should see a dizzy, flickering image on the device which has the camera attached.
And use at the beginning a lower resolution, like 320x240.

Hope these helps you.
Good luck

Posted: Sun Oct 14, 2007 4:20 pm
by kylejohnson
...It works!
I had tried card=102 in the past, but did not try all 8 connectors on the dongle. Turns out that out of Vid 1 - 4 and Aid 1 - 4, Aid 4 is the port that I needed.

Thanks so much for the help everyone!