openvortex-dev
[Top][All Lists]
Advanced

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

Re: [Openvortex-dev] Low volume, distortion, etc


From: O.Sezer
Subject: Re: [Openvortex-dev] Low volume, distortion, etc
Date: Fri, 13 Jun 2003 01:26:06 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

Manuel Jander wrote:
Hi,

I have been playing with some AC97 registers, and it semes,
that some of them made a difference. As i suspected, on the
Aureal chip side everything semes OK, but the codec config isn't
right.

Most Vortex 2 cards (MX300) have the STAC9708/11 codec, which has
a lot of extra "features". That includes a "Enable external AMplifier
PIO bit". After enabling it explicitly, the aoutput semes a lot louder.
Passing signal to a powererd down amplifier isnt a good idea anyway, and
it wouldnt surprise me is that causes distortion.
I'm not sure if these changes really are right. Its very late and im
sleepy, but if i'm not on crack, it really semes very louder now to me.
Thjis has to be changed inside of au88x0_mixer.c:

int __devinit snd_vortex_mixer(vortex_t *vortex) {
    ac97_t ac97;
        int result;
    memset(&ac97, 0, sizeof(ac97));
    // Intialize AC97 codec stuff.
    ac97.write = vortex_codec_write;
    ac97.read = vortex_codec_read;
    ac97.private_data = vortex;
        
        result = snd_ac97_mixer(vortex->card, &ac97, &vortex->codec);
        if (vortex->codec) {
                /* Disable -6dB input and output attenuation.  */
                vortex_codec_write(vortex->codec, 0x6c, 0x0);
                /* Enable external amplifier. This is for STAC9708/11           
codecs.
STAC9701/03 don't need this but doesnt harm. */
                vortex_codec_write(vortex->codec, 0x26, 0x8000);
        }
    return result;
}


Best Regards,

Manuel Jander.




_______________________________________________
Openvortex-dev mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/openvortex-dev


Hello:

Upon applying your latest change, the loudness is really
fine and I am quite happy with my MX300 + Alsa drivers.

Some glitches, though:  When _not_ using oss emulation,
the "fast play" and "clicks" problems are still there
For example, xmms+alsa plugin has this problem  but
xmms+oss or xmms+arts plugin not;  arts is configured
to autodetect.

Playing to external midi has serious problems: Doing a
"playmidi -e canyon.mid" ,  playing about 5-6 seconds
and then pressing ^C, the last note continues playing
eternally. Even upon halt, I see the shutting down alsa
message but it still keeps playing. Upon this failure,
I see in dmesg:

ALSA ../../alsa-kernel/drivers/mpu401/mpu401_uart.c:226:
        cmd: 0xff failed at 0xe0b4d800 (status = 0x80, data = 0xc9)

OTOH, I don't know if this is a general alsa problem or
a problem with aureal drivers.

Many thanks to all who keep working on these drivers;

O. Sezer





reply via email to

[Prev in Thread] Current Thread [Next in Thread]