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

I have had a problem with my sound for a while now. Sound comes from my headphones, but not from my speakers. I am running Ubuntu 11.10 on a Compaq 320. I have searched around, but none of the threads have worked, some had made it worse (no sound at all, but I managed to get back to where I am now). Any help would on how to fix this would be great.

share|improve this question

try using these commands

sudo apt-get update

sudo apt-get upgrade

sudo apt-get purge linux-sound-base alsa-base alsa-utils

sudo apt-get install linux-sound-base alsa-base alsa-utils gdm ubuntu-desktop


if this not help trying running this script

share|improve this answer
Hey Gaurav, Tried the commands but no luck. he script seems to be outdated for 10.04. would it still work for 11.10 – forrest Apr 1 '12 at 21:40

You need to edit this file /etc/modprobe.d/alsa-base.conf and then add a line in its end. Use the following commands:

sudo gedit /etc/modprobe.d/alsa-base.conf

Now add the following line at its end:

options snd-hda-intel model=generic

Now reboot your computer. It should solve your problem.

Further information:

share|improve this answer
Hey Abishek, after sing the command, gedit didn't open, so i couldnt add the other line. Why wouldnt gedit open? – forrest Apr 1 '12 at 21:46
I was able to open gedit with the command (had to take out the '&' and the end). – forrest Apr 1 '12 at 22:24
But after adding the line, there was still no sound from the speakers. – forrest Apr 1 '12 at 22:24
@forrest did you try the solution given in the link? It may depend on the sound card as well... the solution worked for me.. – abhishek Apr 2 '12 at 8:17
YEa, no luck from the link. my soundcard is '0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]" so its pretty straight forward – forrest Apr 2 '12 at 13:06

I have the same issue on an Aspire.

What's worse I convinced someone to use Ubuntu! Egg on my face!

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)

salvatore@salvatore-Aspire-7730:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.24.

salvatore@salvatore-Aspire-7730:~$ head -n 1 /proc/asound/card*/codec#* ==> /proc/asound/card0/codec#0 <== Codec: Realtek ALC888

==> /proc/asound/card0/codec#1 <== Codec: LSI ID 1040

==> /proc/asound/card0/codec#2 <== Codec: Intel Cantiga HDMI

salvatore@salvatore-Aspire-7730:~$ aplay -l ** List of PLAYBACK Hardware Devices ** card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0

salvatore@salvatore-Aspire-7730:~$ uname -a Linux salvatore-Aspire-7730 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux salvatore@salvatore-Aspire-7730:~$

The alsa-base.conf does not exist

Ubuntu 12.04LTS 64bit

Tried this:

sudo apt-get remove --purge alsa-base

sudo apt-get remove --purge pulseaudio

sudo apt-get install alsa-base

sudo apt-get install pulseaudio

sudo alsa force-reload


sudo apt-get purge pulseaudio gstreamer0.10-pulseaudio

sudo apt-get install pulseaudio gstreamer0.10-pulseaudio indicator-sound

Now audio comes out of both headphone and speaker..

share|improve this answer

I find that sometimes all I have to do is choose the correct output by just going to System Setting and then click on Sound on the output tab. Hope this helps.

share|improve this answer
Tried that out to no avail, however the 'test speaker' didnt make a sound, but i had a video going on youtube that I could hear. – forrest Apr 17 '12 at 18:41

I had the same issue. Go to "System Settings" select "Sound" and then select "Headphones" as the option in the the "Connector" drop down menu list.

share|improve this answer

You can adjust the sound settings for USB using:

  1. Go to sound settings from the volume options on the right.
  2. I you have plugged in USB speaker then it shows setting options as Analog Output Analog Audio.
  3. Click on it and adjust volume.
share|improve this answer

on my lenovo this works:

  • shut down the laptop
  • take off the battery
  • wait for 30 seconds
  • put the battery back
  • power on and enjoy sound in headphones again
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.