I have just installed Ubuntu 12.04 and I'm having problem with my front audio panel. When headphones are not plugged in panel is showing up in audio devices just to disappear after less than a second. Whole process is repeated endlessly which would be fine with me actually, but.. when it happens it makes annoying sound - short clacking noise. After I plug me headphones in - problem disappears, so I thought it might be something with cables but all seems to be fine. It's worth adding that everything works with no problems under Windows 8.

Any ideas how to fix this?