Installing a Soundsystem from Scratch

Support knowledgebase (thallma_sndneu_71)
Applies to

SuSE Linux: Versions since 7.1

Situation:

You want to install your soundsystem from scratch.

Procedure:

Execute the following commands as root. Use the graphical login to log in to your system as a normal user and then open a shell. In KDE, click on the black screen with a seashell that is displayed in the kicker bar. Enter the su command and the root password.

First of all it's necessary to unload all of the sound modules. So launch the command

rcalsasound stop

at the console.

Now enter the lsmod command to make sure none of the following modules are still loaded:

snd-seq-midi
snd-seq-midi-event
snd-seq
snd-pcm
snd-timer
snd-rawmidi
snd-seq-device
snd-ac97-codec
snd-mixer
snd
soundcore

In case some of the modules "survived" the unloading, i.e. they get displayed by lsmod, unload these modules manually using the command

rmmod modulename

Some modules might withstand this treatment. Go for the next ones and try to delete those modules later on.

After all sound modules have been unloaded, start editing the configuration file /etc/modules.conf. Open an ASCII-editing program of your choice (e.g. vi or pico). Go to the end of the file where the sound configuration data of YaST2 is stored. It should read like this:

#
# YaST2: sound cards support
#
alias char-major-116 snd
options snd snd_cards_limit=1 snd_major=116
alias snd-card-0 snd-card-ens1371
options snd-card-ens1371 snd_id=card1 snd_index=0

#
# YaST2: sound system dependent part
#
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-11 snd-mixer-oss
alias sound-service-0-12 snd-pcm-oss

Delete these two paragraphs completely. You might have to delete several lines like these, in case you had tried to configure your sound card in the past. Delete these lines and exit saving all changes.

One more file has to be edited: Open /var/lib/YaST/unique.inf and search for a line reading:

[sound]
oJUp.LB5FQylNql1 configured

Delete the configured line. If the [sound] section should contain some more lines of this kind, please delete them and exit the file by saving all the changes you've made.

Start YaST2 and install the sound card following the standard procedure.


Keywords: SOUNDCARD, NEW, REINSTALLATION, CONFIGURATION

Categories: Sound

SDB-thallma_sndneu_71, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 09. Mär 2001
SuSE Linux AG - Last generated: 06. Mai 2002 by thallma (sdb_gen 1.40.0)