http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=blob_plain;f=sound/pci/ac97/ac97_patch.c;h=66a3bc95fb844c3f1b311b227622aacbb680a50c;hb=833a493b7ed2eb8f9059338a0ebf06bebbb6ae93


your pci ssid already in whitelist

/* white list to enable HP jack-sense bits
 * (SS vendor << 16 | device)
 */
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 received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1078704

Title:
  headphone jack sense not enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1078704/+subscriptions

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

Reply via email to