Revision 1 as of 2011-11-24 19:07:49

Clear message

#This is not finished yet, I just want to save what is done so far

Sound Troubleshooting Guide

for Ubuntu 10.04, 10.10, 11.04 and 11.10

Notes/Warnings/Tips about this document:

  • This is a do-it-yourself guide to fix your sound problems. I do not guarantee that it will work, but feel free to edit this document if you have any problems.
  • Make sure that you have plenty of time to do this guide, as it will probably take a few hours.
  • Make sure that you have installed the latest updates for ubuntu before beginning this guide.
  • All advice in this guide has been tested on Ubuntu. Though we have not tested thoroughly on Kubuntu, Xubuntu and Lubuntu the advice is likely to work for these versions as well.
  • In this guide, a Terminal window will be frequently used. In some cases, it is essential for you to use it to solve your problem. You can find a tutorial on using the terminal here: Using the terminal

  • All commands to type are in boxes,
    like this.
  • You will probably not need all of this guide to cure your audio! Feel free to only pick the bits that appear relevant.

Preliminary checks and guide start:

Make sure that all of these things are OK (follow the checks in the order supplied):

  • Your speakers are turned on fully (on the speakers)
  • Your speakers are plugged into the correct ports.
  • If your speaker has a power cable, make sure that it is plugged in.
  • Your speakers work (try plugging them into a CD/DVD/Radio player)
  • Your Ubuntu release is supported. If it isn’t supported anymore, install a supported release of Ubuntu (clean install, not upgrade from the upgrade tool).
  • If your problem is NOT sound, but recording instead, check out Appendix G, and Appendix B, on the recording section. If it still doesn't work after tweaking the settings a lot, use the instruction under the heading Af to reinstall ALSA.
  • If your problem is that the sound stops working after hibernation, follow the instructions under Ba.
  • If you want to make MIDI work, make sure that sound works normally, then follow heading Bb.
  • Boot into any supported Ubuntu LiveCD/DVD/USB, and see if sound works. If sound doesn’t work there, then the problem might be with Ubuntu, your sound card (or motherboard, if the sound card is internal), or the BIOS settings. Follow heading X for more information.
  • Run the following command:
    • aplay -l
    • If it gives an output similar to this:
      aplay: device_list:221: no soundcard found...
      Then follow heading Aa.
    • If it gives an output similar to this:
      **** List of PLAYBACK Hardware Devices ****
      ALSA lib conf.c:3643:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
      ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL hw:0
      aplay: device_list:249: control open (0): No such file or directory
      Then follow heading Ab.
  • If it does not give any of the 2 outputs (or similar to them), then follow heading Ac.
  • Run the following command:
    lspci -nn | grep '\[ 04[80][13]\]'
    • If the command gives no output at all, follow heading X.
    • If the command does give output, follow heading Ac.