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 /sbin/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!

Related Posts

 

307 Comments For This Post

  1. Georg Says:

    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:

    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:

    I mean, 9.10 to 10.04.

  4. William Says:

    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:

    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:

    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:

    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:

    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:

    Thanks a lot for your tutorial. Worked great on a vaio VPCEB17FL, no problems at all. Sound is very good

  10. axt Says:

    For Ubuntu change please “sudo make install” to “sudo checkinstall” or “sudo checkinstall -D –install=no”!

  11. aslam Says:

    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:

    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:

    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:

    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:

    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:

    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:

    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:

    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:

    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.

  20. Roy Williams Says:

    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!!

  21. Peter Says:

    After following these instructions for MacBook Pro 5.3 previously available hardware device are gone. Any advice?

  22. David Lection Says:

    I followed post #17 and my sound on an Asus ITX Mobo with NVidia ION works like a champ. Hope this helps.

  23. LegionDR Says:

    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!!!

  24. Tufla Says:

    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!

  25. Satansnewslacks Says:

    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?

  26. Satansnewslacks Says:

    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.

  27. alpho2k Says:

    This command is not realy important. You can continu the tutorial.

  28. wandang Says:

    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

  29. Satansnewslacks Says:

    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!

  30. wandang Says:

    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

  31. lerpa Says:

    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

  32. Jazzy_Jeff Says:

    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.

  33. myth Says:

    think you it’s very useful for me!

  34. Max Says:

    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

  35. David Lection Says:

    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.

  36. Kerry Says:

    Thanks for this excellent walk through. worked perfectly on kubuntu 10.4

  37. Max Says:

    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.

  38. Alin Says:

    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!

  39. xassembler Says:

    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

  40. Gabriel Says:

    hi my friend ,
    well to tell u the true , i was sick of it (ubuntu) jeje , bcs i could hear anything from my speakers :( , but a friend of mine found u blog , and sent me it.
    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 !!!!

  41. kudva Says:

    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

  42. Dan Bender Says:

    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

  43. Pedro Martín Says:

    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!

  44. Alfio Says:

    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

  45. lidex Says:

    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.

  46. Max Says:

    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!

  47. Steven Evans Says:

    Wow, that last backports removal was key!
    Thanks!!!

  48. Alexandre Says:

    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!!!!

  49. chickenSandwich Says:

    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.

  50. Sriram Says:

    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.

  51. steino Says:

    This solution works for me on an IBM Thinkpad X40, kernel 2.6.31-21.

    Thanks for the solution,
    Steino.

  52. didli Says:

    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.

  53. didli Says:

    … oups …
    Seems I’m wrong , dependencies are correct. Didn’t look at the right README file …
    Sorry !

  54. jobo Says:

    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.

  55. Adam Says:

    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

  56. Adam Says:

    … 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

  57. Michael P Says:

    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

  58. gajendran Says:

    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

  59. Alfio Says:

    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

  60. duke26 Says:

    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

  61. apochry Says:

    Thanks for the great thread!
    Fixed all of my sound and mic problems. Really great written!

  62. alaknanda Says:

    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 :)

  63. Diego Says:

    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

  64. Matt Says:

    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.

  65. go2linuxgo Says:

    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!

  66. foldedwings Says:

    Thanks, Stéphane. This is the most accomplished guide for installing alsa I’ve ever seen!

  67. Srinivasan Says:

    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.

  68. M Says:

    Thank you so much!! Now everything is perfect!!!!

  69. Prasana Says:

    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…

  70. Tenochslb Says:

    It worked great on HP PAVILLION dv9000
    Thanks so much

  71. Stefano Says:

    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

  72. alpho2k Says:

    Hi,

    if you do ‘cd ~’, it will go in your home directory. Try it!

  73. Stefano Says:

    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

  74. J Says:

    This worked for perfectly me with the additions made by Max (comment 34). Onboard sound, ASUS M4A87TD EVO motherboard. Thank you!

  75. Yuriy Says:

    Thanks, finaly my Asus Xonar DS works on Ubuntu!

  76. vaio Says:

    Now the sound on my Vaio VPCEA1Z1E and ubuntu 10.04 is working.
    thanks for your post.

  77. Wolfgang Says:

    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

  78. shisha Says:

    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

  79. tom ulcak Says:

    what a waste of time:

    laptop:~$ sudo alsaconf
    sudo: alsaconf: command not found
    laptop:~$

  80. GotoDengo Says:

    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).

  81. Rob Tucker Says:

    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 :)

  82. Cringer Says:

    This just worked for me on an HP G62 laptop with Intel sound. This was exceptionally helpful, thank you.

  83. isra Says:

    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?

  84. gokul Says:

    thanks a lot.
    for month i’m struggling with my sound card and ubuntu , anyway once again thank you

  85. danielmato Says:

    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.

  86. afsuarez Says:

    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.

  87. Dean Thomas Says:

    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!

  88. TheFunkbomb Says:

    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.

  89. gerco Says:

    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?

  90. Matthew Holland Says:

    Worked great on my HP Compaq CQ40-411AX. Thanks much!

  91. William Kane Says:

    Excellent instructions, followed every step and now I have sound on my HP G72-120SD. Thanks a lot.

  92. gerco Says:

    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.

  93. Barry Says:

    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

  94. Cliff Says:

    I had no sound before on the Compaq CQ42-136TU. After this, everything works beautifully. Thanks so much.

  95. w4r3zh4ck Says:

    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 !!!!!!

  96. Cliff Says:

    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?

  97. Champ Says:

    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!

  98. Sunil Mekathotti Says:

    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).

  99. martyn collins Says:

    Thanks. I broke my sound trying to get bluetooth headset to work. This upgrade corrected my handywork.

  100. Sony AK Says:

    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 :)

  101. Marcos Says:

    Thanks so much for the tutorial. It did it !!!!!!

  102. stef Says:

    merci infiniment. gatineau, quebec, canada

  103. Zach Says:

    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

  104. Gautam John Says:

    Thank you so very much for this. It fixed the audio problems with my Compaq Presario CQ42.

  105. petr Says:

    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 :-)

  106. Navneet Basutkar Says:

    Thanks a ton.. helped a lot…

  107. Dean Says:

    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.

  108. punit Says:

    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.

  109. titomax Says:

    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

  110. Batuhan Says:

    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,

  111. Batuhan Says:

    Hello,

    I mean not see sound card.

  112. Batuhan Says:

    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!

  113. titomax Says:

    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?

  114. RaphG Says:

    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.

  115. brad ganson Says:

    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.

  116. albert Says:

    hp g62 and me like this post! now my internal speakears work! thanks!

  117. Jojm Says:

    Thanks a bunch!

  118. laimite Says:

    oh!! thenks a lot!!

  119. shivam Says:

    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

  120. shivam Says:

    plz suggest the solution of this probelem as soon as possible……

  121. Steven Says:

    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.

  122. Lydie Says:

    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 !

  123. Lydie Says:

    It’s me again.
    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 ;-) , and it was after an upgrade).

    So thanks again for posting this solution ;-)

  124. marco Says:

    Worked for me too … realtek ALC259
    Thanks for the great tutorial .

    Marco

  125. Eric Anderson Says:

    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.

  126. psyquizlabor Says:

    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…

  127. Paulo Henrique Says:

    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 !!!

  128. Mark Says:

    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.

  129. junpeace Says:

    thanks a lot!! finally i can play music on my hp g62!! well done!!

  130. Sassinak Says:

    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 ?

  131. Rodrigo Duran Says:

    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.

  132. Geo Says:

    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

  133. Geo Says:

    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.

  134. Lupopa Says:

    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

  135. Tor Says:

    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

  136. Tor Says:

    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.

  137. Lionel/F92400 Says:

    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.

  138. Slavo Says:

    Worked like a charm on my VAIO F11S1E. You the man!

  139. geadamson Says:

    sweet!. finally got my lenovo g555 work as it should. This is Great!

  140. geadamson Says:

    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

  141. geadamson Says:

    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

  142. Derrick Says:

    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?

  143. RaphG Says:

    Good question, I’d like to know that too.

  144. artjack Says:

    excellent! it works for my Toshiba Satellite. Thnx

  145. Sassinak Says:

    Ok, adding the repository fixed the kernel upgrade problem. Thx for the tutorial!

  146. Cliff Says:

    @Sassinak
    What repository did you add to fix the Kernel upgrade problem? Thanks

  147. Juankof Says:

    Gracias funciono perfecto en mi portatil Acer Aspire 4736 Ubuntu 10.04 pues no le servia el microfono integrado y ahora sirve GRACIAS

  148. Andre Says:

    Thanks for this article. I had a sound problem with my Sony Vaio laptop (sound simply didn’t work Ubuntu 10.04) and after I followed your steps and upgraded alsa to 1.0.23 it worked as soon as I rebooted.

  149. la cónica Says:

    It worked wonderfully on my Shuttle X.
    Merci beaucoup!

  150. Iconoblast Says:

    After several months finally someone who brought something that actually worked :)
    The only thing was that the “make” at the end there didn’t do anything, but the sound works all the same.
    Thank you very much for the effort. :D

    PS: Seemed like many command-lines had to be done individually in the terminal, or else the process got messed up.

  151. Iconoblast Says:

    Oh, and maybe I should mention that I have an Asus Xonar DS soundcard, maybe now someone else in need can find this info a bit easier hehe.

  152. Chris Says:

    YES!! I’ve been I’ve had no mic input since I upgraded to 10.04 a few months ago. You saved my life/sanity!!!

  153. ED Says:

    Very clear indications. Thanks!

  154. Michael Goshorn Says:

    Thanks Stéphane,

    Running Lucid 10.04 on HPG62 and your upgrade provided sound through the laptop speakers for the first time since installing Linux.
    Thanks for you work and for providing such clear and detailed instructions for installation.

  155. Marrea Says:

    Like Michael Goshorn I too am running Ubuntu 10.04 on an HP G62 laptop and had no sound through the speakers (although it was OK through the headphone socket). These beautifully clear instructions solved the problem for me. Many, many thanks.

  156. newbie Says:

    I had the E series of Sony Vaio and there was no sound after Ubuntu lucid lynx installation. I am a newbie to linux and this tutorial helped me get back the sound.. and it is awesome !!
    Thanks a lot !!

  157. Justin Says:

    Having a little trouble.
    When I type in ” sudo rm -rf /usr/src/alsa
    sudo mkdir -p /usr/src/alsa
    cd /usr/src/alsa
    sudo cp ~/alsa* “, I get “/usr/src/alsa$ sudo cp ~/alsa*
    cp: target `/home/girls/alsa-utils-1.0.23.tar.bz2′ is not a directory”
    What can I do to rectify this problem?

  158. User blues Says:

    This upgrade is not what fixed my sound. Try sudo apt-get purge alsa-base and then reinstall it, via sudo apt-get install ubuntu-desktop

    These above compile instructions fail; at making the alsa-utilities. If you have also had this fail, I think purging alsa-base, cleans it up.

    Correction and/or verifications are welcome.

    Bottom line is, it’s no where near this difficult, folks (dear newbies). If you are testing, that’s a different matter.

  159. CFW Says:

    Thank you so much for this info. Following the exact instructions has brought my sound back from the dead. thank you again

  160. Luca Says:

    I have also upgraded 8.o4 to 10.04.
    I have no sound with HDA intel in HPPavillon 6000
    Thanks to this post I was able to fix almost all of my audio problems!

    Mèrci’

  161. Cliff Says:

    @Justin

    it should be
    sudo cp ~/alsa* .
    with a dot.
    Do not type.
    Copy and paste.

  162. an7on Says:

    Thank you, maaaan!!!!!!! Good job! I like your explanations!
    It works well!

  163. Linsystem Says:

    Thanks perfect !!!!
    my ubuntu 10.04 sound is ready.

  164. Red Ronin Says:

    At first I thought my sound had disappeared due to a recent upgrade to of my graphics driver… But then I remembered attempting to add OSS functionality to Ubuntu 10.04 the night before. Once I rebooted my system the graphics were messed up and sound no longer worked. Both were fine at first, so I guess I should not have attempted an upgrade at all, eh?

    Anyhow, before the upgrade ALSA saw both the integrated audio of my motherboard (nForce 2, primary) and the HDMI audio output of the graphics card (not used). Now? Nothing. No audio devices at all shown in the “Choose a device to configure” dialog on the Hardware tab of Sound Preferences. Instead all I see is the friendly neighborhood useless “Dummy Output Stereo” indicated in the Output tab.

    I went through your entire tutorial above and had a few of issues:

    – The ‘cat /proc/asound/version’ command didn’t work either at the beginning or the end of the tutorial. Each time I got an error that read “cat: /proc/asound/version: No such file or directory”.

    – I ran the program ‘sudo alsaconf’ and it seemed to be fine, allowing me to choose “intel8x0 – nVidia Corporation MCP2S AC’97′ Au”, and yielding the output “Now ALSA is ready to use. For adjustment of volumes, use your favorite mixer. Have a lot of fun!” Still though, I have no audio at all, even after reboot.

    – I have restarted my computer twice since I finished the tutorial and Synaptic Package Manager indicates all of the installed ALSA components remain as part of the version 1.0.22 variety (alsa-tools, alsa-tools-gui, alsa-utils, libasound2-plugins, libasound2, libasound2-dev, alsa-base & linux-sound-base).

    – Neither ‘alsamixer’ nor ‘alsamixergui’ run at all.

    There was a notation about audio being muted by default in ALSA. But with no audio devices detected at all, I’m not sure what is going on. Can you help?

    Thanks,

    Red Ronin

  165. Sebastian Says:

    I think this is the problem with the above script, this is what i did and it worked for me.
    Exellent tutorial by the way

    Go to http://www.alsa-project.org/main/index.php/Main_Page

    and dowload alsa-utils-1.0.23 to /usr/src/alsa

    and than for steps above

    We compile and install alsa-driver :

    cd /usr/src/alsa/alsa-driver-1.0.23
    sudo ./configure
    sudo make
    sudo make install

    We compile and install alsa-lib :

    cd /usr/src/alsa/alsa-lib-1.0.23
    sudo ./configure
    sudo make
    sudo make install

    We compile and install alsa-utils :

    cd /usr/src/alsa/alsa-utils-1.0.23
    sudo ./configure
    sudo make
    sudo make install

  166. Red Ronin Says:

    OK, after yet another reboot, I still have no audio at all.

    I took a peek at System > Administration > Log File Viewer and found a bazillion entries of the following:

    pulseaudio[11623]: module.c: Failed to load module “module-esound-protocol-unix” (argument: “”): initialization failed.
    pulseaudio[11623]: main.c: Module load failed.
    pulseaudio[11623]: main.c: Failed to initialize daemon.

    The problem file is apparently located here:

    /usr/lib/pulse-0.9.22/modules/module-esound-protocol-unix.so

    Synaptic Package Manager says I have version 0.2.41-6ubuntu1 installed for both:

    esound-clients
    Enlightened Sound Daemon – clients
    – Utilities that control and interact with the Enlightened Sound Daemon.

    esound-common
    Enlightened Sound Daemon – Common files
    – This program is designed to mix together several digitized audio streams for playback by a single device.
    – This package contains the documentation and configuration files.

    There is another item that is apparently available in two versions:

    pulseaudio-esound-compat
    PulseAudio ESD compatibility layer
    – PulseAudio, previously known as Polypaudio, is a sound server for POSIX and WIN32 systems. It is a drop in replacement for the ESD sound server with much better latency, mixing/re-sampling quality and overall architecture.
    – This package contains the ESD compatibility components and enables a PulseAudio sound server to fully replace ESD.

    Installed = 1:09.22~git20100719-0ubuntu1~10.04~ricotz1 (lucid)
    Available = 1:09.22~0.9.21+stable-queue-32-g8478-0ubuntu14 (lucid)

    Any ideas as to what is going on wrong here?

    Wait… I came across something else in the logs that was rather interesting:

    nforce-installer log file ‘/var/log/nvidia-nforce-installer.log’
    creation time: Wed Sep 22 21:07:40 2010

    Using: nvidia-installer ncurses user interface
    -> Found package NVIDIA network driver for Linux-x86
    -> Found package NVIDIA audio driver for Linux-x86
    -> Please select packages for installation:
    Selections:
    NVIDIA audio driver for Linux-x86 (1.0-0)
    -> Starting install of NVIDIA audio driver for Linux-x86
    -> Checking for loaded module nvsound
    -> Checking for loaded module nvaudio
    -> License accepted.
    -> Skipping check for conflicting rpms.
    -> /proc/version is Linux version 2.6.32-24-generic (buildd@palmer) (gcc
    version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #43-Ubuntu SMP Thu Sep 16 14:17:33
    UTC 2010
    -> No precompiled kernel interface was found to match your kernel; this means
    that the installer will need to compile a new kernel interface.

    make[3]: *** [/tmp/selfgz3385/NFORCE-Linux-x86-1.0-0283-pkg1/nvsound/main/nv
    alinux.o] Error 1
    make[2]: *** [_module_/tmp/selfgz3385/NFORCE-Linux-x86-1.0-0283-pkg1/nvsound
    /main] Error 2
    -> Error.
    ERROR: The NVIDIA kernel module was not created.
    ERROR: Installation of the audio driver has failed. Please see the file
    ‘/var/log/nvidia-nforce-installer.log’ for details. You may find
    suggestions on fixing installation problems in the README available on
    the Linux driver download page at http://www.nvidia.com.

    I skipped some of the details from that particular log… So maybe nVidia was responsible for the audio problems I’me experiencing, due to a failed kernel update for the audio driver on my system?

    Thanks!

    Red Ronin

  167. Red Ronin Says:

    I found the following at the nVidia Knowledge Base:

    Linux – Error when compiling the NVIDIA kernal module

    QUESTION

    Compiling the NVIDIA kernel module gives this error:

    You appear to be compiling the NVIDIA kernel module with
    a compiler different from the one that was used to compile
    the running kernel. This may be perfectly fine, but there
    are cases where this can lead to unexpected behaviour and
    system crashes.

    If you know what you are doing and want to override this
    check, you can do so by setting IGNORE_CC_MISMATCH.

    In any other case, set the CC environment variable to the
    name of the compiler that was used to compile the kernel.

    ANSWER

    You should compile the NVIDIA kernel module with the same compiler
    version that was used to compile your kernel. Some Linux kernel data
    structures are dependent on the version of gcc used to compile it;
    for example, in include/linux/spinlock.h:


    * Most gcc versions have a nasty bug with empty initializers.
    */
    #if (__GNUC__ > 2)
    typedef struct { } rwlock_t;
    #define RW_LOCK_UNLOCKED (rwlock_t) { }
    #else
    typedef struct { int gcc_is_buggy; } rwlock_t;
    #define RW_LOCK_UNLOCKED (rwlock_t) { 0 }
    #endif

    If the kernel is compiled with gcc 2.x, but gcc 3.x is used when the
    kernel interface is compiled (or vice versa), the size of rwlock_t
    will vary, and things like ioremap will fail.

    To check what version of gcc was used to compile your kernel, you
    can examine the output of:

    cat /proc/version

    I get this result as the compiler version:

    Linux version 2.6.32-24-generic (buildd@palmer) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010

    To check what version of gcc is currently in your $PATH, you can
    examine the output of:

    gcc -v

    And this is what is shown for my $PATH:

    Using built-in specs.
    Target: i486-linux-gnu
    Configured with: ../src/configure -v –with-pkgversion=’Ubuntu 4.4.3-4ubuntu5′ –with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs –enable-languages=c,c++,fortran,objc,obj-c++ –prefix=/usr –enable-shared –enable-multiarch –enable-linker-build-id –with-system-zlib –libexecdir=/usr/lib –without-included-gettext –enable-threads=posix –with-gxx-include-dir=/usr/include/c++/4.4 –program-suffix=-4.4 –enable-nls –enable-clocale=gnu –enable-libstdcxx-debug –enable-plugin –enable-objc-gc –enable-targets=all –disable-werror –with-arch-32=i486 –with-tune=generic –enable-checking=release –build=i486-linux-gnu –host=i486-linux-gnu –target=i486-linux-gnu
    Thread model: posix
    gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)

    This makes me feel as if I may well be on the right path to finding a resolution. I remind you once more that I am an absolute newbie to Linux though… Can someone tell me where and how to actually use this information?

    Thanks!

    Red Ronin

  168. George Adamson Says:

    I am running xubuntu 10.04, on a Lenovo g555, up graded to Alsa 1..0.23 a few weeks back in an effort to get my ear phone plug to mute my speakers. It did that for a couple days, however my inboard mic stopped work, After a few days the ear phone stopped muting the speakers, i did not recover the lenovo mic function. cat /proc/asound/version says i still have 1.0.23 I have tried running the up grade script again but It won’t let me complete the process.

    think this may have something to do with it: geo@geo-laptop:/usr/src/alsa$ sudo cp ~/alsa*
    cp: target `/home/geo/alsa-utils-1.0.23.tar.bz2′ is not a directory

    any ideas?

  169. Andrew Says:

    Merci bien, worked like a charm here (Lucid Lynx 10.04) :)

  170. George Adamson Says:

    i found my problem. the only issue left is getting the on board (internal ) mike to work. I get the same results using thinkpad, or idea pad on the last line of the alsa-base.conf file

  171. Simon Says:

    Merci beaucoup, worked at once. Everything fixed!

  172. inverlynx Says:

    I have Ubuntu 10.04 32 bits HP dv6647cl
    I was able to fix my audio, Thank you!

  173. Joshua Says:

    I am new to Linux and have no freaking clue what I did, but it worked!!! Got good sound on my T215D-S1150 (which is a kickass computer now) Thanks so much, you rock.

  174. Samuel Vas Says:

    Bom trabalho!!

    Grato!

    Great job!!

    Thanks!

  175. Nicolaary Says:

    Hi,
    great howto!

    I have successfully installed the drivers but the terrible rec noise is still there…
    I am using Kubuntu Lucid on a Acer TimelineX 4820TG…

    Unfortunatelt the microphone issue is really the last one :-)

    http://ubuntuforums.org/showthread.php?p=9928745#post9928745

  176. Rayj Says:

    I had by “compile and install alsa-utils” following message
    »checking for new_panel in -lpanelw… no
    »configure: error: panelw library not found
    »etc….
    and found under what to do
    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
    and thenafter all things went ok in “alsa-utils”
    Thanks

  177. Charlie Says:

    Worked great!
    Thank you very much.

  178. santosh Says:

    awesome linux rocks, the sounds better than my windows 7, ihave bose desktop speakers i am really enjoying it thank you once again very very much

  179. Saurabh Says:

    saurabh@saurabh-desktop:/usr/src/alsa$ sudo cp ~/alsa*
    cp: target `/home/saurabh/alsa-utils-1.0.23.tar.bz2′ is not a directory

    Everything goes downhill from here. Atleast tell me how to restore everything to 1.21.

  180. Saurabh Says:

    I realised I am not putting that “.” after the command. Issue has been resolved. Thanks.

  181. kamikaze Says:

    thanks…alot….. muach……

  182. Beat Hartmann Says:

    On Ubuntu 10.10 your script does not work any more with snd-hda-intel. Effect: no sound any more at all. Seems to be a problem with the kernel sources. Result: “snd-hrtimer.ko”, snd-page-alloc.ko”, “snd-pcm.ko”, “snd-ramwidi.ko”, snd-timer.ko” and “snd.ko” are not existing in the modules of the kernel 2.6.35-22-generic. So could you please write a new script for Ubuntu 10.10? Thanks a lot.

  183. alpho2k Says:

    Ubuntu 10.10 is already coming with the last version of asla (1.0.23), so, why do you want to upgrade?

  184. Beat Hartmann Says:

    I wanted to upgrade alsa because after upgrading from 10.04 to 10.10 sound didn’t work properly any more (different issues). Most of the functionalities of my sound-card were not supported any more. Up to now this script always helped.

  185. Beat Hartmann Says:

    My sound-card is a Realtek ALC 662 rev.1. Up to now no Ubuntu could handle it out of the box.

  186. Jomy Abraham Says:

    Great link..

    It helpded me to configure the sound on Dell Studio 14 , i7 based laptop. I am using Ubuntu 10.04

    Thanks a Lot !!!!

    Regards
    Jomy Abraham

  187. afp_sch Says:

    Hello,

    How i can prevent the upgrade for this package because when i make the upgrade i lost my sound again and i have to configure all again.

    Thaks!!

  188. Red Ronin Says:

    OK, thanks for the help! Ultimately I fixed the issue by doing a clean install of Ubuntu 10.10 the other day. I think that I messed up the audio on my system myself by installing some old OSS items that should not have been on it.

    Thanks!

    Red Ronin

  189. franck Says:

    hey,
    I upgrated ALSA on my sony and evere thing went fine.

    then after some days i lost a again the sound, no more sound!!

    do i need to upgrade again? or what to do?

    thank u

  190. amar Says:

    hi,
    i have sony vaio vpceb36fg, rescently i installed ubuntu 10.04, to solve sound problem i updated alsa to 1.0.23 then my sound problem is solved.

    i m connected through wifi network with two windows systems, to share files with them i installed samba but now my sound has gone, my sound driver version is still alsa 1.0.23

    any solution
    im new to ubuntu.

  191. jury Says:

    THANKS a lot for this article, upgrading from version 21 to 23 helped with my sound problems !!!

  192. Tom Says:

    WoooHooo, that is the first time i have ever compiled something. You made it sooo easy with just copy&paste and it all worked!
    The original problem was a missing speaker icon on the top taskbar/panel and it hasn’t been fixed but at least this part all worked fine :)
    Many regards from
    Tom :)

  193. Soumen Says:

    Hello,

    output of lspci :
    ——–
    - – - – - – - -
    00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
    - – - – - – - – -
    – - – - – - – - -
    01:00.1 Audio device: ATI Technologies Inc RV710/730
    – - – - – - – - -

    The sound card I am using is built-in in DG35 EC. Operating System Installed : Ubuntu 10.04 LTS
    One ATI Radeon HD4600 Series Graphics card is installed in the same machine for graphics.

    No sound I am getting.

    I am in deep trouble.

    Please suggest me what can I do .

  194. lodewijk Says:

    Hello,

    I tried this but it doesn’t work.
    I’ve got a problem typing the line “sudo cp ~/alsa* .”
    the terminal replies then:
    can’t ask the status of /home/lodewijk/alsa* it doesn.t excist

    who can help, I am a beginner with this.

    lodewijk

  195. tuovi Says:

    It did not solve my problem: internal microphone and microphone jack are not working at all. This is a regression in Ubuntu 10.04.

    !!Loaded ALSA modules:
    snd_intel8x0
    Intel ICH6 with ALC655
    !!PCI Soundcards installed in the system
    00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC’97 Audio Controller (rev 03)
    PCI Subsys Vendor: 0×1025
    PCI Subsys Device: 0x006a

    **** List of PLAYBACK Hardware Devices ****
    card 0: ICH6 [Intel ICH6], device 0: Intel ICH [Intel ICH6]
    card 0: ICH6 [Intel ICH6], device 4: Intel ICH – IEC958 [Intel ICH6 - IEC958]

  196. tuovi Says:

    Hurray! Finally a got my mics to work. Ehem, good old AlsaMixer saved my day: I had to set Surround Jack Mode [Independent] as it was [Shared]. Still, it should be mentioned that sometimes playback is crackling.

  197. Yavor Stoychev Says:

    A few notes from my experience – after upgrading, you might want to check whether alsa-driver, alsa-lib and alsa-utils were all upgraded to 1.0.23 using this script:

    http://git.alsa-project.org/?p=alsa-driver.git;a=blob_plain;f=utils/alsa-info.sh

    In my case , alsa-driver still reported the old version after completing all the steps outlined above, so I just ran

    sudo /sbin/alsa-utils stop

    to stop alsa, and reconfigured, recompiled, and reinstalled alsa-driver. One next restart, all 3 packages reported version 1.0.23. I ran

    sudo alsaconf

    and then rebooted. Afterwards, everything worked fine.

    P. S. This version is supposed to fix most Intel HDMI audio issues. If you still have not audio over HMDI, run alsamixer and make sure the S/PDIF output is unmuted (select it using the arrow keys and then pres M)

  198. fleamour Says:

    Ammaaaaazing work my friend! Recompiling ALSA kernel solved my sound glitches on a vintage IBM T21.

    Many thanks, Linux keeps getting better & better!

  199. cd Says:

    if [ -L /include/sound ]; then \
    rm -f /include/sound; \
    ln -sf /usr/src/alsa/alsa-driver-1.0.23/include/sound /include/sound; \
    else \
    rm -rf /include/sound; \
    install -d -m 755 -g root -o root /include/sound; \
    for f in include/sound/*.h; do \
    install -m 644 -g root -o root $f /include/sound; \
    done \
    fi
    install: невозможно выполнить stat для `include/sound/*.h’: Нет такого файла или каталога
    make: *** [install-headers] Ошибка 1

  200. cd Says:

    this error on step

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

  201. Justin Says:

    Very thorough post, thank you! I have a Sony Vaio VPCF114FX, and I was only getting sound out of my headphone jack or my Logitech USB headset. I arrived at the solution slightly differently. Here’s what I did:

    $ sudo apt-get install build-essential
    $ cd ~/Downloads
    $ wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.23.tar.bz2
    $ tar -xjvf alsa-driver-1.0.23.tar.bz2
    $ cd alsa-driver-1.0.23
    $ ./configure –with-debug=full –enable-dynamic-minors –with-moddir=updates
    $ make
    $ sudo make install-modules
    $ sudo reboot

    Then my build-in speakers started working!

  202. Justin Says:

    A clarification on the ./configure line: each of those switches begin with double hyphens, not single. It’s hard to see with this font. I got the switches from the INSTALL document as recommended safe options.

  203. Scott Deagan Says:

    Thanks a million – works like a treat!!! :) . I now have sound – SOUND I TELLS YA!

  204. Wild$vil Says:

    Thanks pal , interesting topic

    keep it up

  205. Khan Says:

    Hello, I have a problem after creating a new folder and putting the three files in it. I get this error:

    sudo rm -rf /usr/src/alsa
    sudo mkdir -p /usr/src/alsa
    cd /usr/src/alsa
    sudo cp ~/alsa*
    cp: omitting directory `/home/jesse/alsa-driver-1.0.23′
    sudo tar xjf alsa-driver*
    tar: alsa-driver*: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Exiting with failure status due to previous errors

    I’m not sure whether the name on the folder matters. Also, in my home folder/personal folder, there a folder that is called “alsa-driver-1.0.23″ with a lock. I’m a newbie, by the way. Help please.

  206. fadiaz Says:

    Hi,

    Followed this tutorial up to the letter, but it did not worked for me. Installing Alsa .23 in ubuntu 10.04 killed my Ubuntu installation. Now log on screen do not arrive, stays permanently in the loading ubuntu screen.

    Computer: ECS MD-120
    Processor Atom 330
    Chipset ION
    4 GB RAM
    OS: Ubuntu 10.04 32 bits

  207. Vivian Says:

    Thanks! This helped me a lot. The only thing that stumped me was the panelw error and it can be fixed using this code. Found it from another ubuntu forum.

    In case you get this error:

    checking for new_panel in -lpanelw… no configure: error: panelw library not found

    you can try to fix it adding this symbolic links:

    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

  208. Afaq Says:

    thanx alot Stéphane Gaudreault it has been of great help to me as i had done it after one month of installing ubuntu on my laptop.

    thanx again

  209. Mark Says:

    Cheers, Stephane!!

    Everything went fine for me on my mongrel system until I tried to compile the utils directory.

    sudo make

    gave the response that there were no targets specified.

    So I’m still on ALSA 1.0.21 but it was worth doing as I got my sound back!

    I lost my sound incidentally when I installed some Firefox addons when trying to view a video file on http://capita.co.uk/Pages/Default.aspx (from memory, a Gnome player (?), Xine addon, and mplayer addon – may have been another).

    Anyohw, thanks for getting me my sound back even if it’s not the most up to date!

    Bon chance!

    Mark(UK).

  210. Nambi Says:

    Hi,

    I am running 10.10…Alsa 1.0.23 was installed but I couldn’t get sound so decided to do these steps…Now I lost evrything on soundcard..

    cat /proc/asound/version
    –> No such file or Directory

    aplay -l
    –>aplay: device_list:235: no soundcards found…

    Sudo alsaconf
    –> Says no pci or soundcard detected and gives error as
    ERROR: modinfo: could not open /lib/modules/2.6.35-23-generic/kernel/sound/core/snd.ko: No such file or directory

    I have no idea as what to do now…Can you please help to get started..

    Thank you.

  211. Pratik Agarwal Says:

    I have been trying for almost a day to get my audio working on my DELL XPS L501X. Ur method saved me !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Thanks a ton :) :)

  212. Leo Says:

    Coment 17 works fine, easier than the original one.

  213. ponda_malam Says:

    comment 202 is really worked..already follow that method. only change

    $ ./configure –with-debug=full –enable-dynamic-minors –with-moddir=updates

    to

    $ ./configure

    its worked and my alsa upgrade to 1.0.23 …huhu

  214. ricky Says:

    Thnks a lot. My sound problem is resolved.

  215. Pablo Says:

    Hi,
    it works flawless for me! :-)

    The only difference in my setup is that i use checkinstall to make deb packages and have to force the install using a flag like this:

    sudo dpkg -i –force-overwrite alsa-driver_1.0.23-1_amd64.deb

    Best regards,
    Pablo.

  216. Alex Says:

    Great, Great guide!!!

    I’m using Ubuntu 10.04 on an HP G62 and my problem was that I heard the sound only via headphones, but laptops speakers didn’t work.

    After upgrading the sound driver everything worked just as it is supposed to be.

    A big thank you,
    Alex

  217. robin onedreax Says:

    i need to downgrade alsa from 1.0.23 to my previous version 1.0.21 because kazam screencaster isnt working to save the videos if they have audio. i upgraded alsa ’cause i was looking for some way to fix the ugly sound of my mic. any thoughts? apreciate if u could give me a little help
    thnx nice day everyone

  218. rob Says:

    I would kiss you if i could…… to much? Well I been working on this problem for 3 days. thanks for taking the time to help.

    using Ubuntu 10.04 on shuttle glamor XPC – audio works great!

    Rob

  219. Herkus Says:

    Hello. I have done everything written below, but i still can’t hear a sound. Really need some help. Looking forward for help.

  220. emily Says:

    thank you for this walk through, i’m newish to the guts of installing on ubuntu and this was super helpful. my audio was intermittently working and after isolating the problems origin to the os, this was just what i needed to hear that annoying start music again. thanks again!

  221. Xav Says:

    Made it on Ubuntu 10.04.1 LTS \n \l on Sony VPC (VPCS13M1E)
    Had no sound card recognized properly.
    I now have both sound cards recognized and selectable + laptop loudspeakers.
    Still internal microphone not working.
    Great and clean update procedure. Thanks a lot for this site !

  222. Pablo Says:

    Thanks a lot. Works perfect!!!

  223. Affejunge Says:

    So, as alway, this website help to remind me I only need to install 3 packages!!

    I am amazed at the number of problems people are having. You should update your
    howto with the last step:

    run alsamixer and unmute your soundcard.

    Soundcards are MUTED BY DEFAULT after install.

  224. Mustapha Says:

    THANKS A BILLION :-)

  225. wBz Says:

    Thanks!
    Gigabyte GA-P55-USB3 REV 2.0 w / internal sound chip
    10.04 defaulted to only one output and mic input.
    Your detaied instructions worked like a charm.

  226. zizon65 Says:

    Hi,
    I just wanted to say thanks, for this nice tutorial regarding upgrading the alsa 1.0.23 driver on ubuntu Lucid Lynx 10.04. I followed your detailed tutorial and all went well and I can now enjoy sound on my MacBook Pro.
    Cheers.

  227. Ravi Says:

    Got my comp singing now, Thx much !!

  228. Alok Says:

    Thanks Stéphane for such an excellent tutorial!! It solved my problem.

    Best regards

  229. Bink Says:

    Whoever post this link, KUDOS to you! Geat help for me. It works on my Compaq Presario CQ42-357TU notebook. Thank you very much!

    Looking forward to collaborate with you, again!

    Warm regards,
    Bink

  230. Sandeep Bhat Says:

    Thanks a lot for the procedure. Audio is back and its working great. Thanks :-)

  231. Thomas Brown Says:

    Perfect! Thank You!

  232. Cliff Says:

    The updated Alsa version is not compatible with the new kernel 2.6.32.28. The sounds are all scratchy. I had to revert back to 2.6.32.27. Anyone had this problem?

  233. darek Says:

    Thanks, it works! Thanks a lot ;)

  234. Klingler Says:

    Solved the problem (sound lost after boot). Thank you!

  235. Vinod Says:

    Thanks Gaudreault,
    It was very helpful. Made my iMac9,1 sing after a long time :-)
    Regards
    Vinod

  236. ibigbug Says:

    hi!
    how to deal with this mistake:
    when i configure,
    checking for aload* device file directory… /dev/
    ./configure: line 21639: python-config: command not found
    ./configure: line 21647: python-config: command not found
    Unable to determine python libraries! Probably python-config is not
    available on this system. Please, use –with-pythonlibs and
    –with-pythonincludes options. Python components are disabled in this build.
    configure: creating ./config.status

  237. Sankaran Says:

    I followed your blog and updated audio to 1.0.24 thanks. I posted my experience in my blog here, http://duopetalflower.blogspot.com/2011/02/alsa-1024-in-ubuntu-1010.html

  238. Gregor Says:

    Thank you for the guide. it does wonders.
    BUT – every certain update (such as kernel patch) overwrites this. And then upgrade needs to be performed again. How to solve this problem?

  239. bibek Says:

    Worked well.. Now my HP Mini sounds good

  240. Paul Says:

    This mostly worked for me with a Creative Soundblaster X-Fi Xtreme (CA0106). The only things that doesn’t work is that when I plug in my headphones, the speakers don’t automute. The headphones do work, but I have to manually turn off the speakers. I have seen lots of fixes for this for Intel and on-board audio, but I have never seen a fix that works with the CA0106 chipset.

  241. elias Says:

    lost sound after blacllisted pcspkr and modprobe -r pcspkr on /etc/rc.local, after revert the blacklist.conf and rc.local to original format without the pcspkr restrictions on it the sound still missing! using 1004 gnome and tried to upgrade but it is showing a error in the process saying there is a file missing and abort process. how to fix the ubuntu corrupted or missing files and drivers, is there a command to check and fix this?

  242. Stu Says:

    Awesomeness.. It used to fly, but now it sings too. My 1 month struggle to get sound running on my Sony VAIO EA21FX comes to an end!! I jumped from my chair in pure ecstasy when I heard the login audio for the first time (after the last reboot step)

    Works Perfect.. Now I can completely get rid of Windows..

  243. jimmy Says:

    you did great!
    Now sound on my sony vaio i5 is working.thanks a lot.
    well done

  244. Sunglow Says:

    Thanks!
    Mic problem on Asus X42F solved!

  245. taniste Says:

    Get the errors listed below. Any advice?..
    ___________________________________________________________________________

    checking for GCC version… Kernel compiler: Used compiler: gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)

    *** NO PREDEFINED KERNEL COMPILER IS DETECTED
    *** Assuming the same compiler is used with the current system compiler.

    *** Please make sure that the same compiler version was used for building kernel.
    _______________________________________________________________________
    /usr/src/alsa/alsa-driver-1.0.23/drivers/../alsa-kernel/drivers/dummy.c:391: error: implicit declaration of function ‘hrtimer_forward_now’
    make[3]: *** [/usr/src/alsa/alsa-driver-1.0.23/drivers/dummy.o] Error 1
    make[2]: *** [/usr/src/alsa/alsa-driver-1.0.23/drivers] Error 2
    make[1]: *** [_module_/usr/src/alsa/alsa-driver-1.0.23] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-29-generic’
    make: *** [compile] Error 2
    if [ -L /usr/include/sound ]; then \
    rm -f /usr/include/sound; \
    ln -sf /usr/src/alsa/alsa-driver-1.0.23/include/sound /usr/include/sound; \
    else \
    rm -rf /usr/include/sound; \
    install -d -m 755 -g root -o root /usr/include/sound; \
    for f in include/sound/*.h; do \
    install -m 644 -g root -o root $f /usr/include/sound; \
    done \
    fi
    ____________________________________________________________________________

  246. taniste Says:

    Solved the problem by installing a binary driver.

  247. Esko Says:

    Thanks!! In my Acer Aspire 4935G internal microphone has never worked. Today I happened to find these instructions to upgrade ALSA.
    I had already given up all hope and was using external Logitech mike.

    Thanks again……………Esko

  248. Rajesh Says:

    Kudos to Stephane…..
    finally i have successfully got the sound from my headphone…….
    my laptop is Toshiba Satellite C660 P5010…

    Really great post…..

    Thanks again……………Raj.. :)

  249. Pancho1g Says:

    Hi, it’s not the smoothest sound I’ve heard, but it worked perfectly in mi Acer Aspire 5536-5188 with Ubuntu 10.04.
    Thanks.

  250. Eric Says:

    +1. This fixed issues for my on my Thinkpad T410 on Lucid LTS, specifically an issue where my microphone would produce a huge amount of crackling and static, to the point of not being usable. This is because the following patch was included:

    https://patchwork.kernel.org/patch/92496/

  251. masbay Says:

    berjalan dengan baik.
    Thank you very much

  252. Sebin Says:

    As per your instruction, i have, installed it. It was working perfect for a month.

    I think, after the kernel update, it is screwed up :(

    uname -r
    2.6.32-30-generic

    cat /proc/asound/version
    Advanced Linux Sound Architecture Driver Version 1.0.21.

    To work it permanently, Do i have to do something?

    I am new to linux. I have Ubuntu 10.04 LTS
    – the Lucid Lynx – released in April 2010

  253. vbg Says:

    Thanx for the instructions

    worked like charm. Once again many thanx

  254. Barnie Says:

    Thank you !
    Worked like a charm…
    helped me to fix hdmi probs on my ION Zotac Zbox ID11
    With Ubuntu 10.04LTS

  255. Ullas Says:

    I am speechless. In return all i can do is a prayer Mr. Stéphane Gaudreault . Stay healthy wealthy and wise.

  256. Stitch Says:

    I am experience this error:

    tar: alsa-driver*: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Exiting with failure status due to previous errors
    cd: 65: can’t cd to alsa-driver*
    sudo: ./configure: command not found
    make: *** No targets specified and no makefile found. Stop.
    make: *** No rule to make target `install’. Stop.
    ERROR!!!

    Besides that everything else went right.

  257. MAVIE Says:

    MY MONITOR HAS SPEAKERS LEFT SIDE AND RIGHT SIDE , ALSO I HAVE OTHER TABLE SPEAKERS, AND A TABLE MICROPHONE………………..I NEED AUDIO SOUND FROM SPEAKERS , AND TALK IN THE MICROPHONE, I TRIED ALL POSSIBLE WAYS, I CANNOT GET ANY SOUND, NOT EVEN ON SKYPE….PLS…I NEED HELP…

  258. Yuriy Says:

    Thanks, bro! For Sony Vaio VPCEB2E1R works perfectly (Ubuntu 10.04 amd64)

  259. Assen Kolov Says:

    Thanks a lot. Solved my sound problem on a Sony Vaio.

  260. bnw Says:

    Thanks a lot,
    mic now works on Toshiba C660.
    Somehow I had to boot from a live-cd (hold shift while booting and select “boot from first hdd”) and do a grub-update as the Laptop wouldn’t boot after finishing the tutorial.
    Bnw

  261. Packe Says:

    THANKS A LOT ;-) )))))
    My problem with speakers on HP G62 is history.
    Really great job and God bless you.

  262. Packe Says:

    For further information, I am having Ubuntu 10.04. LTS

  263. lyndon Says:

    hi when i run the sudo make command I get this error
    make -C /lib/modules/2.6.35-020635rc1-generic/build SUBDIRS=/usr/src/alsa/alsa-driver-1.0.23 CPP=”gcc -E” CC=”gcc” modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.35-020635rc1-generic’
    CC [M] /usr/src/alsa/alsa-driver-1.0.23/acore/pcm_native.o
    /usr/src/alsa/alsa-driver-1.0.23/acore/pcm_native.c: In function ‘snd_pcm_hw_params’:
    /usr/src/alsa/alsa-driver-1.0.23/acore/pcm_native.c:489: error: implicit declaration of function ‘pm_qos_remove_requirement’
    /usr/src/alsa/alsa-driver-1.0.23/acore/pcm_native.c:492: error: implicit declaration of function ‘pm_qos_add_requirement’
    make[3]: *** [/usr/src/alsa/alsa-driver-1.0.23/acore/pcm_native.o] Error 1
    make[2]: *** [/usr/src/alsa/alsa-driver-1.0.23/acore] Error 2
    make[1]: *** [_module_/usr/src/alsa/alsa-driver-1.0.23] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-020635rc1-generic’
    make: *** [compile] Error 2
    does any body have a clue on how i can possibly fix this, pppppplease?

  264. Erik Says:

    Thanks a lot!!!

    You saved me. Worked great on presario CQ42, sound card ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40).
    God bless you!!

  265. andrew Says:

    Thank you so much, worked perfectly on my new HP 620 and sorted out my microphone for skype as well
    All I need to do is get the wireless working then perfect. Any ideas

  266. Jack Says:

    Hey,

    You’re a genius. I spent all the day trying to fix my audio with no luck. I followed all the steps in your post and worked like a charm.

    Thank you a lot for taking your time in writing down this tutorial. =)

    Jack

  267. sagoth Says:

    Hi
    I’m pretty stuck with my sound on Ubuntu 11.04. I had problems with the mic so I decided to upgrade Alsa (was fixing the mic on 10.04) so I followed this guide but instead of 1.0.23 I build 1.0.24.
    Now I don’t have *any* sound (Hardware list is blank in Sound Properties) :)
    Any advice how to proceed?

  268. rMatey Says:

    Thanks a lot. My sound stopped working and I used this guide to fix it. Good job.

  269. Pueno Says:

    Microphone still not working Thanks anyway

  270. abhijeet Says:

    Thanx man…the audio stopped working after i installed some softwares(in ubuntu 10.04)…your guide was a great help in reincarnating the drivers…

  271. robheus Says:

    First I tried this, but didn work, untill I installed alsa utils package with synaptic.

    Sound works now, but when I plug in headphones or external audio speakers on my lattop (Medion), the sound volume of the internal speakers is lower, but the laptop internal speakers still produce sound.

    How can I get this to work so that the internal speakers silence completely when I plug in headphones or external speakers?

  272. robheus Says:

    And it seems that the soundsystem (System->Preferences->Sound system) is not found, neither do I see a volume button in the tray (right upper part on the system bar).

    How can I correct this?

  273. Franco Says:

    Tanks a lot alpho2k !!
    You save me from madness!
    My old ASUS desktop interrupted audio playback after few seconds when reproduced YouTube videos and other flash videos.
    Now its everything OK

    Thanks again
    Franco

  274. Dustin Ghia Says:

    Works great!!! Thx man!!!!

  275. Help_Pls Says:

    Hi, I am using Ubuntu 10.10 in Dell Vostro 1015 laptop. My Speaker, Headphone and inbuilt speaker was working fine, but inbuilt mice and mice of headphone was not getting detected. So I followed all the steps mentioned here, but after restarting the machine, nothing is working, not even the speaker, Headphone and inbuilt speaker. Please Help. It’s urgent!!!

  276. Help_Pls Says:

    Hi, I am using Ubuntu 10.10 in Dell Vostro 1015 laptop. My Speaker, Headphone and inbuilt speaker was working fine, but inbuilt mice and mice of headphone was not getting detected. So I followed all the steps mentioned here, but after restarting the machine, nothing is working, not even the speaker, Headphone and inbuilt speaker. Please Help. It’s urgent!!!

    I would also like to mention that after completing all the steps and restarting the machine on executing the following command : cat /proc/asound/version, I got the error message stating “cat: /proc/asound/version: No such file or directory”

    pls pls pls help

  277. Ryan Says:

    Thanks for this post. +1 for comment #17 (ppa respository). Got mine up to 1.0.24 no worries. It was for an EeePC 1000px, so with the added ‘options snd-hda-intel model=lifebook’ in /etc/modprobe.d/alsa-base.conf, I got the headphones working.

  278. Sammy Says:

    Thank you so much. It all works on my Sony VAIO VPCEB11FX. I had previously been forcing Ubuntu 10.04 to boot with the kernel 2.6.32-28, despite many kernel upgrades since then, as I could not get sound otherwise. Now, I can use the current 2.6.32-33 kernel.

  279. Mills Says:

    Hi Stephane,

    I am stuck at sudo cp ~/alsa* .

    Error message: cp: missing destination file operand after `¬/alsa*.’

    Your help would be much appreciated.

    Thx

  280. paul Says:

    @Mills

    You need to have a space between * and .

  281. Mills Says:

    @paul

    Thanks for the response. Problem solved and seemed to work ok. Today I upgraded to Natty though. I somehow managed to mess my system up. I have no sound. No card detected.

    I get:

    user@ubuntu:~$ cat /proc/asound/version
    cat: /proc/asound/version: No such file or directory

    Any ideas?

    Thanks

  282. Laurette Bruce Says:

    There are numerous posts on the market near this, I think taking there reference could experience chose to make this spot or article really informative. I am not saying expression this post is poor quality. Simply I have to pronounce that this info provided here was unique, merely so it will be more close to complete, supporting for some other former information will get been actually good. The points you have touched listed here are important, thus I’ll spot some of the information here to construct this actually suitable for entirely the newbie’s here. Many thanks for this info. Actually helpful!

  283. Davidson Says:

    Tks! My problem is solved! Congratulations!

  284. wenwens Says:

    I discovered your weblog web website on google and examine a number of of your early posts. Proceed to maintain up the superb operate. I just extra up your RSS feed to my MSN Info Reader. In search of forward to studying extra from you afterward!

  285. Anikethana Says:

    Hi,

    I had problem with microphone so followed your tutorials and re installed alsa, but now problems has tripled. My wi fi is not working, only system built speakers working and head phones stopped working. And input sound device (microphone) is detecting now but still can’t use them in skype.

    Any suggestions are welcome

    Thanks,
    Anikethana

  286. Rock Says:

    Thank you!

    I was looking for the better drivers and i found it.

  287. tim Says:

    thanks for this! worked like a charm (apart from not showing the new alsa version when doing
    cat /proc/asound/version
    but who cares?)

    thanks!

  288. Drivers Says:

    Thanks for the tutorial. Very useful information for me.

  289. mike Says:

    This has helped me enable sound in my Vaio VPC EB3. Thanks a lot!

  290. neodimitri Says:

    Thank for this script.
    I am really enfoy ! :)

  291. krzysztof Says:

    Works! Ubuntu 10.04 and Hp G62

  292. Hermann Says:

    Thank you for this great instructions. It help me bringing back the sound to my Dell mini 9 Netbook.

  293. Oscar Pérez Says:

    Good afternoon, my name is Oscar Perez, I’m in Peru.
    I migrated from Windows to Linux Ubuntu 10.04 and had two problems to solve: the sound and wireless to inject packets.
    I am using a translator because my English is really bad, and by this translator understood and managed to activate my sound.
    The explanation about updating the alsa driver is excellent, now thanks to the genius or geniuses who gave me the guidelines for correct’m happy.
    I think the right term would be classified as “genius” or “geniuses” do not know.
    What I do know is that they managed to confirm my decision to stay in the free software.
    Thank you again. See you soon.
    Be assured that I will share this great way to activate the alsa driver with all those who need it, but this time I will use Spanish.
    Goodbye and thanks for everything.

  294. Zenshin Says:

    Hi

    thanks !
    It worked on Ubuntu 10.04 & there is no problems

  295. yoko Says:

    Thanks for post. Worked perfectly on my HP 2000-363NR laptop

  296. dusko Says:

    thank you for guide, it was very usefull

  297. Christian Says:

    For me this howto worked great installing the 1.0.24 Vresin of the alsa drivers. In my case the newer version solved a soundproblem with wine.

    I added all to a batch script wich should work grandiosuly in ubuntu 10.04

    The file was uploaded here:

    http://www.filehosting.org/file/details/297488/alsachanger24.sh

    again thank you very much for the great blueprint

  298. jdeuce Says:

    Thank you!!
    After a 1.5week struggle with headphones only sound on a new Ubuntu 10.04.3
    implementation on an HP h8-1160t, I followed your procedure using the 1.0.25
    Alsa distribution at http://www.alsa-project.org and everything works:
    Kernel release: 2.6.32-38-generic
    0 [PCH ]: HDA-Intel – HDA Intel PCH
    HDA Intel PCH at 0xfa300000 irq 35

  299. Tushar Says:

    I have done all the steps and my sound cards are working but when i open my sony VAIO next day i cant get any sound.
    Can you suggest any solution for this problem

  300. Earnestine Pallant Says:

    Wow, excellent site I really enjoyed the content provided is really interesting to help people with skin cancer or any problem because reading this blog my mood improves jaja, thanks…

  301. Venko Says:

    Thank You!
    everything from the first to the last command is working correct
    and finally – sound via NVidia hdmi

  302. max Says:

    Hi,

    thanks for this dokumentation, it worked also for alsa 1.0.25 and alsa is working.

  303. Pierre Says:

    It works !!!
    Thank you so so much.

  304. bobah.spb Says:

    true (simple) way:

    # aptitude install linux-backports-modules-alsa-lucid-generic-pae

  305. Abhi Says:

    the version did not update. still with .21 but sound works! kudos!

  306. Hazym Says:

    Thanks a million! It helped me get sound on HP 635 with Ubuntu 10.04

Other Discussion on This Post

  1. Enquanto seu Lobo não vem – Parte II – Linux
  2. Ubuntu 10.04 Lucid Lynx – Reinstalling ALSA | Curly Braces
  3. Sonido con: Intel 82801DB/DBL/DBM ac’97 audio (rev 03). « Ubuntu Echoes
  4. XBMC: HD networked media center: Working! « The Angry Leppy
  5. Upgrade Alsa (1.0.23) on Ubuntu Lucid Lynx 10.04 | TobaUntu
  6. Sony VAIO VPC EB1M1E and ubuntu 10.04 LTS Lucid Lynx « Breakandenter.
  7. Upgrade Alsa « U8UNTU eLXER
  8. Ubuntu Lucid Lynx 10.04 and Lenovo Ideapad U460 « Lenrek’s Blog
  9. Fixing Earphones Problem on Ubuntu 10.04 « Eager to Code, Enjoy to Debug ~ Embark into Each Stage with Your Heart
  10. problemas de sonido en ubuntu 10.04 lucid lynx - La Comunidad DragonJAR
  11. Solucionar Problema Alsa en Ubuntu Lucid (Para Presario CQ42 y otras…) « Livin´ la vida Linux
  12. Ubuntu 10.04 amd64 on Lenovo Thinkpad E125, making the LAN, Wifi, Video and Sound to work « mundane idiosyncrasies

Leave a Reply

Live Comment Preview

 
WordPress Loves AJAX