View more guides at Linux Wiki Guides
This guide will help update your version of the ALSA modules under openSUSE 11.1. This is useful for people whose sound is not currently working with their current version of ALSA. We will be covering the installation of the the latest stable drivers, the latest development and the CVS ALSA modules.
While this guide is mainly focused to laptop users there isn't any difference for desktop users.
It is highly recommended that you first run a full update for your openSUSE installation to ensure you have all the latest packages installed.
Depending on your sound controller you will need to make the decision on which version of ALSA you will need to install. If you are not sure you should start with the stable drivers. If the stable drivers don't work you can then move on to the development driver and then if necessary move on to the CVS driver.
The stable drivers have received the most testing and are the recommended drivers to use if they support your sound controller. The development drivers haven't been tested as much as the stable ones have but still typically work well. The CVS drivers are up to date drivers with the latest developments however this means that this version has barely been tested so should only be used if absolutely necessary.
Here are the steps to installing the ALSA modules:
1. Download your chosen set of drivers from http://www.alsa-project.org for the stable and development drivers and from http://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/ for the latest CVS drivers. In this guide we are going to use alsa-driver-1.0.18a as at the time of writing these are the latest stable drivers. You just need to substitute your driver version with the version used here. 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. Switch to the root user by entering the command “su -” (without the quotes) and typing in your root password
4. Type in the following to install gcc and the kernel headers:
yast -i gcc linux-kernel-headers kernel-headers kernel-source
And follow the on screen prompts.
5. Move to the /usr/src/ folder with:
6. Extract the contents of the file you downloaded with:
tar -xjvf /path/to/alsa-driver-1.0.18a.tar.bz2
Remember to replace the “/path/to” in this command to the path of where your file is.
7. Move into the newly created folder with
8. Run the configuration script with:
9. Now start the building process with:
This will take a while.
10. And finally we install these drivers with:
11. Reboot your computer and the newer ALSA modules will be used.
Remember that you may need to adjust your volume settings.