Switching between speakers and headphones

broken image
broken image

Upon wake up it switches automatically to “headphone unplugged”, without headphones in and if i plug them no sound comes out.

broken image

To add to that, it reacts badly to the power saving sleep mode. I cannot figure out a way to do this automatically.

broken image

While both the speakers and the headphones work, i have to switch between them using Pulse Audio Volume Control. I am having trouble with my onboard sound card, which i believe is from Intel.