Re: via82xx cmd line parsing is evil [was Re: Sound on newer arima notebook...]

From: Takashi Iwai
Date: Thu Apr 01 2004 - 13:31:18 EST


At Thu, 1 Apr 2004 20:24:17 +0200,
Pavel Machek wrote:
>
> Hi!
>
> > > static int joystick[SNDRV_CARDS];
> > > #endif
> > > static int ac97_clock[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 48000};
> > > -static int ac97_quirk[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = AC97_TUNE_DEFAULT};
> > > -static int dxs_support[SNDRV_CARDS];
> > > +static int ac97_quirk[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
> > > +static int dxs_support[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
> >
> > i suppose that ac97_quirk=1 and dxs_support=1 work fine with your
> > machine?
> > (i don't want to change defaults for all devices yet :)
>
> ac97_quirk=1 helps (*) here. dxs_support=1 makes it sounds worse than
> usual.

dxs_support=4 might help, then.
in the worst case, you can use dxs_support=2, which disables DXS
channels completely. the multi playback won't work, though.

> (*): Vol + PCM now controls output to headphones. Thats certainly better
> than output controlled by PCM + PCM2. I *still* can't make it play on
> internal speakers...

which ac97 codec? you can see it in
/proc/asound/card0/pcm0p/codec97#0/ac97#0-0.


Takashi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/