[pulseaudio-tickets] [Bug 42353] Mistreats headphone port with dysfunctional ALSA Master volume on ICH7

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 16 18:27:20 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=42353

--- Comment #31 from Raymond <superquad.vortex2 at gmail.com> ---
only those in whitelist call snd_ac97_update_bits(ac97, AC97_AD_JACK_SPDIF,
1<<11, 1<<11);


https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/ac97/ac97_patch.c

static unsigned int ad1981_jacks_whitelist[] = {
    0x0e11005a, /* HP nc4000/4010 */
    0x103c0890, /* HP nc6000 */
    0x103c0938, /* HP nc4220 */
    0x103c099c, /* HP nx6110 */
    0x103c0944, /* HP nc6220 */
    0x103c0934, /* HP nc8220 */
    0x103c006d, /* HP nx9105 */
    0x103c300d, /* HP Compaq dc5100 SFF(PT003AW) */
    0x17340088, /* FSC Scenic-W */
    0 /* end */
};

static void check_ad1981_hp_jack_sense(struct snd_ac97 *ac97)
{
    if (check_list(ac97, ad1981_jacks_whitelist))
        /* enable headphone jack sense */
        snd_ac97_update_bits(ac97, AC97_AD_JACK_SPDIF, 1<<11, 1<<11);
}

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20150917/fa1257f7/attachment.html>


More information about the pulseaudio-bugs mailing list