View more guides at Linux Wiki Guides
This guide will help update your version of the ALSA modules under Ubuntu 7.10. This is useful for people whose sound is not currently working with their current version of ALSA.
While this guide is mainly focused to laptop users there isn't any difference for desktop users.
You should run a full update for your installation of Ubuntu to ensure you have all the latest packages installed.
Before installing the ALSA modules you will need to decide whether to install the latest stable or development drivers. The stable drivers are more thoroughly tested however the development drivers typically have more hardware support.
Here are the steps to install the ALSA modules:
1. Download the latest drivers from http://www.alsa-project.org. In this guide we are going to use alsa-driver-1.0.16 as at the time of writing these are the current stable drivers. You should download the development drivers instead of the stable ones if that is the way you would like to go. You only need to download the alsa-driver package, the other packages (alsa-lib, alsa-utils etc.) are not necessary.
2. Load up a terminal window if you are in the graphic interface.
3. Type in the following to install gcc and the kernel headers:
sudo apt-get install build-essential linux-headers-`uname -r`
4. Move to the /usr/src/ folder with:
5. Extract the contents of the file you downloaded with:
sudo tar -xjvf /path/to/alsa-driver-1.0.16.tar.bz2
Remember to replace the “/path/to” in this command to the path of where your file is.
6. Move into the newly created folder with
7. Run the configuration script with:
8. Now start the building process with:
This will take a while.
9. And finally we install these drivers with:
sudo make install
10. Reboot your computer and the newer ALSA modules will be used.
Remember that you may need to adjust your volume settings.
The CVS drivers are right up to date with the latest developments. However these have barely been testing so should only be used if absolutely necessary.
The steps to installing these drivers are exactly the same as those for the development version except for the file you need to download. You can download these drivers from http://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/. Grab the latest version. Then just follow the instruction above by substituting the development version with the CVS version.