Ubuntu – No sound from headphones Ubuntu 14.04

14.04headphonessound

I am having some trouble getting sound when using headphones.
Restarting does not help but for some reason turning the computer off and then on again does. If the computer goes to sleep the sound in the headphones are gone when it wakes up, but the speakers work.

It shows that my headphones are connected in the sound settings, the sound is not muted and I have tried typing "alsamixer" in the terminal and checking the values.

aplay -l gives this. Not sure which card is which.

card 1: PCH [HDA Intel PCH], device 0: VT1802 Analog [VT1802 Analog]
Subdevices: 0/1

Subdevice #0: subdevice #0

card 1: PCH [HDA Intel PCH], device 2: VT1802 Alt Analog [VT1802 Alt Analog]
Subdevices: 1/1

Subdevice #0: subdevice #0

I know there is alot of these questions but I have not been able to solve my problem with any of the solutions I have found.

My computer is a Multicom Xishan W230S (Clevo W230SS)

Edit: Under "Play sound through" in the "output" tab in the sound settings it changes between "Headphones" and "Speakers" when I plug in/out the minijack. It says "Built-in Audio" on both of them.

Best Answer

The notebook has an headphone amplifier that is not initialized by the firmware after suspend, only on cold start.

More information: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1313904

Solution: Install https://github.com/Unrud/init-headphone-ubuntu/releases

Related Question