Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is a common problem, i know but when i plug in my headset the sound keeps coming out of the speakers. The pc model is Acer Aspire 5930. When i start the pc with the headset plugged in, the sound comes out right, but when I plug it in after i have turned it on the sound comes out everywhere. System is ubuntu 12.04 64 bit.

share|improve this question
possible duplicate of Sound from headphones and from speakers? – Anwar Shah Jul 30 '12 at 7:20

I think your sound card is an Intel. if yes try the solution here.

Original Solution

  1. Go to Realtek official site, accept the disclaimer, then download the audio driver for linux/unix. You need to select version 3 for Kernel 3 or later.

  2. Setup necessary tools to compile this driver.

    sudo apt-get install build-essential gcc make

  3. Extract the downloaded file, run sudo ./install file from a terminal after going to the extracted folder to compile the driver.

  4. Read the Readme.txt file for more information.

I had a problem with Sound settings in Ubuntu 12.04. It fixed now

Solution 2:

I have just found another solution:

(It worked for me with Only S/PDIF profile, Sound from both headphone and speaker and not being able to switch profile)

Install alsa-hda-dkms using these commands

 sudo apt-add-repository ppa:ubuntu-audio-dev/alsa-daily
 sudo apt-get update
 sudo apt-get install alsa-hda-dkms

Reboot, And See the result!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.