Alsa-update

From openSUSE


Version: openSUSE 10.1 to 11.0

Contents

Symptom


Your audio has a problem that requires that you update your alsa version.


Cause


The cause is your hardware is too new for the version of alsa that comes with your openSUSE version


Solution


This section provides zypper commands for openSUSE-10.2 and 11.0 for updating your alsa. (As of mid-May-2008, the most current stable alsa version is 1.0.16). Note this guide should be used in conjunction with the openSUSE audio troubleshooting guide: openSUSE Audio Troubleshooting Guide Please do not use this guide in isolation.

Kernel version

IMPORTANT. When updating your alsa version, it is important that you know what kernel version you are using. Type in an xterm or a konsole:

         uname -a

Pay attention as to whether you have an

  • .586/.686 SMP,
  • .586/.686 BIGSMP
  • or x86_64
  • or pae

Note - The above is important.


SUSE-10.0

No longer supported.


openSUSE-10.1

No longer supported. You may still find some packages on SLES10 repositories:

   http://download.opensuse.org/repositories/multimedia:/audio/SLES10

and some matching alsa-driver KMPs in SLES10 or SLES10-SP2 KMP repositories:

   http://download.opensuse.org/repositories/multimedia:/audio:/KMP/SLES10
   http://download.opensuse.org/repositories/multimedia:/audio:/KMP/SLES10_SP2

openSUSE-10.2 zypper commands

To send the zypper commands below, first open an xterm/konsole, and type "su" (no quotes) to obtain root permissions. Enter the root password when prompted. Then send the zypper commands given below that are specific to your openSUSE kernel version (and your SMP version). The three commands given in each case will:

  • install a repository for alsa
  • update your alsa
  • remove the repository

Its important to send the third zypper command to remove the repository, as the rpms in that repository are cutting edge, and once one's sound functions, its best not to keep updating alsa, as one of the updates could inadvertently break one's audio.

For updating the ALSA user-space packages, run the following 3 zypper commands.

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_10.2/ multimedia
         zypper install alsa alsa-utils alsa-tools alsa-firmware libasound2
         zypper rr multimedia

Note: the basic packaged openSUSE-10.2 comes with version 1.0.13 of alsa installed by default.

In addition, to update the ALSA driver modules, send the following 3 zypper commands applicable to your kernel version.

kernel 2.6.18.2_34-default #1 SMP ... i386 or x86_64 GNU/Linux (openSUSE-10.2)

The following commands are for kernel 2.6.18.2_34-default

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_10.2/ multimedia
         zypper install alsa-driver-kmp-default
         zypper rr multimedia

kernel 2.6.18.2_34-default #1 BIG SMP ... i386 GNU/Linux (openSUSE-10.2)

The following commands are for kernel 2.6.18.2_34-BIG SMP

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_10.2/ multimedia
         zypper install alsa-driver-kmp-bigsmp
         zypper rr multimedia

kernel 2.6.18.8_0-default #1 SMP ... i386 or x86_64 GNU/Linux (openSUSE-10.2)

The following commands are for kernel 2.6.18.8_0-default

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_10.2_Update/ multimedia
         zypper install alsa-driver-kmp-default
         zypper rr multimedia

kernel 2.6.18.8_0-default #1 BIG SMP ... i386 GNU/Linux (openSUSE-10.2)

The following commands are for kernel 2.6.18.8_0-BIG SMP

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_10.2_Update/ multimedia
         zypper install alsa-driver-kmp-bigsmp
         zypper rr multimedia

openSUSE-10.3 zypper commands

To send the zypper commands below, first open an xterm/konsole, and type "su" (no quotes) to obtain root permissions. Enter the root password when prompted. Then send the zypper commands given below that are specific to your openSUSE kernel version (and your SMP version). The three commands given in each case will:

  • install a repository for alsa
  • update your alsa
  • remove the repository

Its important to send the third zypper command to remove the repository, as the rpms in that repository are cutting edge, and once one's sound functions, its best not to keep updating alsa, as one of the updates could inadvertently break one's audio.

For updating the ALSA user-space packages, run the following 3 zypper commands.

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_10.3/ multimedia
         zypper install alsa alsa-utils alsa-tools alsa-firmware libasound2
         zypper rr multimedia

Note: the basic packaged openSUSE-10.3 comes with version 1.0.14 of alsa installed by default.

In addition, to update ALSA driver modules, send the following 3 zypper commands applicable to your kernel version.

kernel 2.6.22.5_31-default #1 SMP ... i386 or x86_64 GNU/Linux (openSUSE-10.3)

The following commands are for kernel 2.6.22.5_31-default

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_10.3/ multimedia
         zypper install alsa-driver-kmp-default
         zypper rr multimedia

kernel 2.6.22.5_31-default #1 BIG SMP ... i386 GNU/Linux (openSUSE-10.3)

The following commands are for kernel 2.6.22.5_31-BIG SMP

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_10.3/ multimedia
         zypper install alsa-driver-kmp-bigsmp
         zypper rr multimedia

kernel 2.6.22.17_0-default #1 SMP ... i386 or x86_64 GNU/Linux (openSUSE-10.3)

The following commands are for kernel 2.6.22.17_0-default

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_10.3_Update/ multimedia
         zypper install alsa-driver-kmp-default
         zypper rr multimedia

kernel 2.6.22.17_0-default #1 BIG SMP ... i386 GNU/Linux (openSUSE-10.3)

The following commands are for kernel 2.6.22.17_0-BIG SMP

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_10.3_Update/ multimedia
         zypper install alsa-driver-kmp-bigsmp
         zypper rr multimedia

kernel 2.6.22.18-0.2-default #1 SMP ... i386 or x86_64 GNU/Linux (openSUSE-10.3)

The following commands are for kernel 2.6.22.18-0.2-default

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_10.3_Update/ multimedia
         zypper install alsa-driver-kmp-default
         zypper rr multimedia

kernel 2.6.22.18-0.2-default #1 BIG SMP ... i386 GNU/Linux (openSUSE-10.3)

The following commands are for kernel 2.6.22.18-0.2-BIG SMP

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_10.3_Update/ multimedia
         zypper install alsa-driver-kmp-bigsmp
         zypper rr multimedia

openSUSE-11.0

To send the zypper commands below, first open an xterm/konsole, and type "su" (no quotes) to obtain root permissions. Enter the root password when prompted. Then send the zypper commands given below that are specific to your openSUSE kernel version (and your SMP version). The three commands given in each case will:

   * install a repository for alsa
   * update your alsa
   * remove the repository 

Its important to send the third zypper command to remove the repository, as the rpms in that repository are cutting edge, and once one's sound functions, its best not to keep updating alsa, as one of the updates could inadvertently break one's audio.

For updating the ALSA user-space packages, run the following 3 zypper commands.

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.0/ multimedia
         zypper install alsa alsa-utils alsa-tools alsa-firmware libasound2
         zypper rr multimedia

Note: the basic packaged openSUSE-11.0 comes with version 1.0.16 of alsa installed by default

In addition, to update ALSA driver modules, send the following 3 zypper commands applicable to your kernel version.

kernel 2.6.25.5-1.1-default i386 or x86_64 GNU/Linux (openSUSE-11.0)

The following commands are for kernel 2.6.25.5-1.1-default

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.0/ multimedia
         zypper install alsa-driver-kmp-default
         zypper rr multimedia

kernel 2.6.25.5-1.1-pae i386 or x86_64 GNU/Linux (openSUSE-11.0)

The following commands are for kernel 2.6.25.5-1.1-pae

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.0/ multimedia
         zypper install alsa-driver-kmp-pae
         zypper rr multimedia

Links