Re: Re: Results of saa7134 & FV3K testing

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



On Monday 21 October 2002 10:54, Gerd Knorr wrote:
> >  Then I tried to alter the saa7134 registers with function
> > saa_writeb(), I added an ioctl to access the driver to do this. The
> > thing is made so that it is executed in the function 'tvaudio_init'. I
> > tried to change audio registers more or less randomly but I could not
> > make any change with it. However, what works is poking the whole
> > address range 0x000-0x1ff with zeros (I hope doing such stuff will not
> > destroy something...).
>
> Intresting.  Can you try to trim down the register range?  I suggest to
> start with 0x140-0x17f (which are the audio ctrl registers).

I did that. It works for me now, when I insert 

   saa_writeb(SAA7134_AUDIO_PLL_CTRL,   0x00);

just before 

   saa_writeb(SAA7134_AUDIO_PLL_CTRL,   0x01);

in tvaudio_init(). 

I tried several times and it seems reproducible to me. I think that my 
system is a rather good test case, as the sound nearly never worked 
before. I have a Tevion MD 9717 card.

The only problem I found now is that one time I only got white noise as 
sound in xawtv directly after program start. After switching the channel 
the normal sound appeared but was still very noise. After a second channel 
switch everything was fine. That behaviour is not reproducible.

Thank you very much for your hints!

Bye,

Martin







[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