Re: FV2k quiet audio solved!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi Shaun,

I can't comment on the Audio Clock since it's Norm specific. Perhaps
you're right...but the original value was set by Gerd for PAL systems, so
I think NTSC and PAL would probably need different values?

How did you come up with the GPIO mask value? The HEF4052 analog mux only
has two control lines (A0-A1) to select among 4 inputs. The other GPIO
ports usage are unknown to me, I believe that the code doesn't change the
intial startup values of those ports. By defining the mask that you gave,
you'll be changing the values of other GPIO lines, so please do this with
caution. I'd be suspicious of a GPIO mask that selects more than two
consecutive bits (which are used to control the HEF4052). I did an
intelligent guess as to their probable SAA7130 pin locations by tracing
the lines to the HEF4052 on the PCB to narrow down the checking
initially.

T.C.

----
Wan Tat Chee (Lecturer)
School of Computer Science, Univ. Science Malaysia,
11800 Minden, Penang, Malaysia.          Ofc Ph: +604 653-3888 x 3617
Internet: tcwan@xxxxxxxxx            Web: http://nrg.cs.usm.my/~tcwan
GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg.asc
F'print : FB0F CED7 85A5 ECF9 DEF0  50E8 A550 A0D2 8638 B1EB

On Tue, 24 Dec 2002, Shaun Jackman wrote:

> This bug gave very attenuated (~ -40 dB) pass-through audio on a 
> FlyVIDEO2000 (saa7130) card.
> 
> The problem was the gpio mask. The proper mask is 0x8018e700. The 
> patch I use follows. The gpiomask is the important change.
> 
> I changed the default to NTSC (since I have an NTSC card), but that 
> part is optional, of course. I'd like to be able to auto-detect NTSC 
> and PAL cards though. Does anybody with a PAL card want to work with 
> me on this? (since I don't have a PAL card to test with).
> 
> I changed the audio clock, though I'm not quite certain what it does. 
> Can somebody explain this to me?
> 
> Does anybody have a datasheet for this card? It would really make 
> this hardware hacking easier.
> 
> Cheers,
> Shaun
> 
> 
> --- saa7134-0.2.2/saa7134-cards.c	Tue Dec 24 18:48:23 2002
> +++ saa7134-0.2.2-sdj/saa7134-cards.c	Tue Dec 24 19:01:52 2002
> @@ -95,9 +95,9 @@
>  	[SAA7134_BOARD_FLYVIDEO2000] = {
>  		/* "TC Wan" <tcwan@xxxxxxxxx> */
>  		.name           = "LifeView FlyVIDEO2000",
> -		.audio_clock    = 0x00200000,
> -		.tuner_type     = TUNER_LG_PAL_NEW_TAPC,
> -		.gpiomask       = 0x6000,
> +		.audio_clock    = 0x00187de7,
> +		.tuner_type     = TUNER_LG_NTSC_NEW_TAPC,
> +		.gpiomask       = 0x8018e700,
>  		.inputs         = {{
>  			.name = name_tv,
>  			.vmux = 1,
> 
> 
> 
> 





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux