I am using ubuntu 14.04.1 LTS on Dell Inspiron. I have hda-intel soundcard. For quite a few days now, my laptop sound is not coming from the speakers, and only from headphones. I have tried selecting the in-built speakers in pavucontrol both when the headphones were plugged in and were not. When headphones were plugged in, and I selected in-built speakers, the sound still came from the headphones. When not plugged in, there was no sound at all.
I have tried reinstalling alsamixer, killing pulseaudio, changing volumes in alsamixer. Nothing has worked so far. Here are some screenshots of alsamixer.
Just after running alsamixer: Not sure if the above is normal, since I have to change the soundcard first to get the next state: Again I am not sure if there should be columns about headphones, since they are not plugged in. After plugging in the headphones, it changes to: Which is not much of a change. Just the speakers got muted. On disconnecting the speakers, they go back to 100.
Please help. I have already seen other threads like this, but didn't get any answer that worked. Thank you in advance
EDIT: I have dual boot with Windows 8. So I know that it is not a hardware problem
EDIT 2: Noticed something new. In alsamixer, Whenever I mute the headphones(2nd column) while unplugged, even the speaker and master columns are muted automatically. I don't think this is a normal behavior. One more thing I should probably add: Everytime I plug in the headphones, a new pop-up asks me if I have plugged in a headphone, headset or Microphone. This didn't happen with my previous headphone.
EDIT 3: I have dual boot with Windows 8.1, but I didn't know that this was relevant to the problem.