Mailing List archive

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

[linux-dvb] Re: MTV Audio always distorted




I never used the 0.8.2 drivers. If there was support for the Crystal DAC =
in=20
that driver, the patch should work, too. Maybe you have to change the=20
according lines in dvb.c manually.

Meinrad

Am Donnerstag 22 November 2001 08:24 schrieb Andrei Boros:
>Will this patch work for 0.8.2 drivers ?
>
>> Seems like the initialisation of the Crystal DAC is not correct in the=
=3D20
>> driver. For my Skystar1 card the following patch against the current d=
riv=3D
>> er's=3D20
>> dvb.c helps
>>
>> Meinrad
>>
>> *** dvb.c.orig  Wed Nov 21 18:43:05 2001
>> --- dvb.c   Wed Nov 21 18:46:02 2001
>> ***************
>> *** 1486,1493 ****
>>                   return SendDAC(dvb, 4, volright);
>> =3D20
>>           case DVB_ADAC_CRYSTAL:
>> !                 volleft=3D3D127-((volleft*100)/255);
>> !                 volright=3D3D127-((volright*100)/255);
>>                   i2c_writereg(dvb, 0x20, 0x03, volleft);
>>                   i2c_writereg(dvb, 0x20, 0x04, volright);
>>                   return 0;
>> --- 1486,1493 ----
>>                   return SendDAC(dvb, 4, volright);
>> =3D20
>>           case DVB_ADAC_CRYSTAL:
>> !                 volleft=3D3D127-(volleft/2);
>> !                 volright=3D3D127-(volright/2);
>>                   i2c_writereg(dvb, 0x20, 0x03, volleft);
>>                   i2c_writereg(dvb, 0x20, 0x04, volright);
>>                   return 0;
>> ***************
>> *** 5277,5284 ****
>>           if (i2c_writereg(dvb, 0x20, 0x00, 0x00)=3D3D=3D3D1) {
>>                   dprintk("dvb%d: Crystal audio DAC detected\n", dvb->=
num=3D
>> );
>>                   dvb->adac_type =3D3D DVB_ADAC_CRYSTAL;
>> !                 i2c_writereg(dvb, 0x20, 0x01, 0x08);
>> !                 i2c_writereg(dvb, 0x20, 0x02, 0x09);
>>                   i2c_writereg(dvb, 0x20, 0x03, 0x20);
>>                   i2c_writereg(dvb, 0x20, 0x04, 0x20);
>>           }
>> --- 5277,5284 ----
>>           if (i2c_writereg(dvb, 0x20, 0x00, 0x00)=3D3D=3D3D1) {
>>                   dprintk("dvb%d: Crystal audio DAC detected\n", dvb->=
num=3D
>> );
>>                   dvb->adac_type =3D3D DVB_ADAC_CRYSTAL;
>> !                 i2c_writereg(dvb, 0x20, 0x01, 0x28);
>> !                 i2c_writereg(dvb, 0x20, 0x02, 0x69);
>>                   i2c_writereg(dvb, 0x20, 0x03, 0x20);
>>                   i2c_writereg(dvb, 0x20, 0x04, 0x20);
>>           }                                                           =
   =3D
>>     =3D20
>>  =3D20
>>
>> Am Mittwoch 21 November 2001 15:49 schrieb Andr=3DE9 Weidemann:
>> >I have installed the TT-DVBsat PCI card with the lates drivers from
>> >linuxtv.org (cvs) and the vdr 0.98 software.
>> >When tuning in to MTV (the only unscrambled station), I always have
>> >distorted sound (so has a friend of mine). The problem only occurs un=
der
>> >Linux. The sound under M$ Windows is fine.
>> >
>> >Did anyone else have this problem before? Any suggestions of what it
>> >could be?
>> >Can it be realted to the different Audio-DAC used on the 1.5 series.
>>
>> --=3D20
>> Meinrad Sauter
>> email: meinrad.sauter@gmx.de
>>
>> --
>> Info:
>> To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe
>> linux-dvb" as subject.

--=20
Meinrad Sauter
email: meinrad.sauter@gmx.de


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.


Home | Main Index | Thread Index