Alsa-update

From openSUSE


Version: openSUSE 10.1 to 11.1

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

No longer supported.

You may find some updated alsa packages on Packman (for 1.0.14 of alsa):

http://packman.links2linux.org/package/alsa

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

openSUSE-10.3 zypper commands

You should send 6 zypper commands to update your alsa (they are given below).

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 6 zypper commands (in two groups of 3) 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, first run the following 3 zypper commands.

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_10.3/ multimedia
         zypper install alsa-utils alsa-tools alsa-firmware alsa-oss alsa-plugins
         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 (in the following section). DON'T FORGET THIS.

Don't forget to reboot your OS, after this updating.

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

The following commands are only 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 only 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.19-0.2-default #1 SMP ... i386 or x86_64 GNU/Linux (openSUSE-10.3)

The following commands are only for kernel 2.6.22.19-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.19-0.2-default #1 BIG SMP ... i386 GNU/Linux (openSUSE-10.3)

The following commands are only for kernel 2.6.22.19-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

You should send 6 zypper commands to update your alsa (they are given below).

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 6 zypper commands (in two groups of 3) 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, first run the following 3 zypper commands.

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.0/ multimedia
         zypper install alsa-utils alsa-tools alsa-firmware alsa-oss alsa-plugins alsa-plugins-pulse
         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 (in the following section). DON'T FORGET THIS.

Don't forget to reboot your OS, after this updating.

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

The following commands are only 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 GNU/Linux (openSUSE-11.0)

The following commands are only 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

kernel 2.6.25.20_0.1-1.1-default i386 or x86_64 GNU/Linux (openSUSE-11.0)

The following commands are only for kernel 2.6.25.20_0.1-1.1-default

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

kernel 2.6.25.20_0.1-1.1-pae i386 GNU/Linux (openSUSE-11.0)

The following commands are only for kernel 2.6.25.20_0.1-1.1-pae

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

openSUSE-11.1

You should send 6 zypper commands to update your alsa (they are given below).

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 6 zypper commands (in two groups of 3) 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, first run the following 3 zypper commands.

         zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.1/ multimedia
         zypper install alsa-utils alsa-tools alsa-firmware alsa-oss alsa-plugins alsa-plugins-pulse
         zypper rr multimedia

Note: the basic packaged openSUSE-11.1 comes with version 1.0.18 of alsa installed by default

In addition, to update ALSA driver modules, send the following 3 zypper commands applicable to your kernel version (in the following section). DON'T FORGET THIS.

Don't forget to reboot your OS, after this updating.

kernel 2.6.27.7_9.1-1.1-default i386 or x86_64 GNU/Linux (openSUSE-11.1)

The following commands are only for kernel 2.6.27.7_9.1-1.1-default

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

kernel 2.6.27.7_9.1-1.1-pae i386 GNU/Linux (openSUSE-11.1)

The following commands are only for kernel 2.6.27.7_9.1-1.1-pae

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


kernel 2.6.27.23-0.1-default i386 or x86_64 GNU/Linux (openSUSE-11.1)

The following commands are only for kernel 2.6.27.23-0.1-default

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

kernel 2.6.27.23-0.1-pae i386 GNU/Linux (openSUSE-11.1)

The following commands are only for kernel 2.6.27.23-0.1-pae

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

Links



Passed QA check: Fsundermeyer 13:49, 12 June 2009 (UTC)