Upgrade to ALSA 1.0.21 on Ubuntu 9.04

Advanced Linux Sound Architecture(ALSA)


First we need to knwo what is the version installed in our system.

open terminal and run this command

cat /proc/asound/version

output shows like this .

Advanced Linux Sound Architecture Driver Version 1.0.18rc3.

This is the default ALSA version comes with ubuntu 9.04 .

for installing the new we run the commands first on terminal

1.we need to install the tools

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

then download these package form the net

wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.21.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.21.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.21.tar.bz2

Then we need to create a dirctory folder name called alsa

sudo mkdir -p /usr/src/alsa

mv alsa* /usr/src/alsa

cd /usr/src/alsa
sudo cp ~/alsa*

Unpack the drivers   one by one

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

Now we are ready to install the ALSA

first we need to 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

Seconad we need to Install alsa-lib

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

third we need to Install alsa-utils

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

After this command it will show some errors like below

checking form.h presence… yes
checking for form.h… yes
checking for new_panel in -lpanelw… no
configure: error: panelw library not found

on the teminal run this below commands .This will solve the error messages

sudo ln -s libpanelw.so.5 /usr/lib/libpanelw.so
sudo ln -s libformw.so.5 /usr/lib/libformw.so
sudo ln -s libmenuw.so.5 /usr/lib/libmenuw.so
sudo ln -s libncursesw.so.5 /lib/libncursesw.so

sudo ./configure
sudo make
sudo make install

Now we are done .just we need to reboot the system .

After reboot we need to check the ALSA driver version with this below command

cat /proc/asound/version

Advanced Linux Sound Architecture Driver Version 1.0.21.
Compiled on Aug 31 2009 for kernel 2.6.28-15-generic (SMP).



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.