How to update ALSA to latest version easily

On Ubuntu Linux Jaunty 9.04, Ubuntu Linux Hardy 8.04 and Ubuntu Linux Intrepid 8.10 the audio subsystem is mostly supported (multichannel autoconfiguration support is due in Ubuntu 9.10)

Very recent models may however have a few issues with microphone and multichannel audio. They can try out latest pulseaudio 0.9.15 (for autoconfiguration issues) and latest alsa 1.0.19 (for multichannel and microphone support).

If, for any reason, you have decided to try bleeding edge development drivers you can use the Bob Nelson script which I have further tweaked in order to prompt you with a choice among few most common modes to try out. Download it from here. Alternative script in case you get downloading timeout errors download from here.

Beware that these drivers, despite being stable, do not have any Ubuntu specific patch.

This script supports the following chipsets:

Intel HD Audio ICH6, ICH6M, ESB2, ICH7, ICH8, ICH9, ICH10, PCH, SCH
ATI SB450, SB600, R600, RS600, RS690, RS780, RV610, RV620, RV630, RV635, RV670, RV770
VIA VT8251/VT8237A,
SIS966, ULI M5461

After downloading the script you will need to do the following to the script:

- Change the permission of the script to make it executable.  To make the script executable type the following in a terminal:

chmod 755 alsa_setup

This command assumes you downloaded the script in your home folder

What this script does is:
- Download the ALSA modules
- Compile the modules
- Enable you to test different module options to see which one best suits you [new]
- Enable you to test the driver with different configurations [new]
- Change your  /etc/modprobe.d/alsa-base file
- Remove the installer files

To run the script type in terminal window

sudo ./alsa_setup

to see what is your audio CODEC go to System->Preferences->Sound and simply click on any drop down menu to read the code next to HDA Intel (i.e. ALC800)

now confront what mode better suits your specific CODEC by having a look at file

alsa-driver-1.0.19/alsa-kernel/Documentation/HD-Audio-Models.txt

If you need to add a mode not listed in the provided script type in terminal (where auto should be replaced with the correct codec mode)

sudo echo "options snd-hda-intel model=auto" >> /etc/modprobe.d/alsa-base.conf

Users of recent models (eg. dv4-1117) also benefited from enabling Message Signaled Interrupt (MSI)

sudo echo "options snd-hda-intel enable_msi=1" >> /etc/modprobe.d/alsa-base.conf

Ubuntu Wiki has a well done wiki concerning this issue: https://help.ubuntu.com/community/HdaIntelSoundHowto

Related posts:

  1. How to write an interactive shell script
  2. update VirtualBox signing key 54422A4B98AB5139
  3. WINE latest repositories for x86 and x86_64
  4. vmware-config.pl gcc version error
  5. cannot update initrd image due to missing kernel
  6. update-initramfs updating your initial ramdisk
  7. Call for enabling HP Pavilion internal softmodem
| Print This Post Print This Post | Email This Post Email This Post
RSS 2.0 | Trackback | Comment

8 Responses to “How to update ALSA to latest version easily”

  1. Peter says:

    Worked GREAT in getting ALSA sound to work with Ubuntu 9.04 + nVidia HDA.

  2. Marc says:

    I try to install the script since yesterday, but I always get a timeout while connecting to

    http://ftp.alsa-project.org|160.217.9.25|:21..

    Is there any other way to get the new latest version?

    • aldeby says:

      The ALSA ftp servers are down.
      Probably they are doing some maintenance on their servers this weekend.
      Please try again on Monday.
      If nothing changes in a few days I’ll mirror these packages locally.

  3. basharat says:

    Hi
    Thanks for the script, but I still get the timeout when connecting to the http://ftp.alsa-project.org|160.217.9.25|:21.. alsa. Can you help out ?

  4. Marc says:

    Open the script in editor and change

    ftp://……/pub/

    with

    http://alsa.cybermirror.org

  5. myself says:

    anyone knows if with this alsa version Intel HDA (ICH9 Sigmatel Codec) optical out works?

  6. Matt says:

    does anyone know if this works on an hp mini 5101?

  7. Jnanadarshan says:

    Hi I am Jnanadarshan my email is jnanadarshan@gmail.com or jdn@asia.com
    I am using HP Pavilion DV4 1506 tx everything is all right but the sound is not working.

Leave a Reply

XHTML: You can use these tags: b, cite, code, em, i, q cite="", strike, strong.