sound – Headphone port is not working


Front headphone port doesn’t detect headphone. I’ve tried almost everything available in internet.

I’ve tried unmuting headphone from alsamixer and also from pulseaudio. But that didn’t worked for me. I’ve tried uninstall and reinstall alsamixer and pulseaudio. In Pulseaudio, it shows Headphone(unplugged).

Any solution??

Note: I have a msi motherboard. I’ve switched yesterday from windows. Everything was fine in windows.