Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 1998 13:14:32 +0200
From:      Ian Freislich <iang@iafrica.com>
To:        Eivind Eklund <eivind@yes.no>
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: Audio using haupauge wintv card 
Message-ID:  <28814.887541272@iafrica.com>
In-Reply-To: Your message of "Sat, 14 Feb 1998 02:49:06 %2B0100." <19980214024906.28444@follo.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > Call me stupid. I presume you mean in /usr/src/sys/pci/brooktree848.c
> > and these lines:
> >         /* CARD_HAUPPAUGE */
> >         { "Hauppauge WinCast/TV",               /* the 'name' */
> >            NULL,                                /* the tuner */
> >            0,                                   /* dbx is optional */
> >            0,
> >            PFC8582_WADDR,                       /* EEProm type */
> >            (u_char)(256 / EEPROMBLOCKSIZE),     /* 256 bytes */
> >            { 0x00, 0x02, 0x01, 0x01, 1 } },     /* audio MUX values */
>
> The first one is for the tuner, the second is for the external, etc.
> Look at the header file.  Each of these select an audio source.

I surmise that these numbers are channel numbers used by the audio
mux to select the audio input for the line out. From what I can
make out, the first is the value is used when the program is set
to 'Tuner' the second for 'Video' (line in), the third is unused
and the fourth is the chennel selected when in 'mute'.

I've deduced the following channel numbers for the audio MUX (I
seriously doubt that Haupauge would change these assignments from
version to version):
0	Supposed to be the audio out from the tuner.
1	Strapped to ground for mute
2	Line in.

Some experimentation revealed that the card correctly sets the
channel for the video in and will pass line in to line out, so
channel 2 works.

Setting the mute channel to 2 passes line in to line out when the
output is muted. (I'd expect this result.)

Setting the tuner channel to 2 should pass line in to line out when
the tuner is selected, but this does not happen. I find this
surprising. I also tried 0 to 0x0f values for the tuner with no
success.

In desperation I found an old hard disk and installed <gasp>
windows95 on it. With the software from Haupauge installed (which
took quite some time to get workin I might say) I do get the audio
from the TV tuner.

Something that did surprise me about the software was that it could
select input from 4 sources and not 3 like the FreeBSD driver.
Namely: tuner, ext 1, ext 2, svideo.

Without a circuit diagram or some kind of decent technical
documentation I'm totally at a loss. The board has one of those
msp3410 chips on it and a Philips tuner chip whose part number
escapes me, but which I suspect is part of the audio stage of the
TV tuner. Does the driver have to program this tuner at all or does
it know what side-band it should be examining for the audio track?

More ideas welcome :)

--
Ian Freislich
UUNET Internet Africa
http://copernicus.cpt.tech.iafrica.com/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28814.887541272>