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!

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

Related Posts

 

146 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

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

Leave a Reply

Live Comment Preview

 
WordPress Loves AJAX