To a free world
Nearer every day!
* Subscribe
* Search
* Archives
* Pages
Upgrade Alsa (1.0.23) on Ubuntu Lucid Lynx 10.04
May 2nd, 2010 by alpho2k | Print Upgrade Alsa (1.0.23) on Ubuntu Lucid Lynx 10.04
alsa Ubuntu Lucid Lynx 10.04 is coming by default with the version 1.0.21 of Alsa so I decided to upgrade to the last version wich is 1.0.23.
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.21.
To avoid problems during the upgrade of Alsa-utils, we need to stop it with the following command :
sudo /etc/init.d/alsa-utils stop
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 libasound2-dev
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 :
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 :
sudo rm -rf /usr/src/alsa
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
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*
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 :
cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on May 2 2010 for kernel 2.6.32-21-generic (SMP).
Just to be sure everything is well configured, execute this command :
sudo alsaconf
and reboot again!
Share and Enjoy:
* Digg
* Sphinn
* del.icio.us
* Facebook
* Mixx
* Google Bookmarks
Related Posts
* Upgrade Alsa (1.0.23) on Ubuntu Karmic Koala 9.10
* Upgrade Alsa (1.0.22.1) on Ubuntu Karmic Koala 9.10
* Upgrade Alsa (1.0.21) on Ubuntu Karmic Koala 9.10
* Upgrade Alsa (1.0.21) on Ubuntu Jaunty 9.04
* Upgrade Alsa (1.0.20) on Ubuntu Jaunty 9.04
* Upgrade Alsa (1.0.19) on Ubuntu Jaunty 9.04
* Acer aspire 6920 – No sound on Ubuntu 8.10 – Upgrade of alsa
alsa
This entry was posted on Sunday, May 2nd, 2010 at 8:59 pm and is filed under Acer Aspire 6920, Kubuntu, Laptop, Linux, Sound, Ubuntu, alsa, alsa 1.0.23. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
19 Comments For This Post
1.
Georg Says:
May 3rd, 2010 at 12:50 pm
Thanks Stéphane for your great job!
Unfortunately, my Cakewalk UA-1G which worked under 9.10 and alsa-1.0.22 isn’t working anymore with 10.04/alsa-1.0.23. Any idea why?
Can I downgrade now again to 1.0.22 in Ubuntu 10.04?
Georg
2.
Jonathan Sardo Says:
May 3rd, 2010 at 1:20 pm
After upgrade my Ubuntu from 9.10 to 10.01
I’m getting some errors about compiling lib.
When I do “sudo make”, I got:
[make] nothing can be done for ‘all’
and also, nothing can be done for ‘all-am’
What can I do to fix it? :(
3.
Jonathan Sardo Says:
May 3rd, 2010 at 2:11 pm
I mean, 9.10 to 10.04.
4.
William Says:
May 6th, 2010 at 5:58 pm
Thanks to this post I was able to fix almost all of my audio problems!
Now all I have to do is kill pulseaudio once in a while and I can hear something more then system sounds!
thanks!
5.
Vinodh Says:
May 7th, 2010 at 5:23 pm
I followed all the steps . However after reboot,
cat /proc/asound/version still shows
Advanced Linux Sound Architecture Driver Version 1.0.21.
However, alsa-utils and alsa-libs are of version 1.0.23
Any clues why this version file did not get updated ? Or anyway to verify whether my driver truly got updated to 1.0.23 and this file is just stale ?
6.
Not a computer techi Says:
May 8th, 2010 at 8:11 am
I have also upgraded 9.10 to 10.04.
I have no sound and I dont have a clue how to update Alsa by programming????
Can anyone send me a link to update without all the commands?
Cheers g
7.
aslam Says:
May 8th, 2010 at 3:48 pm
I started w/ ALSA 1.0.22.1 & kernel 2.6.32-22-generic.
After following these steps, the ALSA version did not change…
$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.22.1.
Compiled on Apr 29 2010 for kernel 2.6.32-22-generic (SMP).
However, when I ran alsaconf, it did show the version as 1.0.23. Synaptic, on the other hand says I’m on 1.0.22. Any ideas as to what this means?
Also, the following continues to happen:
alsa-util.c: snd_pcm_avail() returned a value that is exceptionally large: 18446744073709544436 bytes (418293516369 ms).
8.
Tom Says:
May 8th, 2010 at 4:55 pm
FYI instructional worked very well for me on Ubuntu 10.04. Could not get pulseaudio working at all on my Toshiba L505D-GS6000 (Realtek Audio / intel???). In any case, hopefully other Toshiba users will find this useful. Alsa works great! THANKS!
9.
Danilo Says:
May 10th, 2010 at 12:29 am
Thanks a lot for your tutorial. Worked great on a vaio VPCEB17FL, no problems at all. Sound is very good
10.
axt Says:
May 11th, 2010 at 8:05 am
For Ubuntu change please “sudo make install” to “sudo checkinstall” or “sudo checkinstall -D –install=no”!
11.
aslam Says:
May 11th, 2010 at 7:09 pm
Thx, @axt, for the checkinstall tip.
Unfortunately when trying to install the deb pkg, I get:
“trying to overwrite ‘/usr/include/sound/asequencer.h’, which is also in package linux-libc-dev 0:2.6.32-22.33″
…and many things depend on linux-libc-dev.
12.
Corrado Says:
May 12th, 2010 at 12:22 am
my errors are:
dpkg: errors alsa-driver_1.0.23-1_i386.deb (–install):
cannot overwrite “/lib/modules/2.6.32-21-generic-pae/kernel/sound/usb/snd-usb-audio.ko”
dpkg-deb: ending (Pipe broken)
Netbook LG TX Express
13.
gonzalo panizo Says:
May 14th, 2010 at 2:06 pm
On my Lucid Lynx alsa-utils is under /sbin/alsa-utils, not /etc/init.d/alsa-utils
(driver version 1.0.21, library and utilities version 1.0.22)
14.
John Says:
May 15th, 2010 at 10:32 am
On my Sony VAIO VPCY115FX, these instructions worked great. /etc/init.d/alsa-utils wasn’t there, but the rest of the directions worked great. After rebooting, my sound is working. Thanks!
15.
D Lection Says:
May 16th, 2010 at 9:00 am
I received a much more basic issue when trying to update using this information. When I execute the following command:
sudo /etc/init.d/alsa-utils stop
I get “command not found”
I am new to Linux, so I did not move anything around. My upgrade from Ubuntu 9.10 to 10.04 went very smooth everything works except the sound. Makes me think some important install directories have changed locations between release 9.xx and 10.xx of Ubuntu.
Can anybody help? Is there a way to just issue some sort of apt-get command to get the latest ALSA drivers on my system?
My system is an Asus AT3N7A
16.
D Lection Says:
May 16th, 2010 at 9:47 am
I notic3ed the append above mine that stated even though the ’sudo /etc/init.d/alsa-utils stop’ command did not work his compile went aok and sound worked. So I tried the same. When I tried to build alsa-utils, I got an error saying panelw.lib not found. I tried sudo make anyway, but it stopped saying there is no makefile.
So again it seems like somethings in Ubuntu 10.04 have been moved into different places.
Any help greatly appreciated!
17.
aslam Says:
May 16th, 2010 at 3:20 pm
From comment #11 on this bug report: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/464442
In Ubuntu, you can try this using Synaptic:
- Add repository: ppa:ubuntu-audio-dev/ppa
- Reload
- Install the linux-alsa-driver-modules package corresponding to your kernel version.
e.g., I installed linux-alsa-driver-modules-2.6.32-22-generic (see my comment #7 above.) After doing this, I now see…
$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on May 15 2010 for kernel 2.6.32-22-generic (SMP).
18.
Lucien Malavard Says:
May 20th, 2010 at 9:27 pm
I followed the tutorial above. But now my Sony VPCW126AG (W series netbook) has completely no sound card detected by ALSA. Previously, with ALSA 1.021, only the internal mic did not work.
19.
Lucien Malavard Says:
May 20th, 2010 at 10:13 pm
See Comment #18 above. So now I rebooted a few times… nothing.
* Then I followed Aslam (Comment #17) and installed the linux-backports-alsa-mykernelversion-generic. (Not sure why… anyone with an explanation for this?)
* Then I reboot.
* Ran sudo alsaconf again at the terminal and now it found my soundcard.
* I also installed the GNOME alsamixer which is quite nice for controlling the input level of the mic.
So everything works beautifully now. Merci beaucoup, Stephane.
Other Discussion on This Post
1. Enquanto seu Lobo não vem – Parte II – Linux
May 4th, 2010 at 1:01 pm
2. Ubuntu 10.04 Lucid Lynx – Reinstalling ALSA | Curly Braces
May 6th, 2010 at 2:28 am
3. Sonido con: Intel 82801DB/DBL/DBM ac’97 audio (rev 03). « Ubuntu Echoes
May 17th, 2010 at 7:57 pm
Leave a Reply
Name *
Email (never shown) *
Website
Notify me of followup comments via e-mail
Live Comment Preview
Return to top
*
FRANÇAIS
My name is
Stéphane Gaudreault
Hi and welcome on my blog! The purpose of this blog is to share with you my discoveries in the world of free software as well as problems that I got with my acer aspire 6920 laptop on the ubuntu distribution. Thanks to come back! For more details, click here! RSS feed
*
Recent Posts
o Upgrade Alsa (1.0.23) on Ubuntu Lucid Lynx 10.04
o Upgrade Alsa (1.0.23) on Ubuntu Karmic Koala 9.10
o Upgrade Alsa (1.0.22.1) on Ubuntu Karmic Koala 9.10
o Upgrade Alsa (1.0.21) on Ubuntu Karmic Koala 9.10
o Upgrade Alsa (1.0.21) on Ubuntu Jaunty 9.04
o Upgrade Alsa (1.0.20) on Ubuntu Jaunty 9.04
o How to install Java on Ubuntu Jaunty 9.04
o How to install Flash 64-bit on Ubuntu Jaunty 9.04
o Upgrade Alsa (1.0.19) on Ubuntu Jaunty 9.04
o Acer Aspire 6920 – Bass not working on Ubuntu Jaunty 9.04
*
Recent Comments
o Lucien Malavard on Upgrade Alsa (1.0.23) on Ubuntu Lucid Lynx 10.04
o Lucien Malavard on Upgrade Alsa (1.0.23) on Ubuntu Lucid Lynx 10.04
o Sonido con: Intel 82801DB/DBL/DBM ac’97 audio (rev 03). « Ubuntu Echoes on Upgrade Alsa (1.0.23) on Ubuntu Lucid Lynx 10.04
o Sonido con: Intel 82801DB/DBL/DBM ac’97 audio (rev 03). « Ubuntu Echoes on Upgrade Alsa (1.0.23) on Ubuntu Karmic Koala 9.10
o aslam on Upgrade Alsa (1.0.23) on Ubuntu Lucid Lynx 10.04
*
Archives
o May 2010 (1)
o April 2010 (1)
o December 2009 (1)
o October 2009 (1)
o August 2009 (1)
o May 2009 (4)
o April 2009 (2)
o March 2009 (2)
o February 2009 (5)
*
May 2010 M T W T F S S
« Apr
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
© 2010 To a free world · Log in
Desk Space by Dirty Blue & Wordpress
Привет!
Похоже, вы зашли сюда первый раз, и еще не знаете что
такое МоёМесто.ru?
Это сервис интернет закладок. Для чего он может вам пригодится?
Здесь вы можете хранить все свои закладки
Просто
зарегистрируйтесь, установите панель
МоёМесто::Панель в свой браузер,
и вы сможете сохранить любую страницу в Интернете в один клик.
А если у вас уже есть коллекция любимых ссылок в браузере — вы можете
импортировать их в
МоеМесто.
Здесь вы можете хранить любые файлы
Картинки, фотографии, документы, музыку и даже видео — все что угодно.
500 Мегабайт дискового пространства
предоставляется бесплатно.
Время хранения файлов
не ограниченно.
Зарегистрируйтесь
прямо сейчас, и уже через несколько секунд
вы сможете хранить свои закладки в Интернете!