SDB:Alsa-update-snapshot

Jump to: navigation, search
Icon-update.png Update to version: 11.4, 11.3
This article needs to be tested for a newer version. If you are using this guide on the newer version and you find the guide up-to-date to this version, please add the version number to the Knowledge bar. Please refer to version related jobs: SDB pages for more information.

Tested on openSUSE

Recommended articles

Icon-manual.png

Related articles

Icon-help.png


Symptom

Your audio has a problem that requires that you update your alsa version with a very cutting edge version of alsa.


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-11.0 to 11.2 for updating your alsa to a cutting edge version of alsa. (As of mid-July-2009, the most current stable alsa version is 1.0.20). Note this guide should be used in conjunction with the openSUSE audio troubleshooting guide: openSUSE Audio Troubleshooting Guide and with the alsa-update wiki: alsa update wiki Please do not use this guide in isolation.


Kernel version

IMPORTANT. When updating your alsa version, if you decided to update your driver (in addition to the daily user-space snapshots), it is important that you know what kernel version you are using. You need this because you should install the alsa-driver-kmp rpms specific to ONLY your kernel. NOT for other kernels. Type in an xterm or a konsole:

uname -a

To determine your openSUSE version and your system architecture version type in an xterm or konsole:

cat /etc/SuSE-release

Pay attention as to whether you have an

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

Note - The above is important.


Daily snapshots openSUSE-11.0

Icon-obsolete.png This article or section refers to the version '11.0' and it is now obsolete!
Please refer to this article's discussion page for more information.

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. 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 (essentially daily (or momentary) snapshot packages from the upstream GIT trees), 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 install alsa alsa-utils alsa-tools alsa-firmware alsa-oss alsa-plugins alsa-plugins-pulse libasound2
zypper rr multimedia

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

You are NOT finished after sending those 3 zypper commands. Please read on !

In addition, to update ALSA driver modules, send the following 3 zypper commands applicable to your kernel version (in the following section). ONLY for your PCs kernel version. DO NOT install the rpms for other kernels (as it may break your sound). 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 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 install alsa-driver-kmp-pae
zypper rr multimedia

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

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

zypper install alsa-driver-kmp-default
zypper rr multimedia

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

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

zypper install alsa-driver-kmp-pae
zypper rr multimedia



Daily snapshots 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. 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 (essentially daily (or momentary) snapshot packages from the upstream GIT trees), 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 install alsa alsa-utils alsa-tools alsa-firmware alsa-oss alsa-plugins alsa-plugins-pulse libasound2
zypper rr multimedia

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

You are NOT finished after sending those 3 zypper commands. Please read on !

In addition, to update ALSA driver modules, send the following 3 zypper commands applicable to your kernel version (in the following section). ONLY for your PCs kernel version. DO NOT install the rpms for other kernels (as it may break your sound). 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 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 install alsa-driver-kmp-pae
zypper rr multimedia


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

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

zypper install alsa-driver-kmp-default
zypper rr multimedia

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

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

zypper install alsa-driver-kmp-pae
zypper rr multimedia



Daily snapshots openSUSE-11.2

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. 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 (essentially daily (or momentary) snapshot packages from the upstream GIT trees), 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.

TBD - no snapshot repository of the ALSA user-space packages yet available

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

You are NOT finished after sending those 3 zypper commands. Please read on !

In addition, to update ALSA driver modules, send the following 3 zypper commands applicable to your kernel version (in the following section). ONLY for your PCs kernel version. DO NOT install the rpms for other kernels (as it may break your sound). DON'T FORGET THIS.

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

kernel 2.6.31.5-0.1-default i386 or x86_64 GNU/Linux (openSUSE-11.2)

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

zypper install alsa-driver-kmp-default
zypper rr multimedia

kernel 2.6.31.5-0.1-pae i386 GNU/Linux (openSUSE-11.2)

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

zypper install alsa-driver-kmp-pae
zypper rr multimedia

kernel 2.6.31.5-0.1-desktop i386 or x86_64 GNU/Linux (openSUSE-11.2)

The following commands are only for kernel 2.6.31.5-0.1-desktop

zypper install alsa-driver-kmp-desktop
zypper rr multimedia


kernel 2.6.31.12-0.1-default i386 or x86_64 GNU/Linux (openSUSE-11.2)

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

zypper install alsa-driver-kmp-default
zypper rr multimedia


kernel 2.6.31.12-0.1-pae i386 GNU/Linux (openSUSE-11.2)

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

zypper install alsa-driver-kmp-pae
zypper rr multimedia


kernel 2.6.31.12-0.1-desktop i386 or x86_64 GNU/Linux (openSUSE-11.2)

The following commands are only for kernel 2.6.31.12-0.1-desktop

zypper install alsa-driver-kmp-desktop
zypper rr multimedia

See also