Configuring the audio and updating ALSA for Debian GNU/Linux 5.0

Author(s)

Bill Giannikos

Introduction

This guide will help update your version of the ALSA modules under Debian GNU/Linux 5.0. This is useful for people who's 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.

Notes

We will be using 'nano' as our text editor of choice but you can use whatever you wish.

While this guide is mainly focused to laptop users there isn't any difference for desktop users.

Prerequisites

You should run a full update for your installation of Debian to ensure you have all the latest packages installed.

You will need a working internet connection.

Installing the ALSA modules

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 and then if necessary move on to the development or 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.suse.com/pub/projects/alsa/snapshot/driver/ for the latest CVS drivers. In this guide we are going to use alsa-driver-1.0.19 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 commands to install gcc and the kernel headers:

apt-get install build-essential module-assistant
m-a update
m-a prepare

5. Move to the /usr/src/ folder with:

cd /usr/src

6. Extract the contents of the file you downloaded with:

tar -xjvf /path/to/alsa-driver-1.0.19.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

cd alsa-driver-1.0.19

8. Run the configuration script with:

./configure

9. Now start the building process with:

make

This will take a while.

10. And finally we install these drivers with:

make install

11. Reboot your computer and the newer ALSA modules will be used.

Remember that you may need to adjust your volume settings.

If this guide didn't work

If this guide did not work you may like to view the general Configuring the audio guide or use the Audio Tester.


Discussion

Enter your comment. Wiki syntax is allowed:
If you can't read the letters on the image, download this .wav file to get them read to you.
 
configuring_the_audio_and_updating_alsa_for_debian_gnu_linux_5.0.txt · Last modified: 2009/03/02 14:02 by billg
Contact Us Sister Sites Privacy Policy Terms of Use
Copyright © 2006-2013 Linlap.com and other authors