https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_analog.c?id=0f7dbda0ec3bc4d778d7acf741b220fbf4318a2
you have to post output of alsa-info.sh seem pro52h not in the above asus notebooks which use ad1986a https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_analog.c?id=598e306184d26fa1d546334f2eb370b4d94a4ad3 post the pulseaudio verbose log and find out whether the hp jack is plugged and unplugged rapidly try to find out the jack state is inverted or not by hda-jack-sense-test https://bugzilla.kernel.org/show_bug.cgi?id=66621#c41 you can also try the modified version which can measure impedance since pincap supoort ImpSense Node 0x1a [Pin Complex] wcaps 0x400185: Stereo Amp-Out Control: name="Headphone Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Headphone Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Headphone Jack", index=0, device=0 Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1 Amp-Out vals: [0x13 0x13] Pincap 0x0000001f: OUT HP Detect Trigger ImpSense Pin Default 0x0121401f: [Jack] HP Out at Ext Rear Conn = 1/8, Color = Green DefAssociation = 0x1, Sequence = 0xf Pin-ctls: 0xc0: OUT HP Unsolicited: tag=01, enabled=1 Connection: 1 0x0a ** Bug watch added: Linux Kernel Bug Tracker #66621 http://bugzilla.kernel.org/show_bug.cgi?id=66621 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1316156 Title: speakers audio won't work - pavucontrol is switching continually between speakers and headphones To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1316156/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs