[alsa-devel] HD-audio regression after commit 34588709af61be1550b4e2bcee5c85d0ac4f34d4

Raymond Yau superquad.vortex2 at gmail.com
Thu Jan 17 04:51:48 CET 2013


> > >> >> >> >> >> >Yes, testing the latest code with real machines is
highly
> > >> >> >> >> >> >appreciated.  Try sound-unstable git tree, either
master or
> > >> >> >> >> >> >test/hda-migrate branch.
> > >> >> >> >> >> >  git://
> > >> >> >> >
git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git
> > >> >> >> >> >> >
> > >> >> >> >> >> >Alternatively you can build the external alsa-driver
modules from
> > >> >> >> >> >> >alsa-driver-unstable snapshot tarball, too
> > >> >> >> >> >> >
> > >> >> >> >> >
> > >> >> >> >
ftp://ftp.suse.com/pub/people/tiwai/snapshot/alsa-driver-unstable-snapshot.tar.gz
> > >> >> >> >> >> >
> > >> >> >> >> >> >Note that only the behavior of model=auto has been
changed in the tree
> > >> >> >> >> >> >above.  The other model behaviors of AD codecs are
unchanged at all.

> > >> >> >> >
> > >> >> >> >Seen many ad1988 controls are missing ?
> > >> >> >> >
> > >> >> >> >1) rear Mic, line , front Mic  playback volume and switch
> > >> >> >> >2) CD playback switch
> > >> >> >> >3) input mix in input source
> > >> >> >> >4) analog loopback mix volume and mute switch

> > But the number of controls is smaller than in linux stable 3.7.2. I
> > don't know if that's a regression.
>
>
> Unless you see *functional* degradation, it's no regression but
> regarded rather as a cleanup

Refer to commit

http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-unstable.git;a=commitdiff;h=f3fc0b0b1fe31e0ec9a72ab85b421e74c696f00d;hp=3a65bcdc577a338712c2eaefc194909de79d4982

The Stereo Mix of those VIA codecs allow ADD capture  DAC signal

ad1988 and those realtek codecs can select input source from the audio
mixer which can mix the input pins

- snd_hda_add_imux_item(imux, "Mix", 9, NULL);

Those  static models (3stack , 3stack-dig, 6stack and 6stack-dig )still
have the input source "mix"

static const struct hda_input_mux ad1988_6stack_capture_source = {
        .num_items = 5,
       .items = {
               { "Front Mic", 0x1 },   /* port-B */
                { "Line", 0x2 },        /* port-C */
                { "Mic", 0x4 },         /* port-E */
                { "CD", 0x5 },
                 { "Mix", 0x9 },
       },
};

Most  desktop codecs can pass the blue Jack signal to green Jack by unmute
line playback switch and line playback volume

-- if ((err = add_control(spec, AD_CTL_WIDGET_VOL,
- "Analog Mix Playback Volume",
- HDA_COMPOSE_AMP_VAL(0x21, 3, 0x0, HDA_OUTPUT))) < 0)
- return err;
- if ((err = add_control(spec, AD_CTL_WIDGET_MUTE, - "Analog Mix Playback
Switch",
- HDA_COMPOSE_AMP_VAL(0x21, 3, 0x0, HDA_OUTPUT))) < 0) - return err;


More information about the Alsa-devel mailing list