Upgrade Alsa (1.0.23) on Ubuntu Lucid Lynx 10.04
![]() |
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 /sbin/alsa-utils stop
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!
Related Posts
146 Comments For This Post
Other Discussion on This Post
-
Enquanto seu Lobo não vem – Parte II – Linux
May 4th, 2010 at 1:01 pm -
Ubuntu 10.04 Lucid Lynx – Reinstalling ALSA | Curly Braces
May 6th, 2010 at 2:28 am -
Sonido con: Intel 82801DB/DBL/DBM ac’97 audio (rev 03). « Ubuntu Echoes
May 17th, 2010 at 7:57 pm -
XBMC: HD networked media center: Working! « The Angry Leppy
June 12th, 2010 at 3:22 pm -
Upgrade Alsa (1.0.23) on Ubuntu Lucid Lynx 10.04 | TobaUntu
June 27th, 2010 at 9:27 pm -
Sony VAIO VPC EB1M1E and ubuntu 10.04 LTS Lucid Lynx « Breakandenter.
August 1st, 2010 at 6:41 pm -
Upgrade Alsa « U8UNTU eLXER
August 7th, 2010 at 6:38 am

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
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?
May 3rd, 2010 at 2:11 pm
I mean, 9.10 to 10.04.
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!
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 ?
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
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).
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!
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
May 11th, 2010 at 8:05 am
For Ubuntu change please “sudo make install” to “sudo checkinstall” or “sudo checkinstall -D –install=no”!
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.
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
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)
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!
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
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!
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).
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.
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.
May 22nd, 2010 at 5:15 pm
Thanks so much for this tutorial. I followed it from start to finish and now I have sound. Both the speakers and phone jack work. I’m using a Gateway laptop model MT6821.
Thanks again!!
May 26th, 2010 at 11:26 am
After following these instructions for MacBook Pro 5.3 previously available hardware device are gone. Any advice?
May 26th, 2010 at 12:09 pm
I followed post #17 and my sound on an Asus ITX Mobo with NVidia ION works like a champ. Hope this helps.
May 26th, 2010 at 4:59 pm
hey man thanks a lot for this tutorial, i am very new to ubuntu, i bought a sony vaio last week and right away formatted it and installed ubuntu 10.04, everything worked perfectly except for the audio, i had no audio. so ive been struggling with that the whole week. a couple days ago i tried this tutorial (the very first time i dealt with ubuntu codes and stuff, and i failed and reinstalled ubuntu again (i was about to install windows 7 back and return the laptop to the store) hahaha , so today i decided to give a second chance to this tutorial and pufffffff!!! magic….. my vaio sounds like new… this tutorial is magical man…. thanks again!! Peace!!!
May 26th, 2010 at 6:40 pm
Hi, thank you so much for this tutorial, after followed it I have working the sound for the speakers but unfortunately not for my headphones. Here are my info:
$ uname -a
Linux tufla-dell 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05 UTC 2010 x86_64 GNU/Linux
$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on May 21 2010 for kernel 2.6.32-22-generic (SMP).
$ lspci | grep Aud
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
02:00.1 Audio device: ATI Technologies Inc RV710/730
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ head -n 1 /proc/asound/card*/codec#*
==> /proc/asound/card0/codec#0 /proc/asound/card1/codec#0 <==
Codec: ATI R6xx HDMI
Any help would be apreciated!
May 28th, 2010 at 12:56 am
I had the same problem as some others, sudo /etc/init.d/alsa-utils stop, command not found. alsa-utils isn’t in the init.d folder. I did find it in a couple of other places, but me being the newbie I am I didn’t know which one to point it to. I’ll try Aslams advice tomorrow. The tutorial for 9.10 worked and gave me sound before upgrade. Thanks for that Stephane. Does the fact that the command isn’t found and alsa-utils isn’t in that folder mean something is out of whack?
May 28th, 2010 at 3:24 am
Aslam’s advice didn’t work for me. I just ignored sudo /etc/init.d/alsa-utils stop and went through the tutorial. It worked for me. Strangely, (or were these the problems from ignoring that command?) I had to go through the tutorial at least three times for everything to unpack, install, etc., correctly.
May 28th, 2010 at 5:46 am
This command is not realy important. You can continu the tutorial.
May 28th, 2010 at 10:04 am
hello,
i had the same problem as most of u. i couldnt upgrade to 1.0.23 (previously 1.0.22)
i followed #17 tutorial and now cat /proc/asound/version shows me 1.0.23
then i did a reboot and sudo alsaconf…
now my whole sound was dead. alsamixer doesnt find file nor directory and gnome-alsamixer is just a clean window which means my soundcard isnt found anymore. ill try to undo what if have done..
this killed my whole audio
but thx any1 4 ur effort
May 28th, 2010 at 5:38 pm
I just wonder how many people like me stopped at that command because they thought it was crucial.
I love Ubuntu! The community is awesome, so many people helping each other figure things out. It might take some searching but you’ll find the fix. I haven’t had to ask a single question. You guys rock!
May 28th, 2010 at 7:13 pm
for all the ppl who had problems with the stop command (like i did)
here is an alternative command which works:
sudo /lib/udev/alsa-utils stop
source: http://zfranciscus.wordpress.com/2010/05/06/ubuntu-10-04-lucid-lynx-reinstalling-alsa/
greetz wandang
May 29th, 2010 at 11:05 am
Hello,
When I reached the compilation and installation part of the asla driver I got the following :
patrice@ubuntu:/usr/src/alsa/alsa-driver-1.0.23$ sudo ./configure
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking for ranlib… ranlib
checking for a BSD-compatible install… /usr/bin/install -c
checking how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for ANSI C header files… yes
checking for an ANSI C-conforming const… yes
checking for inline… inline
checking whether time.h and sys/time.h may both be included… yes
checking whether gcc needs -traditional… no
checking for current directory… /usr/src/alsa/alsa-driver-1.0.23
checking cross compile…
checking for directory with ALSA kernel sources… ../alsa-kmirror
checking for directory with kernel source… Please install the package with full kernel sources for your distribution
or use –with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).
Please, can you tell me what did I do wrong ?
Thanks
May 30th, 2010 at 9:18 am
Hello and thanks for this tutorial. All went smoothly and now my mic works great using TS3. But I am having another issue now. I can’t play music and run TS3 or WoW through Wine at the same time. If the music is playing first then I don’t get any sound in game. If the game is going first then Rhythmbox will not start playing.
Is there anyway I can fix this? It was working before the upgrade. Thank you.
May 30th, 2010 at 11:25 am
think you it’s very useful for me!
June 1st, 2010 at 10:51 am
to 16. D Lection:
“Can’t upgrade alsa-utils: panelw library not found” solution:
http://trac.64studio.com/64studio/ticket/511
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
June 1st, 2010 at 12:18 pm
Max, I got my stuff working a different way, but thanks anyway very much for the solution to the panelw message. I am sure others will run into ti.
June 1st, 2010 at 6:55 pm
Thanks for this excellent walk through. worked perfectly on kubuntu 10.4
June 1st, 2010 at 6:59 pm
Actually, I’ve done everything as suggested here, and I still don’t have sound. There is one strange thing though. Even though I installed the version 1.0.23 as suggested here, “cat /proc/asound/version” command still claims that I’m have 1.0.22 installed. But alsaconfig, at the same time, is of 1.0.23 version and executed with an exclamation that everything should work now. “dmesg | grep “snd_” returns zero result. Everything is unmuted (with alsamixer). I did stop alsa before doing all the installations (with “alsa-utils stop”). No mistakes were reported during the installation. I tried doing it twice, restarting each time following installation.
I have Mac Intel Xeon computer with Ubuntu 10.04 with all the current upgrades installed in dual boot with original Mac OS X 10.6.3.
Would appreciate any help or advice.
June 2nd, 2010 at 6:59 am
I’ve always have had problems with the lack of headphones sound on my old Fujitsu Siemens Amilo Li 1705. Now, I’ve upgraded to Ubuntu 10.04 and the sound from speakers were all right but the headphone problem persisted. With your tutorial, that problem is now history. Merci beaucoup!
June 2nd, 2010 at 11:51 am
If you get this error:
$ sudo /etc/init.d/alsa-utils stop
sudo: /etc/init.d/alsa-utils: command not found
then try:
$ sudo /sbin/alsa-utils stop
Thank you for the post this solved Acer Apire 4740 integrated microphone problem on Ubuntu Lucid Lynx 10.04
June 4th, 2010 at 10:08 am
hi my friend ,
, but a friend of mine found u blog , and sent me it.
well to tell u the true , i was sick of it (ubuntu) jeje , bcs i could hear anything from my speakers
i did all u wrote in ur post letter by letter ; i have a sony vio serie E , and thanks for sharing this kinda of information.
thanks a lot !!!!
June 5th, 2010 at 9:41 am
Lovely my dear friend..
Was trying out Ubuntu 10.04 LT on my new laptop, compaq presario cq42.
The sound just would not come..
followed the steps you mentioned.. worked like a charm…
thanks for posting this !!! biiiig help!!
regards,
kudva
June 5th, 2010 at 4:33 pm
I got to “We must install the necessary tools to compile along with the Kernel headers” the second entry . It couldn’t find find Package uname – r . I am new to linux and don’t know what to do. Dan
June 6th, 2010 at 5:01 pm
WOW WOW WOW!!
From my Sony Vaio VPCEB1M1E and my Ubuntu Lucid (10.04) i confirm it works! it’s great.
I started searching people in the comments with a sony vaio, and they were lucky, its true that there is a step (for stopping the alsa-utils) i couldn’t run cos i had not this command in /etc/init.d/.
but the rest, perfect.
If someone like me needs to understand what alsa, pulseaudio, and oss are, have a look here: http://www.taringa.net/posts/linux/2191925/Audio-en-Linux-Mint-%28Guia-rapida%29-OSS,ALSA,PulseAudio.html it’s in spanish but now i have a global view of all this sound things.
Nice job!
Thank you!
June 6th, 2010 at 6:42 pm
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on Jun 7 2010 for kernel 2.6.32-22-generic-pae (SMP).
With the guidance succeeded without problems but on my x-fi as the first clay do not feel the rear channels.
The 5 +1 does not work but only work on channels ..
Thanks so much
June 9th, 2010 at 9:06 am
If you have alsa-backports installed that will interfere with a full alsa upgrade. So for those unable to get the updated version, uninstall that first and reboot before continuing.
June 9th, 2010 at 4:48 pm
Thank you for the comment about the alsa-backports! Worked like a charm after that (which is – I got version 1.0.23 installed)!
Still no sound from the motherboard and headphones on my Mac Intel Xeon with Ubuntu 10.04, dual booting with original Mac OS X 10.6.3, but at least something!
June 10th, 2010 at 12:42 am
Wow, that last backports removal was key!
Thanks!!!
June 11th, 2010 at 11:19 am
This tutorial don’t work to me.
I always got an error during installation.
However, the commentary #17 from Aslam worked on my Vaio VPC-EB17FB .
sudo add-apt-repository ppa:ubuntu-audio-dev/ppa
sudo apt-get update
sudo apt-get install linux-alsa-driver-modules-2.6.32-22-generic
Thanks!!!!
June 12th, 2010 at 12:49 pm
While I did not get any errors during this process, I no longer have an ‘/proc/asound’ directory and my driver version does not have a value in it. The lib and util report 1.0.23 but driver is blank.
June 13th, 2010 at 12:25 am
Hi, I have a Dell Studio 14 laptop and the sound wasn’t working as alsa 1.0.21 wasn’t having the driver for Realtek ALC665 codec. After compiling the alsa 1.0.23 by hand its working out of the box. I could see the alsa hda realtek patch while getting compiled so thought it must work fine. The only thing I was worrying was encountering some error while compiling. Actually this method is the best method coz if the hardware uses a codec not listed then there is a good chance it will be supported if you compile it from code. I came to know the codec only after compilation by `dmesg | grep hda`.
Thanks for the help,
Sriram.
June 15th, 2010 at 6:49 am
This solution works for me on an IBM Thinkpad X40, kernel 2.6.31-21.
Thanks for the solution,
Steino.
June 15th, 2010 at 4:41 pm
This tutorial seems a little wrong to me :
1. Dependencies are wrong to compile alsa (check the alsa readme or try sudo apt-get build-dep alsa with alsa source repository enabled)
2. Why bother to compile from /usr/src directory ? Because of that you’re forced to use ‘sudo make’ which is DEFINITELY NOT a good idea. Never make ‘sudo make’.
3. I compile alsa from my home/user and it never fails.
June 15th, 2010 at 4:51 pm
… oups …
Seems I’m wrong , dependencies are correct. Didn’t look at the right README file …
Sorry !
June 15th, 2010 at 10:06 pm
So I’ve followed this guide but no matter what I can’t seem to upgrade the driver.
After every reboot it stays at 1.0.22.1. Lib and utils are fine at 1.0.23 but the driver won’t upgrade.
make / make install completes successfully.
Any thoughts? 10.04 on a 15″ Macbook Pro, trying to get sound working.
June 15th, 2010 at 10:09 pm
All, still no audio- below is the output for my system. I’ve got an nVidia Galaxy 210 straight to the TV 1080p, happy with the video but no audio tho and after 3 days I’m tired of trolling around trying to find a solution… any ideas? I’ve got pulseaudio installed although I’ve tried without it with no luck. I’ve got the HDMI output selected in System > Pref > Sound and have tried vlc and totem, boxee, etc playing with all the diff configs for audio there too. No audio thru either card, btw.
Thanks,
adam@adam-desktop:~$ uname -a
Linux adam-desktop 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux
adam@adam-desktop:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on Jun 14 2010 for kernel 2.6.32-22-generic (SMP).
adam@adam-desktop:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
adam@adam-desktop:~$ lspci | grep Aud
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
adam@adam-desktop:~$ head -n 1 /proc/asound/card*/codec#*
==> /proc/asound/card0/codec#2 /proc/asound/card1/codec#1 <==
Codec: Nvidia GT21x HDMI
June 15th, 2010 at 10:12 pm
… something happened to the output of the that last command, here the complete output:
adam@adam-desktop:~$ head -n 1 /proc/asound/card*/codec#*
==> /proc/asound/card0/codec#2 /proc/asound/card1/codec#1 <==
Codec: Nvidia GT21x HDMI
thx again
June 15th, 2010 at 10:39 pm
Thank very much, it worked just fine even though there were a couple of errors, i got it to work on my HP G62 with intel
June 17th, 2010 at 10:51 pm
i have tried all these but still i cannot record anything i speak. Even before doing all this it was working better. and now after doing this i cant even record a single thing. The audio outputs are always fine but the input is a problem for me . Can anyone help me with this
June 18th, 2010 at 9:37 am
cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on Jun 14 2010 for kernel 2.6.32-22-generic-pae (SMP).
04:01.0 Multimedia audio controller: Creative Labs CA0106 Soundblaster
The Creative X-Fi Xtreme works well with the 5 +1 aanche als …
Thanks
June 19th, 2010 at 8:06 am
1000% for this tutorial, it worked on my SONY VIO VPCEB15FM, I had to upgrade my kernel to 2.6.32.22 and also follow comment #39 to get my sound working. thankyou all
June 21st, 2010 at 9:33 am
Thanks for the great thread!
Fixed all of my sound and mic problems. Really great written!
June 21st, 2010 at 2:57 pm
thanx
it worked well.. was so bugged up even after trying to upgrade the ALSA in ubuntu 9.10, it didn’t work then.. but now it runs perfectly fine.
thanks again
June 22nd, 2010 at 9:34 am
Hi,
the my laptop is Compaq F756LA
uname -a
Linux dIEGO-U10 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux
I followed the prodecures #39 and #17
sudo /sbin/alsa-utils stop
sudo add-apt-repository ppa:ubuntu-audio-dev/ppa
sudo apt-get update
sudo apt-get install linux-alsa-driver-modules-2.6.32-22-generic
and now the integrated mic it’s works fine
cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on May 21 2010 for kernel 2.6.32-22-generic (SMP).
thanks you
June 25th, 2010 at 11:20 pm
awesome!
I have a brand new Dell Studio 14 and tried a number of things before this to get sound working-I got nothing from the build in speakers or either headphone jack. nothing helped. But this worked perfectly! Speakers and both headphone outs work after this fix. Even cooler, one headphone out will cancel out the built in speakers, and the other one won’t, so I have lots of choice.
June 26th, 2010 at 12:00 am
Hi Stéphane,
Thank your for taking the time to write this guide, it worked like a charm for me on a Compaq Presario CQ42-136TU notebook.
I think new users should be warned about the danger of the rm -rf command! If someone adds a space between ~/alsa and * (rm -rf ~/alsa *), the result is a catastrophe!
Keep up the good work!
June 26th, 2010 at 11:11 am
Thanks, Stéphane. This is the most accomplished guide for installing alsa I’ve ever seen!
June 28th, 2010 at 6:49 am
Thanks Stephane
In Alsa ver 1.21 I had missed headphone mixer option for my brand new sony vaio netbook VPCM126AG/W with alc269 driver and so no sound from my headphones. I followed this guide step by step and i could install alsa driver and alsa lib. But while installing alsa util sudo./configure says panelw library not found. Neverthless when I restarted the system, I had alc 259 driver with headphone mixer option and because of that my head phone works.
Can someone tell me whether this change is permanent or should I redo it for next kernal update? Also how to clear panellw error.
Keep up the service.
June 29th, 2010 at 7:38 am
Thank you so much!! Now everything is perfect!!!!
June 29th, 2010 at 1:01 pm
Thanks…. Works like a charm. All i did was cut copy paste your code
but my system crashed with this sudo apt-get -y install build-essential ncurses-dev gettext xmlto libasound2-dev command. But the ugrade was smooth when i rebooted (didnt do anything thing other than that ) No i am able to hear sound in my speakers but not in my head phone. My headphone mic is working though…
June 29th, 2010 at 11:20 pm
It worked great on HP PAVILLION dv9000
Thanks so much
June 30th, 2010 at 3:23 am
Hello,
as after updating to Ubuntu 10.04 my external microphone doesn’t work anymore, I tried to update ALSA too, as in the command panel the “Capture” command is missing,
I’m tryng your very useful instructional, but I when I found the following: cd ~, rm -rf ~/alsa* ~/.pulse*, sudo cp ~/alsa*, I couldn’t go on, due to my ignorance. I guess the symbol “~” substitutes a folder address, but I can’t understand exactly which one: the one containing the ALSA 1.0.21 version? If yes, where should it be mounted?
Sorry for the bery basic question, but I really can’t solve this matter.
Thank you in advance and Regards.
Stefano Panigada
June 30th, 2010 at 5:44 am
Hi,
if you do ‘cd ~’, it will go in your home directory. Try it!
July 1st, 2010 at 5:18 am
Hello,
following your indications I could update ALSAmixer successfully; in the record monitor, finally, the “capture” option became available and I could select “microphone”, although, yesterday I was’t able to find the correct setting to make it work.
Susprise: this morning the above mentioned option isn’t present anymore, and I can’t go on trying to find the correct setting for the external microphone.
I am praying anyone who can help me, because I can’t stand this f….10.04 anymore, with bugs without solution either related to the audio options or to the booting ones (ex.having windows on a slave H.D.)
Thank you so much in advance.
Stefano
July 2nd, 2010 at 12:17 pm
This worked for perfectly me with the additions made by Max (comment 34). Onboard sound, ASUS M4A87TD EVO motherboard. Thank you!
July 3rd, 2010 at 8:36 am
Thanks, finaly my Asus Xonar DS works on Ubuntu!
July 4th, 2010 at 3:02 am
Now the sound on my Vaio VPCEA1Z1E and ubuntu 10.04 is working.
thanks for your post.
July 9th, 2010 at 5:34 am
ubuntu 10.04 LTS
Linux desktop 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 UTC 2010 x86_64 GNU/Linux
after upgrade to alsa 1.0.23 extreme loud system sound at GNOME startup has decreased to normal volume
hardware ASUS M2A74-AM
July 10th, 2010 at 8:23 am
what a foolish solution… I am half way, and it has taken over 300MB to download just to fix the sound problem!!! whereas whole ubuntu I downloaded was about 600-700MB
July 12th, 2010 at 8:03 am
what a waste of time:
laptop:~$ sudo alsaconf
sudo: alsaconf: command not found
laptop:~$
July 13th, 2010 at 10:22 pm
Thank you! I have a new Core i3 HTPC and could get HDMI audio under Windows but not under dual-boot Ubuntu 10.04. Followed your instructions and now everything is working fine (save for overscan issues on LCD TV from crappy Intel integrated graphics).
July 14th, 2010 at 12:10 am
Thank for the great instructions.
And futher thanks to those people who have a Presario CQ42 running Ubuntu 10.4 and noted their success with these instructions. It made the solution easy to locate.
An afternoon well spent on my new laptop
July 14th, 2010 at 12:46 am
This just worked for me on an HP G62 laptop with Intel sound. This was exceptionally helpful, thank you.
July 14th, 2010 at 4:18 am
Thank u thank u thank u!!!
3 weeks with no sound in Toshiba NB200,until i discover ur blog.
So,i must understand that the only problem was to upgrade alsa?
July 14th, 2010 at 1:21 pm
thanks a lot.
for month i’m struggling with my sound card and ubuntu , anyway once again thank you
July 14th, 2010 at 9:25 pm
Hola, espero que estes de acuerdo, acabo de traducir tu trabajo para los que como yo, no somos tan hábiles en inglés.
Hi, i hope you’re agree. I just translate your work, to spanish.
Thank you.
July 16th, 2010 at 1:43 am
it worked!
I have just installed my fresh copy of ubuntu 10 on my recently bought acer aspire 4740, and the predefined sound drivers doesn’t worked for mi built in mic but with this post followed step by step, my mic is working just fine!!
thanks!!
ps: although this is a thanks note, its also for easy acer aspire 4740 users troubleshooting finding.
July 17th, 2010 at 10:27 am
Great post.
Fixed my VLC setup. VLC 1.1 has fixed the AC3 passthrough over SPDIF with Alsa, however it’s only fixed on >= 1.0.23, so thanks to you i’m all fixed.
Thanks!
July 18th, 2010 at 10:22 am
This has absolutely screwed up my sound. Upgraded from .21 to .23 and now after watching youtube videos, I cannot use banshee. It just won’t play. I have to restart.
July 19th, 2010 at 11:10 am
Follwed each step and finally i had sound on my laptop (HP G72-110SD), however after restarting the selected output before resetting was altered in śtereo-dummy-output and most sounds were mute. After selecting analog stereo duplex again every thing was OK. Now I have to do this every time when I (re)start.
Is there a solution for this problem yet?
July 19th, 2010 at 7:19 pm
Worked great on my HP Compaq CQ40-411AX. Thanks much!
July 20th, 2010 at 3:28 pm
Excellent instructions, followed every step and now I have sound on my HP G72-120SD. Thanks a lot.
July 20th, 2010 at 3:37 pm
After setting the right hardware config. (analog stereo duplex) and then perform the command
‘sudo alsaconf’ the setting stays the same after rebooting, so my last problem is solved aswell.
Thanx again for the instuctions.
July 20th, 2010 at 8:41 pm
Props, Stephane. Your tut got my mic and Skype working on ubuntu 10.0.4.
It’s fun watching hundreds of lines of code fly by in the Terminal. I guess I’ll get used to it one of these days but for now it’s a hoot.
ok merci from Chicago
July 21st, 2010 at 6:11 pm
I had no sound before on the Compaq CQ42-136TU. After this, everything works beautifully. Thanks so much.
July 22nd, 2010 at 9:36 am
THank you !!!!!!!!!! It solved my bloody problem !!!!!!!
@all
here is a hint by me
before doing any of these steps in the terminal type sudo -i
enjoy !!!!!!
July 22nd, 2010 at 9:37 pm
One question:
If there is a Kernel update, I presume the driver will be lost and all the above will need to be re-done. Is that right?
July 24th, 2010 at 4:36 pm
Running Ubuntu 10.04, my Compaq CQ62 went from having working audio to one day just headphone sound, no sound through speakers! Must have been a bad update. Results of alsa-info.sh retrieved driver version of 1.0.21 but library and utilities at 1.0.22. Followed these instructions as specified and now I’m up and running with 1.0.23, speakers and headphones are all good now! Thanks for the instructions!
July 25th, 2010 at 1:22 am
Thanks a lot…
This solves the audio problems on my Sony VPCEB14EN laptop (Ubuntu 10.04).
$cat /proc/asound/pcm
00-00: ALC269 Analog : ALC269 Analog : playback 1 : capture 1
01-03: ATI HDMI : ATI HDMI : playback 1
$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on Jul 25 2010 for kernel 2.6.32-23-generic (SMP).
July 26th, 2010 at 2:42 pm
Thanks. I broke my sound trying to get bluetooth headset to work. This upgrade corrected my handywork.
July 27th, 2010 at 5:30 am
Hi all, I have Acer Aspire 4810T with builtin mic, I follow the instruction and now already to version 1.0.23 but I still can’t using my internal microphone, what to do ya? Pleaseee I need using Skype with this
July 28th, 2010 at 9:13 am
Thanks so much for the tutorial. It did it !!!!!!
July 29th, 2010 at 6:54 pm
merci infiniment. gatineau, quebec, canada
July 29th, 2010 at 7:18 pm
I try and download wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.23.tar.bz2 and I keep on being denied permission to download it. I downloaded the other two with no issues. I’m now stuck. Can anyone help me?
alsa-utils-1.0.23.tar.bz2.2: Permission denied
July 30th, 2010 at 3:21 am
Thank you so very much for this. It fixed the audio problems with my Compaq Presario CQ42.
July 31st, 2010 at 4:50 am
Thank you for user-friendly help. Works! After 2 days of searching on the web i finally found your help and my troubles are gone
July 31st, 2010 at 3:10 pm
Thanks a ton.. helped a lot…
August 3rd, 2010 at 5:38 pm
I have to say I’m another satisfied customer. I have a Sony Vaio VPCEB25FX that I can now listen to things on thanks to these instructions.
August 4th, 2010 at 12:51 am
i own a sony vaio VPCEB14EN, i just install ubuntu lucid 10.04 and was struggling with audio problems.
This article helped me a lot, thanks a ton.
August 4th, 2010 at 4:34 am
I had a problem with my built-in microphone, it’s not listed like in mixers like other notebooks that have “anologue microphone 1 / 2 …”, I had only Analogue microphone (that works only with external mic), anlogue line-in and analogue input. So I updated drivers according to this guide, but nothing change….why my built-in microphone is not listed by mixer, is not view at all?
Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02), Packard Bell EasyNote MX67-P-023, Adi1986a
August 6th, 2010 at 9:20 am
Hello,
I use this solution It’s worked for me!
Bu this day after the ubuntu 10.04 update (daily update) sound is gone.
Now ubuntu now see the sound card.
How can I solve this issue, or how to diagnosis the problem.
Thanks,
August 6th, 2010 at 10:54 am
Hello,
I mean not see sound card.
August 6th, 2010 at 8:35 pm
I found the problem Alsa 1.0.23 is not working with the Kernel 2.6.32.24 now I am using the 2.6.32.23 the sound is back to normal now!
August 7th, 2010 at 3:08 am
This morning…I installed latest system updates through the update manager and sound was muted, no sound card installed, so I had to re-install these alsa drivers to make it work again…. Will this happen every time there’s a system update?
August 8th, 2010 at 3:12 pm
This is great. This could solve the sound problem of my laptop HP G62-144dx. Million thanks to Stéphane Gaudreault. Some day, I will go in Paris.
August 12th, 2010 at 11:55 am
wouldn’t it be simpler to run a batch file as we used to do in dos? i would guess unix has something like that. don’t think microsoft invented the batch file. they stole everything else.
August 12th, 2010 at 12:57 pm
hp g62 and me like this post! now my internal speakears work! thanks!
August 13th, 2010 at 1:47 pm
Thanks a bunch!
August 14th, 2010 at 7:16 am
oh!! thenks a lot!!
August 14th, 2010 at 10:16 am
when i gave the command to the terminal for configure and install alsa-util i faced terthis probelem
configure: error: panelw library not found
after command : sudo ./configure
August 14th, 2010 at 10:16 am
plz suggest the solution of this probelem as soon as possible……
August 16th, 2010 at 12:52 am
Thanks a ton, I just installed Ubuntu 10.04 last night and I had been reading about the sound not working properly on the Toshiba NB205-N310BN. Well this fixed it without even any problems. So again, I greatly appreciate this guide.
August 16th, 2010 at 3:21 pm
Thanks a lot, it worked great for me ! Explanations were simple, I just had to copy your commands and hop, it worked when I restart my computer !!! So really thanks !
August 16th, 2010 at 3:25 pm
It’s me again.
, and it was after an upgrade).
Just for others who have the same problem with the same computer : I have a Sony Vaio VPCEB1E8E and I just installed Ubuntu with Wubi.
Last year, I used to have Ubuntu as well on another computer, but I never got trouble with sound (apart from being disconnected from the Internet when I modified the sound, but I found a trick to solve it too
So thanks again for posting this solution
August 17th, 2010 at 9:10 am
Worked for me too … realtek ALC259
Thanks for the great tutorial .
Marco
August 17th, 2010 at 11:35 am
Upgraded ALSA drivers are now available in pre-packaged form, too. The package you want is linux-backports-modules-alsa-XXX, where XXX depends on what kernel you’re running.
August 17th, 2010 at 2:45 pm
cant understand why we get a brand new Version of UBUNTU 10.04 whit always the same old problems of audio configurations…
I love to use Linux but it scares me as a new Ubuntu user to handle problems like this!
But thankś great job, it works fine…
August 18th, 2010 at 8:31 am
Unfortunately it didn’t work for me, although, I’m using Debian here.
I got this working when installing through Synaptic the package module-assistant.
Then running it : execute update >> prepare >> select (alsa)
It does the hard work. Everything fine now !!!
August 20th, 2010 at 5:51 pm
This worked wonderfully for me but had one odd side effect. I couldn’t see the title bars in my windows after rebooting. I’m using Emerald Theme Manager. So I used compiz fusion icon and deselected Emerald as the theme manager and reselected it. Then everything worked fine.
thanks so much for this information, I no longer have to wear my headphones. Awesome.
August 21st, 2010 at 12:51 am
thanks a lot!! finally i can play music on my hp g62!! well done!!
August 21st, 2010 at 12:33 pm
Thx for the tutorial. It worked great the first time on my hp g62. Unfortunately, after a kernel upgrade, I was back to version *.21. I tried what was suggested on post #17, and it upgrade to ver .23 again, but I had no sound(!!). So I completed the whole thing again, and the sound is back.
My question is: Will I have to go through this at every kernel upgrade? If so, Can I stick every command into a *.sh file ?
August 24th, 2010 at 11:42 pm
Thank you very much! I was in trouble with my AMD64 after the upgrade to kernel 2.6.32-24 and following your guide after part of the https://help.ubuntu.com/community/SoundTroubleshooting SoundTroubleshooting tutorial did the trick.
Anyway, thank you for your very useful contribution.
August 25th, 2010 at 7:59 am
Ubuntu Lucid Lynx 10.04 i upgrade to the alsa 1.0.23 on my lenovo G555 laptop
Before the upgrade ear phones worked but did not mute main speakers
No ear phones don’t work at all.
I would like to use ear phones and turn off main speakers on occasions.
I need a fix
August 25th, 2010 at 8:37 am
Machine is a Lenovo G555. One reason updated to 10.0.23 was the hope than my earphone would mute my speakers when plugged in . Unfortunately ear phones now do not work at all. I need a fix. I need to listen to earphones only, on occasion.
August 25th, 2010 at 10:03 am
Hi Stéphane,
Thank you for this Tutorial:)
All my Applications will be run without problems…
I have your Tutorial translated to German and posted in my Blog.
Greetings from Germany;)
Lupopa…
You find my Blog here: http://www.lupopa.de/wordpress/
I Hope this is okay, thank you
August 25th, 2010 at 11:41 am
Hi Step, Thanks a lot.
I used this to get my USB webcam microphone working, it now works like a dream.
For those with same problem, the webcam is Philips SPC620NC.
Again thanks to Stephane
August 25th, 2010 at 11:44 am
Ohh – by the way the computer is Lenovo X201 laptop … and thats great stuff too .-)
The computer has buildin webcam also, but i use seperate monitor/keyboard and webcam.
August 25th, 2010 at 2:20 pm
Very nice post!Just what I was looking for…and could not find elsewhere.
This solved my audio problems (no sound..) on my COMPAQ Mini CQ10-410SF netbook (AtomN450 processor, & Intel N10/ICH7 Audio device) running Ubuntu 10.04 (2-6-32.24 generic kernel).
Just for the record, the “sudo alsaconf” in terminal gives “command not found”.
Thanks a lot Stephane.
August 30th, 2010 at 1:02 pm
Worked like a charm on my VAIO F11S1E. You the man!
August 30th, 2010 at 6:54 pm
sweet!. finally got my lenovo g555 work as it should. This is Great!
August 30th, 2010 at 8:04 pm
well i spock too soon. if i add the line options snd-hda-intel model=thinkpad to the alsa base conf file then the eapones mute the speakers properly but can’t fine the mic(s) on the mixer. if i live line 41 off then mic work but eaphones don’t mute the speakers. xunbuntu/g555 lenovo
August 30th, 2010 at 9:22 pm
well i spoke too soon. if i add the line options snd-hda-intel model=thinkpad to the alsa base conf file then the eapones mute the speakers properly but can’t fine the mic(s) on the mixer. if i live line 41 off then mic work but eaphones don’t mute the speakers. xunbuntu/g555 lenovo
September 1st, 2010 at 12:53 pm
Works like a charm… one question… how do I keep the package manager from re-installing 1.0.21 over 1.0.23 again and again and again?
September 4th, 2010 at 9:29 am
Good question, I’d like to know that too.
September 6th, 2010 at 1:01 am
excellent! it works for my Toshiba Satellite. Thnx
September 6th, 2010 at 8:47 am
Ok, adding the repository fixed the kernel upgrade problem. Thx for the tutorial!
September 7th, 2010 at 7:45 am
@Sassinak
What repository did you add to fix the Kernel upgrade problem? Thanks