Pulseaudio doesn't detect headphone jack connect/disconnect
Summary
Pulseaudio doesn't depect headphones connect/disconnect for the analog output, while alsa detects it correctly. Both speaker and headphones are active and outputs sounds when headphones are connected.
What is the current bug behavior?
Connecting/disconnecting the headphones jack doesn't change the status of Speaker and Headphones ports for the sink. Headphones connection is not detected by pulseaudio. When headphones are connected, audio is coming from both speaker and headphones.
What is the expected correct behavior?
Proper switch between speaker and headphones on headphones connect/disconnect.