Fixing two way sounds on your Netbook Ubuntu 10.04 Remix

If you are using a head phone on a Netbook  Ubuntu Remix 10.04, you will notice that you have a two way sounds wherein you cannot configure it just going to your head phone.  To enable it you have to upgrade your  Alsa (Advance Linux Sound Architecture) version 1.0.21 to version 1.0.23 .

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

1. Open terminal

2. Type cat /proc/asound/version

Then the display will show the current version of your ALSA.

To avoid problems during the upgrade of Alsa-utils, we need to stop it with the following command  in a terminal:

3. sudo /sbin/alsa-utils stop

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

4. sudo apt-get -y install build-essential ncurses-dev gettext xmlto libasound2-dev

5. sudo apt-get -y install linux-headers-`uname -r` libncursesw5-dev

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

6. cd ~
rm -rf ~/alsa* ~/.pulse*
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.23.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.23.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.23.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 :

7. sudo rm -rf /usr/src/alsa
sudo mkdir -p /usr/src/alsa
cd /usr/src/alsa
sudo cp ~/alsa

Unpack the 3 tar files :

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

We compile and install alsa-driver, alsa-lib and alsa-utils :

9. cd alsa-driver*
sudo ./configure
sudo make
sudo make install

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

11. 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 using the terminal :

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

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

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

cat /proc/asound/version

Just to be sure everything is well configured, execute this command

sudo alsaconf

Comments