In BootDmesg;
[   41.676526] ALSA hda_codec.c:2154: Cannot find slave Headphone Playback 
Volume, skipped
[   41.676529] ALSA hda_codec.c:2154: Cannot find slave Speaker Playback 
Volume, skipped
[   41.676532] ALSA hda_codec.c:2154: Cannot find slave Mono Playback Volume, 
skipped
[   41.676535] ALSA hda_codec.c:2154: Cannot find slave Line-Out Playback 
Volume, skipped
[   41.676538] ALSA hda_codec.c:2154: Cannot find slave PCM Playback Volume, 
skipped
[   41.676550] ALSA hda_codec.c:2154: Cannot find slave Speaker Playback 
Switch, skipped
[   41.676553] ALSA hda_codec.c:2154: Cannot find slave Mono Playback Switch, 
skipped
[   41.676558] ALSA hda_codec.c:2154: Cannot find slave Line-Out Playback 
Switch, skipped
[   41.676561] ALSA hda_codec.c:2154: Cannot find slave PCM Playback Switch, 
skipped

from  hda_codec.c
/* create a virtual master control and add slaves */
int snd_hda_add_vmaster(struct hda_codec *codec, char *name,
                        unsigned int *tlv, const char **slaves)
{
        struct snd_kcontrol *kctl;
        const char **s;
        int err;

        for (s = slaves; *s && !snd_hda_find_mixer_ctl(codec, *s); s++)
                ;
        if (!*s) {
                snd_printdd("No slave found for %s\n", name);
                return 0;
        }
        kctl = snd_ctl_make_virtual_master(name, tlv);
        if (!kctl)
                return -ENOMEM;
        err = snd_hda_ctl_add(codec, kctl);
        if (err < 0)
                return err;
        
        for (s = slaves; *s; s++) {
                struct snd_kcontrol *sctl;
                int i = 0;
                for (;;) {
                        sctl = _snd_hda_find_mixer_ctl(codec, *s, i);
                        if (!sctl) {
                                if (!i)
                                        snd_printdd("Cannot find slave %s, "
                                                    "skipped\n", *s);
                                break;
                        }
                        err = snd_ctl_add_slave(kctl, sctl);
                        if (err < 0)
                                return err;
                        i++;
                }
        }
        return 0;
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/685108

Title:
  [HDA-Intel - HDA Intel] ALSA test tone not correctly played back

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to