By Date: <-- -->
By Thread: <-- -->

Trying to get a Kworld-ATSC110 working



On 2/12/06, maillist <maillist (at) boilerbots.com> wrote:
> Ok, I got the ATSC working and can watch HD programs and the regular
> NTSC is also working but it is not quite right.
>
> Sometimes it doesn't do anything when the tuner module loads. Then I
> re-run azap, maybe mplayer then stop the ATSC stream and reload the
> tuner module again. Anybody got any suggestions?

Sounds like some screwy GPIO settings.  Have you double checked all of
your gpio using regspy, included in the dscaler package?  You may need
to make some special handling when switching from analog to digital
modes and back.  You also should take a look at the code that Kirk was
talking about in cx88-cards.c, if you haven't already.

> A secondary problem is that the tuv1236D is a dual input tuner module.
> It has an input for the HDTV and a seperate input for standard NTSC.
> Currently, the driver always uses the HDTV input for everything. I would
> like the inputs to switch as it was designed because I use my antenna to
> receive local chanels in HD and cable for all other cable channels.
> Anybody working on a solution for this?

Please look back in the mail archives.  I wrote an email that contains
a function that can be used for input selection.  If you can't find
it, you can write your function based on the nxt2004 implementation in
cx88-dvb.c ..... You'll want to look for this function:

static int nxt200x_set_pll_input(u8* buf, int input)
{
	if (input)
		buf[3] |= 0x08;
	else
		buf[3] &= ~0x08;
	return 0;
}

and you'll pass it in the config struct somehow like this:

static struct nxt200x_config ati_hdtvwonder = {
	.demod_address    = 0x0a,
	.pll_address      = 0x61,
	.pll_desc         = &dvb_pll_tuv1236d,
	.set_pll_input    = nxt200x_set_pll_input,
	.set_ts_params    = nxt200x_set_ts_param,
};

Of course, that code was written by Kirk for the HDTV Wonder ...  You
will want to eliminate set_ts_params for the saa7135 implementation.

> One last thing.....what do I do with the changes that at least make it
> possible to use the Kworld card?

Are you working against the linux kernel, cvs, or mercurial?

If you are working against mercurial, please do:

hg diff > new.patch

if cvs:

cvs diff -up > new.patch

if you're working against the kernel source, then you'll have to make
expand another kernel source tarball, and generate your diff against
that:

diff -upr linux-source.orig linux-source > new.patch

Once you have your patch prepared, please email it here to the list,
and include your Sign-off, in the form:

Signed-off-by: Your Name <email (at) addr.ess>

I'd like it if Dwaine Garden, Andrew Burri, et al,  also reply to your
patch with their sign-off, if they approve, because surely your work
is probably based on the original patches from them -- all of you
deserve credit for it.

.......

Once you do this, we'll all be able to see exactly what changes have
been made, and we'll be able to apply it to our mercurial development
tree.

Great work!

Cheers,

Michael Krufky

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list