static const struct snd_kcontrol_new snd_ac97_ad1981x_jack_sense[] = { AC97_SINGLE("Headphone Jack Sense", AC97_AD_JACK_SPDIF, 11, 1, 0), AC97_SINGLE("Line Jack Sense", AC97_AD_JACK_SPDIF, 12, 1, 0), };
these two controls only change JSMT2 and JSMT1 you need bit 2 and bit3 of AC97_AD_JACK_SPDIF for JS0 ST and JS1 ST create hp jack kctl similar to https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/oxygen?id=435feac648cab190990aa0bf9355f77d1f082db3 the point is when do the driver call snd_jack_report by interrupt or timer -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/893210 Title: [Dell OptiPlex GX620 - AD1981b, playback] No sound at all To manage notifications about this bug go to: https://bugs.launchpad.net/alsa-driver/+bug/893210/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs