Upgrade Alsa (1.0.19) on Ubuntu Jaunty 9.04
![]() |
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.
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).


May 3rd, 2009 at 3:03 am
thx, worked
May 3rd, 2009 at 8:27 am
Thanks for this!
It fixed my stuttering audio problem in Jaunty with SIS966.
Good guide!
May 3rd, 2009 at 1:04 pm
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?
May 3rd, 2009 at 2:52 pm
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.
May 4th, 2009 at 4:51 am
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!
May 4th, 2009 at 9:01 am
Thanks for the help. I installed alsa-mixer and used it to control my volume. Sound is working very good
July 9th, 2009 at 8:15 pm
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.
November 2nd, 2009 at 11:30 am
Hello,
There isn’t anymore the also drivers on there site???
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.
November 2nd, 2009 at 12:46 pm
You should try to install alsa 1.0.21 :
http://monespaceperso.org/blog-en/2009/08/31/upgrade-alsa-1-0-21-on-ubuntu-jaunty-9-04/
November 2nd, 2009 at 2:58 pm
Ok, I will try it!
P.S. Tu as un interessante blog! Je me suis abonner a ton RSS
December 7th, 2009 at 4:45 pm
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?
December 7th, 2009 at 4:59 pm
Check comment #9.
Thx
December 7th, 2009 at 5:07 pm
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
December 7th, 2009 at 5:10 pm
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.