umsolicited event was disabled when you enable polling
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sounda/hda_jack.c?id=34a9318772d00efc5c1af00639526232050c49b8
does your symptom look like the state of jack is/are changing rapidly from plugged and unplugged many times within a second?
pulseaudio verbose log without specify jackpoll_ms=400
umsolicited event was disabled when you enable polling
https:/ /git.kernel. org/cgit/ linux/kernel/ git/tiwai/ sound.git/ commit/ sounda/ hda_jack. c?id=34a9318772 d00efc5c1af0063 9526232050c49b8
does your symptom look like the state of jack is/are changing rapidly from plugged and unplugged many times within a second?
pulseaudio verbose log without specify jackpoll_ms=400