Upgrade Alsa (1.0.19) on Ubuntu Jaunty 9.04

May 1st, 2009 by alpho2k | Print Upgrade Alsa (1.0.19) on Ubuntu Jaunty 9.04
alsa Ubuntu Jaunty 9.04 is coming by default with the version 1.0.18rc3 of Alsa so I decided to upgrade to the last verison wich is 1.0.19. For the 1.0.20 version, go here!

[ad#Widgetbucks]

What is Alsa (Advanced Linux Sound Architecture) ?

According to Wikipedia, Alsa is a Linux kernel component intended to replace the original Open Sound System (OSS) for providing device drivers for sound cards. Some of the goals of the ALSA project at its inception were automatic configuration of sound-card hardware, and graceful handling of multiple sound devices in a system, goals which it has largely met.

Installation :

To do this, we must begin by determining our version of alsa as follows :

cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.

We must then install the necessary tools to compile along with the kernel headers :

sudo apt-get -y install build-essential ncurses-dev gettext xmlto
sudo apt-get -y install linux-headers-`uname -r`

Then, we go in our personal folder and download alsa-driver, alsa-lib and alsa-utils :

cd ~
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.19.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.19.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.19.tar.bz2

After that, we create a new folder for the compilation and installation of the 3 files. Then, we move the 3 tar files that we just downloaded in this folder :

sudo mkdir -p /usr/src/alsa
cd /usr/src/alsa
sudo cp ~/alsa* .

Unpack the 3 tar files :

sudo tar xjf alsa-driver*
sudo tar xjf alsa-lib*
sudo tar xjf alsa-utils*

We compile and install alsa-driver :

cd alsa-driver*
sudo ./configure --with-cards=hda-intel --with-kernel=/usr/src/linux-headers-$(uname -r)
sudo make
sudo make install

We compile and install alsa-lib :

cd ../alsa-lib*
sudo ./configure
sudo make
sudo make install

We compile and install alsa-utils :

cd ../alsa-utils*
sudo ./configure
sudo make
sudo make install

Then, we remove the 3 tar files in our personal folder that are not anymore necessary :

rm -f ~/alsa-driver*
rm -f ~/alsa-lib*
rm -f ~/alsa-utils*

[ad#Adsense]

Then, just restart your computer and your alsa version should be 1.0.19!

You can verify that you have now indeed have this version of alsa :

cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.19.
Compiled on May 1 2009 for kernel 2.6.28-11-generic (SMP).

Related Posts

 

14 Comments For This Post

  1. Kasper Says:

    thx, worked :)

  2. mr.anon Says:

    Thanks for this!
    It fixed my stuttering audio problem in Jaunty with SIS966.
    Good guide!

  3. HKLock Says:

    I don’t have much experience and could use the help.

    In the code line “sudo apt-get -y install linux-headers-`uname -r’ “, what should go in ‘uname -r’

    When I type as shown, I get the line “Couldn’t find package linux-headers-uname -r” .

    What am I doing wrong?

  4. HKLock Says:

    Forget my last reply. I tried again and I now have ALSA 1.0.19 installed. Sound is working good on Jaunty 9.04 although volume is a little low. Thank you for the installation instructions.

  5. Mirko Says:

    I have resolved low volume with click on volume panel icon and changing it in preferences; you can also launch alsa-mixer by the terminal.
    Thanks for the post!

  6. HKLock Says:

    Thanks for the help. I installed alsa-mixer and used it to control my volume. Sound is working very good

  7. Victoria Says:

    I have a problem after typing “sudo ./configure –with-cards=hda-intel –with-kernel=/usr/src/linux-headers-$(uname -r)”, it said “Folder not available”.

    Do I have to create with “sudo mkdir /usr/src/linux-headers” folder?

    I’m totally new on this and have an Aspire 6920, please help.

  8. vasiauvi Says:

    Hello,
    I get this error:
    Resolving http://ftp.alsa-project.org... 212.20.107.51
    Connecting to http://ftp.alsa-project.org|212.20.107.51|:21… connected.
    Logging in as anonymous …
    Error in server response, closing control connection.
    Retrying.
    :) There isn’t anymore the also drivers on there site???

  9. vasiauvi Says:

    Ok, I will try it!

    P.S. Tu as un interessante blog! Je me suis abonner a ton RSS :)

  10. Rachel Says:

    I get the following error when I try to download the first .tar file of the new version of alsa….

    Connecting to http://ftp.alsa-project.org|212.20.107.51|:21…

    And then it just stops. It has been like this for 10 minutes. What do I do?

  11. alpho2k Says:

    Check comment #9.

    Thx

  12. Rachel Says:

    alpho2k,

    I still get the same error. I do the wget command for the driver file and it still gets stuck on the following error…
    “Resolving http://ftp.alsa-project.org... 212.20.107.51
    Connecting to http://ftp.alsa-project.org|212.20.107.51:21…”

    And it just stays there indefinitely. Help??
    - Rachel

  13. Rachel Says:

    Sorry, it says this (omit the IGNORE text)

    “connecting to ftpIGNORE.alsa-project.org|212.20.107.51|:21…”

    After a few minutes it then says…
    “failed: Connection timed out.
    Retrying.”

    And is starts over.

Leave a Reply

Live Comment Preview

 
WordPress Loves AJAX