Hi,

I have a bt878 based video capture card (Dynalink CH061) that I
would like to get running properly under Linux.

I have added the card to my copy of bttv-cards.c in the bttv2
driver code so that the video capture works OK and I can use the
Televsion and Composite inputs to view and capture pictures but I
can't get the audio working.

Would someone be able to explain what the variables in the tvcard
struct relate to, or point me to the relevant documentation or
source. I have indicated my guesses about some of the parameters.

struct tvcard
{
        char    *name;
        int     video_inputs;  number of video inputs?
        int     audio_inputs;  number of audio inputs?
        int     tuner;         index of tuner input in video input array?
        int     svhs;          index of svhs input in video input array?
        u32     audio_input_mask; 
        u32     muxsel[8]; 
        u32     audiomux[6];    /* Tuner, Radio, external, internal, mute,
stereo */
        u32     video_input_mask; /* GPIO MUX mask */
        int     pll; GR set to 1 if the card needs this - mine did
};

These are the values that work for my card, which I determined by
looking at the values for for similar cards and a bit of trial and
error.

        { "Dynalink CH061 - Bt878", 4, 1, 0, 3, ?,
                { 2, 3, 1, 1}, { ?, ?, ?, ?, ?}, 0, 1
        },

I'm guessing that I need to know the values to put in the
audio_input_mask and audiomux[] variables. Is there a way I can
probe the card to find out what these should be?

I'd be grateful for any help.
Cheers
g

-- 
Glenn Ramsey
[EMAIL PROTECTED]


-- 
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to