Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: MTV Audio always distorted
Seems like the initialisation of the Crystal DAC is not correct in the=20
driver. For my Skystar1 card the following patch against the current driv=
er's=20
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);
=20
case DVB_ADAC_CRYSTAL:
! volleft=3D127-((volleft*100)/255);
! volright=3D127-((volright*100)/255);
i2c_writereg(dvb, 0x20, 0x03, volleft);
i2c_writereg(dvb, 0x20, 0x04, volright);
return 0;
--- 1486,1493 ----
return SendDAC(dvb, 4, volright);
=20
case DVB_ADAC_CRYSTAL:
! volleft=3D127-(volleft/2);
! volright=3D127-(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)=3D=3D1) {
dprintk("dvb%d: Crystal audio DAC detected\n", dvb->num=
);
dvb->adac_type =3D 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)=3D=3D1) {
dprintk("dvb%d: Crystal audio DAC detected\n", dvb->num=
);
dvb->adac_type =3D 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);
} =
=20
=20
Am Mittwoch 21 November 2001 15:49 schrieb Andr=E9 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 under
>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.
--=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